Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/how-to/mount-block-device.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,15 @@ Moving forward, we will assume that these files are located at mentioned path.

Map the RBD image on client:

> Note
> The monitor address is required to be provided for the rbd map command. Replace `192.168.X.Y` with relevant value from your cluster.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be extra explicit suggest to spell it out e.g.

The monitor address is required to be provided for the rbd map command. Replace 192.168.X.Y with the mon host value from your clusters ceph.conf file.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The command also works for me (microceph (squid/stable) 19.2.0+snap3b53da1c21, ceph-common 19.2.0-0ubuntu0.24.04.2) without providing a monitor address:

$ sudo rbd map --image test_image_100G --name client.admin -k /var/snap/microceph/current/conf/ceph.keyring -c /var/snap/microceph/current/conf/ceph.conf -p block_pool /dev/rbd0
/dev/rbd0


.. code-block:: none

$ sudo rbd map \
--image bd_foo \
--name client.admin \
-m 192.168.29.152 \
-m 192.168.X.Y \
-k /var/snap/microceph/current/conf/ceph.keyring \
-c /var/snap/microceph/current/conf/ceph.conf \
-p block_pool \
Expand Down
Loading