Creating block device pools

Learn how to create a block device pool.

Before you begin

Note: You MUST create a pool first before you can specify it as a source.
Before you begin, make sure that you have the following prerequisites in place:
  • A running IBM Storage Ceph cluster.

  • Root-level access to the client node.

About this task

For more information, see Pools.

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