当前位置:网站首页>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存储池

边栏推荐
- 数据分析师岗位分析
- STM32 serial port based on Hal library accepts interrupts and idle interrupts
- 题目:有一个已经按升序排好序的数组。现输入一个数,要求按原来的规律将它插入数组中。
- [final review of software engineering] knowledge points + detailed explanation of major problems (E-R diagram, data flow diagram, N-S box diagram, state diagram, activity diagram, use case diagram...)
- ros 相机标定 sensor_msgs/CameraInfo Message 数据类型及含义
- Use the kubesphere graphical interface dashboard to enable the Devops function
- Preliminary understanding of NiO
- Ref Hook
- The project parameters are made into configurable items, and the @configurationproperties annotation is used
- How to set user-defined display for Jiaming Watch
猜你喜欢

Database leader Wang Shan: strive for innovation and carefully Polish high-quality database products

Session&Cookie&token

可视化领域 SVG

干货 | 独立站运营怎么提高在线聊天客户服务?

VSCode开启Pull Request更新代码分支可视化新篇章

2022-07-26: what is the output of the following go language code? A:5; B:hello; C: Compilation error; D: Running error. package main import ( “fmt“ ) type integer in

Elastic open source community: Developer Recruitment

Unity:Resource Merging、Static Batching、Dynamic Batching、GPU Instancing

Using webmvcconfigurer to intercept interface requests is being enhanced (with source code)

Scala immutable map, variable map, map conversion to other data types
随机推荐
Px4 module design 12: high resolution timer design
Deep analysis - dynamic memory management
Cloudcompare & PCL match point distance suppression
利用JSON类型在mysql中实现数组功能
Okaleido tiger will log in to binance NFT in the second round, or continue to create sales achievements
数组中的最大值,最小值,冒泡排序
sram、dram、sdram、ddr的区别和用途
Chapter 6: cloud database
5.component动态组件的展示
Is the e-commerce billing system important? How should the platform choose billing service providers?
结构型模式-桥接模式
Brightcove任命Dan Freund为首席营收官
Nacos startup and login
Dino paper accuracy, and analyze the variant of its model structure & Detr
Wechat input component adds a clear icon, and clicking clear does not take effect
0动态规划中等 LeetCode467. 环绕字符串中唯一的子字符串
Pinia入门到精通,Pinia使用全流程,包含state,actions,getters,以及如何解构,进行响应,actions使用的多种方法
你了解微信商户分账吗?
sed输出指定行
详解左值、右值、左值引用以及右值引用

