Ceph RBD Mount & More

Ceph RBD, Mount, User Management, Snapshot, Clone

DaeGon Kim
3 min readOct 25, 2022

In the previous article, we showed how to mount an rbd image and mount it temporarily and permanently. That was with the admin client, which is discouraged due to security concerns. In this tutorial, we will show how to

  • Create a Ceph user
  • Create rbd images and mount rbd images using non-admin client

Furthermore, we will demonstrate a real use-case where a rbd image is cloned from another rbd image in a pool that a Ceph user should not be able to change.

Mounting an rbd image using non-admin client

Before we create a Ceph user, we will create an rbd pool that we want to assign to a new user.

Please note that we use the admin user to run these commands. We got sub-block-devices rbd pool and projectX rbd image. The other entities will be explained later.

Now, we are ready to create a client (user) that will manage the pool.

--

--

No responses yet