当前位置:网站首页>ceph操作
ceph操作
2022-07-27 04:21:00 【掌九】
1.创建一个存储池,存储池的名称为cephtestpool
[[email protected] ceph-cluster]# ceph osd pool create cephtestpool 128
pool ‘cephtestpool’ created
这里,cephrbd 是存储池的名称。
● 通常在创建pool之前,需要覆盖默认的 pg_num,官方推荐:
● 若少于5个OSD, 设置 pg_num 为128。
● 5~10个OSD,设置 pg_num 为512。
● 10~50个OSD,设置 pg_num 为4096。
● 超过50个OSD,可以参考 pgcalc 计算。
2.上传一个对象到cephtestpool存储池,对象的名称为testobject

3.创建一个RBD的image,image名称为testimage,大小为100M

4.将testimage映射为块设备

5.删除cephtestpool存储池

边栏推荐
- Anonymous named pipes, understanding and use of interprocess communication in shared memory
- Remember the major performance problems caused by a TCP packet loss
- 题目:有一个已经按升序排好序的数组。现输入一个数,要求按原来的规律将它插入数组中。
- BigDecimal pit summary & Best Practices
- GenericServlet为什么有两个init方法
- 新手小白怎样开始学做自媒体呢?
- 管理信息系统期末复习
- shel自动设置目录权限
- Hash (hash)
- 电商分账系统重要吗,平台应该如何选择分账服务商呢?
猜你喜欢

Convolution neural network -- a detailed introduction to convolution of 24 bit color images
![[competition reference] pytorch common code snippet and operation collection](/img/b3/0b91e381e2444dfd222537bf5b8ccf.jpg)
[competition reference] pytorch common code snippet and operation collection

Plato farm has a new way of playing, and the arbitrage eplato has secured super high returns

Ribbon load balancing strategy and configuration, lazy loading and hungry loading of ribbon

Convolution neural network -- convolution of gray image

一张图看懂KingbaseES V9

Spark practice case (upgraded version)

结构型模式-装饰者模式

第六章:云数据库

F - Pre-order and In-order(Atcoder 255)
随机推荐
Standard C language 13
C get UUID
BigDecimal pit summary & Best Practices
题目:有一个已经按升序排好序的数组。现输入一个数,要求按原来的规律将它插入数组中。
【独立站建设】跨境电商出海开网店,首选这个网站建设!
详解左值、右值、左值引用以及右值引用
Oracle数据库字段date怎么才能走索引?
你了解微信商户分账吗?
使用WebMvcConfigurer进行接口请求拦截进行中增强(附源码)
JS modify the key value of the object array
【C语言】递归详解汉诺塔问题
匿名命名管道, 共享内存的进程间通信理解与使用
华为入局商用市场:趋势使然,挑战颇多
数据库泰斗王珊:努力创新,精心打磨优质的数据库产品
ROS camera calibration sensor_ Msgs/camerainfo message data type and meaning
els 兼容性DC、传递图片到窗口
新手小白怎样开始学做自媒体呢?
哈希表刷题(下)
Convolution neural network -- convolution of gray image
Final review of management information system

