Creating block device pools
Learn how to create a block device pool.
Before you begin
Before using the block device client, ensure a pool for rbd exists, is enabled and initialized.
Note: You MUST create a pool first before you can specify it as a source.
Before beginning this procedure, ensure that you have the following:
-
A running IBM Storage Ceph cluster.
-
Root-level access to the client node.
About this task
Procedure
Create a Ceph Block Device (
rbd) pool.
ceph osd pool create POOL_NAME PG_NUM
ceph osd pool application enable POOL_NAME rbd
rbd pool init -p POOL_NAME
For example,
[root@rbd-client ~]# ceph osd pool create pool1 [root@rbd-client ~]# ceph osd pool application enable pool1 rbd [root@rbd-client ~]# rbd pool init -p pool1