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.
- Map the block device to the
client-node1
:
# rbd map --image rbd1 --name client.rbd
- 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 supportexclusive-lock
: exclusive locking supportobject-map
: object map support (requiresexclusive-lock
)deep-flatten
: snapshot flatten supportfast-diff
: fast diff calculations (requiresobject-map
)Using the krbd (kernel rbd) client on
client-node1
we will be unable to map the block device image on CentOS kernel 3.10 as this kernel does not supportobject-map
,deep-flatten
andfast-diff
(support was introduced...