Now that we have created a block device on a Ceph cluster, in order to use this block device, we need to map it to the client machine. To do this, execute the following commands from the client-node1 machine.
Mapping Ceph Block Device
How to do it...
- Map the block device to the client-node1:
# rbd map --image rbd1 --name client.rbd
![](https://static.packt-cdn.com/products/9781788391061/graphics/assets/b27bf5bc-f3c2-400c-90d4-18331d46eb39.png)
Notice the mapping of the images has failed due to a feature set mismatch!
- With Ceph Jewel the new default format for RBD images is 2 and Ceph Jewel default configuration includes the following default Ceph Block Device features:
- layering: layering support
- exclusive-lock: exclusive locking support
- object-map: object map support (requires exclusive-lock)
- deep-flatten: snapshot flatten...