From c4be773b27ee361cb3ae17ea13bdb37d5d17035a Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Sun, 1 Nov 2020 09:44:59 -0500 Subject: [PATCH] doc/man: add new RBD migration prepare source-spec optionals Signed-off-by: Jason Dillaman --- doc/man/8/rbd.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/man/8/rbd.rst b/doc/man/8/rbd.rst index cc920a1af2d..89ce32bac9c 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. -- 2.47.3