-
Language:
English
-
Language:
English
Red Hat Training
A Red Hat training course is available for Red Hat Ceph Storage
Chapter 2. Creating a Block Device Image
Before you can add a block device to a node, you must create an image for it in the Ceph Storage Cluster first. To create a block device image, execute the following:
rbd create {image-name} --size {megabytes} --pool {pool-name}
For example, to create a 1GB image named foo
that stores information in a pool named swimmingpool
, execute the following:
rbd create foo --size 1024 rbd create bar --size 1024 --pool swimmingpool
Note
You must create a pool first before you can specify it as a source.