From: Jason Dillaman Date: Sun, 1 Nov 2020 14:44:59 +0000 (-0500) Subject: doc/man: add new RBD migration prepare source-spec optionals X-Git-Tag: v16.1.0~702^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c4be773b27ee361cb3ae17ea13bdb37d5d17035a;p=ceph.git doc/man: add new RBD migration prepare source-spec optionals Signed-off-by: Jason Dillaman --- diff --git a/doc/man/8/rbd.rst b/doc/man/8/rbd.rst index cc920a1af2de..89ce32bac9cd 100644 --- a/doc/man/8/rbd.rst +++ b/doc/man/8/rbd.rst @@ -452,7 +452,7 @@ Commands Execute image migration. This step is run after a successful migration prepare step and copies image data to the destination. -:command:`migration prepare` [--order *order*] [--object-size *object-size*] [--image-feature *image-feature*] [--image-shared] [--stripe-unit *stripe-unit*] [--stripe-count *stripe-count*] [--data-pool *data-pool*] *src-image-spec* [*dest-image-spec*] +:command:`migration prepare` [--order *order*] [--object-size *object-size*] [--image-feature *image-feature*] [--image-shared] [--stripe-unit *stripe-unit*] [--stripe-count *stripe-count*] [--data-pool *data-pool*] [--import-only] [--source-spec *json*] [--source-spec-path *path*] *src-image-spec* [*dest-image-spec*] Prepare image migration. This is the first step when migrating an image, i.e. changing the image location, format or other parameters that can't be changed dynamically. The destination can @@ -461,6 +461,11 @@ Commands destination image, and the image is accessible in copy-on-write mode by its destination spec. + An image can also be migrated from a read-only import source by adding the + *--import-only* optional and providing a JSON-encoded *--source-spec* or a + path to a JSON-encoded source-spec file using the *--source-spec-path* + optionals. + :command:`mirror image demote` *image-spec* Demote a primary image to non-primary for RBD mirroring.