Creating images
Before adding a block device to a node, create a Ceph Block Device image for it in the Ceph storage cluster.
Prerequisites
-
A running IBM Storage Ceph cluster.
-
Root-level access to the client node.
Procedure
-
To create a block device image, run the following command:
Syntax
rbd create IMAGE_NAME --size MEGABYTES --pool POOL_NAMEExample
[root@rbd-client ~]# rbd create image1 --size 1024 --pool pool1This example creates a 1 GB image namedimage1that stores information in a pool namedpool1.Note: Ensure the pool exists before creating an image.
Reference
for more information, see Creating block device pools.