- Ceph Cookbook(Second Edition)
- Vikhyat Umrao Michael Hackett Karan Singh
- 91字
- 2021-07-02 23:19:09
How to do it...
- Create a RADOS Block Device named rbd1 of size 10240 MB:
# rbd create rbd1 --size 10240 --name client.rbd
- 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
- Check the details of the RBD image:
# rbd --image rbd1 info --name client.rbd
