官术网_书友最值得收藏!

  • Ceph Cookbook
  • Karan Singh
  • 118字
  • 2021-07-16 13:01:16

Creating Ceph Block Device

Up to now, we have configured Ceph client, and now we will demonstrate creating a Ceph block device from the client-node1 machine.

How to do it…

  1. Create a RADOS Block Device named rbd1 of size 10240 MB:
    # rbd create rbd1 --size 10240 --name client.rbd
    
  2. There are multiple options that you can use to list RBD images:
    ## The default pool to store block device images is "rbd", you can also specify the pool name with the rbd command using -p option:
    # rbd ls --name client.rbd
    # rbd ls -p rbd --name client.rbd
    # rbd list --name client.rbd
    
  3. Check the details of the rbd image:
    # rbd --image rbd1 info --name client.rbd
    
主站蜘蛛池模板: 怀安县| 阿克陶县| 宜丰县| 三河市| 额济纳旗| 凤城市| 满洲里市| 鄂托克旗| 曲周县| 南和县| 略阳县| 宜城市| 巴彦淖尔市| 桐城市| 都安| 娄底市| 天柱县| 十堰市| 新野县| 定兴县| 秭归县| 和静县| 绥棱县| 新竹市| 岑溪市| 中阳县| 安宁市| 山阳县| 正安县| 伊宁市| 乌拉特后旗| 石台县| 葵青区| 阿瓦提县| 兴城市| 蚌埠市| 平乐县| 新宁县| 沅江市| 青冈县| 唐河县|