From: N Balachandran Date: Thu, 29 Aug 2024 09:04:44 +0000 (+0530) Subject: doc/rbd: add namespace information for mirror commands X-Git-Tag: v17.2.8~47^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=692476cd5dd0fe36a7a8c8fe8e5473a9c0896779;p=ceph.git doc/rbd: add namespace information for mirror commands Updates the rbd man page to clarify that some mirror commands can apply to pools and namespaces. Signed-off-by: N Balachandran (cherry picked from commit 5e64748927d029ceffc27edbc6cbf7c774a7b291) --- diff --git a/doc/man/8/rbd.rst b/doc/man/8/rbd.rst index fd0ca68171bde..e911e60926ff5 100644 --- a/doc/man/8/rbd.rst +++ b/doc/man/8/rbd.rst @@ -521,28 +521,28 @@ Commands Show RBD mirroring status for an image. :command:`mirror pool demote` [*pool-name*] - Demote all primary images within a pool to non-primary. - Every mirror-enabled image in the pool will be demoted. + Demote all primary images within a pool or namespace to non-primary. + Every mirror-enabled image in the pool or namespace will be demoted. :command:`mirror pool disable` [*pool-name*] - Disable RBD mirroring by default within a pool. When mirroring - is disabled on a pool in this way, mirroring will also be - disabled on any images (within the pool) for which mirroring - was enabled explicitly. + Disable RBD mirroring within a pool or namespace. When mirroring + is disabled on a pool or namespace in this way, mirroring will also be + disabled on all images (within the pool or namespace) for which mirroring + was enabled, whether by default or explicitly. :command:`mirror pool enable` [*pool-name*] *mode* - Enable RBD mirroring by default within a pool. + Enable RBD mirroring within a pool or namespace. The mirroring mode can either be ``pool`` or ``image``. - If configured in ``pool`` mode, all images in the pool + If configured in ``pool`` mode, all images in the pool or namespace with the journaling feature enabled are mirrored. If configured in ``image`` mode, mirroring needs to be explicitly enabled (by ``mirror image enable`` command) on each image. :command:`mirror pool info` [*pool-name*] - Show information about the pool mirroring configuration. - It includes mirroring mode, peer UUID, remote cluster name, - and remote client name. + Show information about the pool or namespace mirroring configuration. + For a pool, it includes mirroring mode, peer UUID, remote cluster name, + and remote client name. For a namespace, it includes only mirroring mode. :command:`mirror pool peer add` [*pool-name*] *remote-cluster-spec* Add a mirroring peer to a pool. @@ -562,13 +562,13 @@ Commands is corresponding to remote client name or remote cluster name. :command:`mirror pool promote` [--force] [*pool-name*] - Promote all non-primary images within a pool to primary. - Every mirror-enabled image in the pool will be promoted. + Promote all non-primary images within a pool or namespace to primary. + Every mirror-enabled image in the pool or namespace will be promoted. :command:`mirror pool status` [--verbose] [*pool-name*] - Show status for all mirrored images in the pool. + Show status for all mirrored images in the pool or namespace. With ``--verbose``, show additional output status - details for every mirror-enabled image in the pool. + details for every mirror-enabled image in the pool or namespace. :command:`mirror snapshot schedule add` [-p | --pool *pool*] [--namespace *namespace*] [--image *image*] *interval* [*start-time*] Add mirror snapshot schedule.