当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
MKNetworkKit replacing domain name wrong solution
Swift3.0 sets the background color and text color of the status bar
容易混淆的指针知识点
etcd Study Notes - Getting Started
OpenCV相机标定完全指南(有手就行)
了解CV和RoboMaster视觉组(五)目标跟踪:基于深度学习的方法
【二叉树】重建二叉树
发明时代,「幂集创新」事关你我
数据库指标是怎么个意思
BaseDexClassLoader的正确使用方式
笔记本电脑重装系统后开机蓝屏要怎么办
松柏集(夜未央)
数量遗传学遗传力计算2:半同胞和全同胞
了解CV和RoboMaster视觉组(五)目标跟踪:概述与光流法
Crosstalk and Protection
07.1 Supplements to the class
A few words about Microsoft's 2022/2023 autumn recruits
NanoDet代码逐行精读与修改(五.2)计算Loss
新一代CMDB构建方法,是能够给企业带来收益的
使用Oracle SQL Developer管理Oracle Database Express Edition (XE)