当前位置:网站首页>ceph create pool, map, delete exercises
ceph create pool, map, delete exercises
2022-08-09 04:19:00 【Quantum Wave Cat】
1. Create a storage pool, the name of the storage pool is testpool
2. Upload an object to the testpool storage pool, the name of the object is testobject
3. Create an RBD image, the image name is testimage,The size is 100M
4. Map the testimage as a block device
5. Delete the testpool storage pool
[[email protected] ~]# ceph osd pool create testpool 64[[email protected] ~]# ceph osd pool application enable testpool testpool[[email protected] ~]# rados put testobject test.txt -ptestpool[[email protected] ~]# rados ls -p testpool[[email protected] ~]# rbd create testpool/testimage.img --size 100M --image-feature layering [[email protected] ~]# rbd -p testpool ls [[email protected] ~]# rbd map testpool/testimage.img --id admin[[email protected] ~]# vim /etc/ceph/ceph.confadd a linemon allow pool delete = true[[email protected] ~]# systemctl restart ceph-mon.target[[email protected] ~]# ceph osd pool delete testpool testpool --yes-i-really-really-mean-it




边栏推荐
猜你喜欢
随机推荐
笔记本电脑重装系统后开机蓝屏要怎么办
软件质效领航者 | 优秀案例•国金证券DevOps建设项目
阿里云天池大赛赛题(机器学习)——工业蒸汽量预测(完整代码)
欧拉22.02系统 mysql5.7 arm版本的安装包, 哪里能下载到?
单根k线图知识别以为自己都懂了
月报总结|Moonbeam 7月份大事一览
串扰与防护
【二叉树】重建二叉树
NanoDet代码逐行精读与修改(一)Backbone
Session、cookie、token有什么区别?
为什么有的时间函数在同一事务内返回的都是同一值?
了解CV和RoboMaster视觉组(五)滤波器、观测器和预测方法:自适应滤波器
NanoDet代码逐行精读与修改(五.1)检测头的构造和前向传播
Go常用命令与基础语法
松柏集(云衣裳)
Gopacket source code analysis
Swift3.0 sets the background color and text color of the status bar
31 基本统计概念
From brute force recursion to dynamic programming leetcode Question 62: Different paths
Improve the user experience and add a small detail to your modal popup









