From b30d1b8d002aa4835d33644d7019ed97d3e2d34a Mon Sep 17 00:00:00 2001 From: Vikhyat Umrao Date: Mon, 19 Oct 2015 17:57:15 +0530 Subject: [PATCH] doc: Adding --cluster option to rbd man page. Fixes #13457 Signed-off-by: Vikhyat Umrao Reviewed-by: Josh Durgin --- doc/man/8/rbd.rst | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/man/8/rbd.rst b/doc/man/8/rbd.rst index d7eb72d7c9d2..826120fa1f2c 100644 --- a/doc/man/8/rbd.rst +++ b/doc/man/8/rbd.rst @@ -9,8 +9,8 @@ Synopsis ======== -| **rbd** [ -c *ceph.conf* ] [ -m *monaddr* ] [ -p | --pool *pool* ] [ - --size *size* ] [ --order *bits* ] [ *command* ... ] +| **rbd** [ -c *ceph.conf* ] [ -m *monaddr* ] [--cluster *cluster name*] + [ -p | --pool *pool* ] [--size *size* ] [ --order *bits* ] [ *command* ... ] Description @@ -35,6 +35,10 @@ Options Connect to specified monitor (instead of looking through ceph.conf). +.. option:: --cluster cluster name + + Use different cluster name as compared to default cluster name *ceph*. + .. option:: -p pool-name, --pool pool-name Interact with the given pool. Required by most commands. @@ -478,6 +482,10 @@ To map an image via the kernel with cephx enabled:: rbd map mypool/myimage --id admin --keyfile secretfile +To map an image via the kernel with different cluster name other than default *ceph*. + + rbd map mypool/myimage --cluster *cluster name* + To unmap an image:: rbd unmap /dev/rbd0 -- 2.47.3