]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/man: add new RBD migration prepare source-spec optionals 37827/head
authorJason Dillaman <dillaman@redhat.com>
Sun, 1 Nov 2020 14:44:59 +0000 (09:44 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 3 Nov 2020 00:58:55 +0000 (19:58 -0500)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
doc/man/8/rbd.rst

index cc920a1af2de32657fc394d78ec5fbda1731c542..89ce32bac9cd8ba91d2496a89edeedd8cf6f107a 100644 (file)
@@ -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.