]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: document "mode" param for "rbd mirror image enable" command 32735/head
authorMykola Golub <mgolub@suse.com>
Mon, 20 Jan 2020 15:15:35 +0000 (15:15 +0000)
committerMykola Golub <mgolub@suse.com>
Thu, 23 Jan 2020 18:10:19 +0000 (18:10 +0000)
Signed-off-by: Mykola Golub <mgolub@suse.com>
doc/man/8/rbd.rst

index 45433775cf448db80ebd5fbd4eddcca714816c79..27e691446984a7ca99df9e9d96660094499a78ef 100644 (file)
@@ -470,13 +470,15 @@ Commands
   can be explicitly disabled mirroring for each image within
   the pool.
 
-:command:`mirror image enable` *image-spec*
+:command:`mirror image enable` *image-spec* *mode*
   Enable RBD mirroring for an image. If the mirroring is
   configured in ``image`` mode for the image's pool, then it
   can be explicitly enabled mirroring for each image within
   the pool.
 
-  This requires the RBD journaling feature is enabled.
+  The mirror image mode can either be ``journal`` (default) or
+  ``snapshot``. The ``journal`` mode requires the RBD journaling
+  feature.
 
 :command:`mirror image promote` [--force] *image-spec*
   Promote a non-primary image to primary for RBD mirroring.