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

  • 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
    
主站蜘蛛池模板: 洪湖市| 贵南县| 赤壁市| 宜宾市| 阿拉善左旗| 定陶县| 密山市| 镇雄县| 湖南省| 津市市| 莒南县| 淄博市| 墨竹工卡县| 盐城市| 鹰潭市| 苍南县| 府谷县| 台中县| 远安县| 霞浦县| 枣阳市| 原阳县| 库车县| 宁晋县| 化隆| 扬中市| 常山县| 绵竹市| 德保县| 临邑县| 德令哈市| 南岸区| 孝感市| 垣曲县| 连州市| 古交市| 永安市| 大英县| 遂平县| 龙江县| 昂仁县|