Up to now, we have configured Ceph client, and now we will demonstrate creating a Ceph Block Device from the client-node1 machine.
Creating Ceph Block Device
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...