2 usage: rbd <command> ...
4 Command-line interface for managing Ceph RBD images.
8 bench Simple benchmark.
9 children Display children of an image or its
11 clone Clone a snapshot into a CoW child image.
12 config global get Get a global-level configuration override.
13 config global list (... ls) List global-level configuration overrides.
14 config global remove (... rm) Remove a global-level configuration
16 config global set Set a global-level configuration override.
17 config image get Get an image-level configuration override.
18 config image list (... ls) List image-level configuration overrides.
19 config image remove (... rm) Remove an image-level configuration
21 config image set Set an image-level configuration override.
22 config pool get Get a pool-level configuration override.
23 config pool list (... ls) List pool-level configuration overrides.
24 config pool remove (... rm) Remove a pool-level configuration
26 config pool set Set a pool-level configuration override.
27 copy (cp) Copy src image to dest.
28 create Create an empty image.
29 deep copy (deep cp) Deep copy (including snapshots) src image
31 device attach Attach image to device.
32 device detach Detach image from device.
33 device list (showmapped) List mapped rbd images.
34 device map (map) Map an image to a block device.
35 device unmap (unmap) Unmap a rbd device.
36 diff Print extents that differ since a
37 previous snap, or image creation.
38 disk-usage (du) Show disk usage stats for pool, image or
40 encryption format Format image to an encrypted format.
41 export Export image to file.
42 export-diff Export incremental diff to file.
43 feature disable Disable the specified image feature.
44 feature enable Enable the specified image feature.
45 flatten Fill clone with parent data (make it
47 group create Create a group.
48 group image add Add an image to a group.
49 group image list (... ls) List images in a group.
50 group image remove (... rm) Remove an image from a group.
51 group list (group ls) List rbd groups.
52 group remove (group rm) Delete a group.
53 group rename Rename a group within pool.
54 group snap create Make a snapshot of a group.
55 group snap list (... ls) List snapshots of a group.
56 group snap remove (... rm) Remove a snapshot from a group.
57 group snap rename Rename group's snapshot.
58 group snap rollback Rollback group to snapshot.
59 image-meta get Image metadata get the value associated
61 image-meta list (image-meta ls) Image metadata list keys with values.
62 image-meta remove (image-meta rm) Image metadata remove the key and value
64 image-meta set Image metadata set key with value.
65 import Import image from file.
66 import-diff Import an incremental diff.
67 info Show information about image size,
69 journal client disconnect Flag image journal client as disconnected.
70 journal export Export image journal.
71 journal import Import image journal.
72 journal info Show information about image journal.
73 journal inspect Inspect image journal for structural
75 journal reset Reset image journal.
76 journal status Show status of image journal.
77 list (ls) List rbd images.
78 lock add Take a lock on an image.
79 lock list (lock ls) Show locks held on an image.
80 lock remove (lock rm) Release a lock on an image.
81 merge-diff Merge two diff exports together.
82 migration abort Cancel interrupted image migration.
83 migration commit Commit image migration.
84 migration execute Execute image migration.
85 migration prepare Prepare image migration.
86 mirror image demote Demote an image to non-primary for RBD
88 mirror image disable Disable RBD mirroring for an image.
89 mirror image enable Enable RBD mirroring for an image.
90 mirror image promote Promote an image to primary for RBD
92 mirror image resync Force resync to primary image for RBD
94 mirror image snapshot Create RBD mirroring image snapshot.
95 mirror image status Show RBD mirroring status for an image.
96 mirror pool demote Demote all primary images in the pool.
97 mirror pool disable Disable RBD mirroring by default within a
99 mirror pool enable Enable RBD mirroring by default within a
101 mirror pool info Show information about the pool mirroring
103 mirror pool peer add Add a mirroring peer to a pool.
104 mirror pool peer bootstrap create Create a peer bootstrap token to import
106 mirror pool peer bootstrap import Import a peer bootstrap token created
107 from a remote cluster
108 mirror pool peer remove Remove a mirroring peer from a pool.
109 mirror pool peer set Update mirroring peer settings.
110 mirror pool promote Promote all non-primary images in the
112 mirror pool status Show status for all mirrored images in
114 mirror snapshot schedule add Add mirror snapshot schedule.
115 mirror snapshot schedule list (... ls)
116 List mirror snapshot schedule.
117 mirror snapshot schedule remove (... rm)
118 Remove mirror snapshot schedule.
119 mirror snapshot schedule status Show mirror snapshot schedule status.
120 namespace create Create an RBD image namespace.
121 namespace list (namespace ls) List RBD image namespaces.
122 namespace remove (namespace rm) Remove an RBD image namespace.
123 object-map check Verify the object map is correct.
124 object-map rebuild Rebuild an invalid object map.
125 perf image iostat Display image IO statistics.
126 perf image iotop Display a top-like IO monitor.
127 persistent-cache flush Flush persistent cache.
128 persistent-cache invalidate Invalidate (discard) existing / dirty
130 pool init Initialize pool for use by RBD.
131 pool stats Display pool statistics.
132 remove (rm) Delete an image.
133 rename (mv) Rename image within pool.
134 resize Resize (expand or shrink) image.
135 snap create (snap add) Create a snapshot.
136 snap limit clear Remove snapshot limit.
137 snap limit set Limit the number of snapshots.
138 snap list (snap ls) Dump list of image snapshots.
139 snap protect Prevent a snapshot from being deleted.
140 snap purge Delete all unprotected snapshots.
141 snap remove (snap rm) Delete a snapshot.
142 snap rename Rename a snapshot.
143 snap rollback (snap revert) Rollback image to snapshot.
144 snap unprotect Allow a snapshot to be deleted.
145 sparsify Reclaim space for zeroed image extents.
146 status Show the status of this image.
147 trash list (trash ls) List trash images.
148 trash move (trash mv) Move an image to the trash.
149 trash purge Remove all expired images from trash.
150 trash purge schedule add Add trash purge schedule.
151 trash purge schedule list (... ls)
152 List trash purge schedule.
153 trash purge schedule remove (... rm)
154 Remove trash purge schedule.
155 trash purge schedule status Show trash purge schedule status.
156 trash remove (trash rm) Remove an image from trash.
157 trash restore Restore an image from trash.
158 watch Watch events on image.
161 -c [ --conf ] arg path to cluster configuration
162 --cluster arg cluster name
163 --id arg client id (without 'client.' prefix)
164 -n [ --name ] arg client name
165 -m [ --mon_host ] arg monitor host
166 -K [ --keyfile ] arg path to secret key
167 -k [ --keyring ] arg path to keyring
169 See 'rbd help <command>' for help on a specific command.
170 $ rbd help | grep '^ [a-z]' | sed 's/^ \([a-z -]*[a-z]\).*/\1/g' | while read -r line; do echo rbd help $line ; rbd help $line; done
172 usage: rbd bench [--pool <pool>] [--namespace <namespace>] [--image <image>]
173 [--io-size <io-size>] [--io-threads <io-threads>]
174 [--io-total <io-total>] [--io-pattern <io-pattern>]
175 [--rw-mix-read <rw-mix-read>] --io-type <io-type>
181 <image-spec> image specification
182 (example: [<pool-name>/[<namespace>/]]<image-name>)
185 -p [ --pool ] arg pool name
186 --namespace arg namespace name
187 --image arg image name
188 --io-size arg IO size (in B/K/M/G) (< 4G) [default: 4K]
189 --io-threads arg ios in flight [default: 16]
190 --io-total arg total size for IO (in B/K/M/G/T) [default: 1G]
191 --io-pattern arg IO pattern (rand, seq, or full-seq) [default: seq]
192 --rw-mix-read arg read proportion in readwrite (<= 100) [default: 50]
193 --io-type arg IO type (read, write, or readwrite(rw))
196 usage: rbd children [--pool <pool>] [--namespace <namespace>]
197 [--image <image>] [--snap <snap>] [--snap-id <snap-id>]
198 [--all] [--descendants] [--format <format>]
202 Display children of an image or its snapshot.
205 <image-or-snap-spec> image or snapshot specification
207 [<pool-name>/[<namespace>/]]<image-name>[@<snap-name>])
210 -p [ --pool ] arg pool name
211 --namespace arg namespace name
212 --image arg image name
213 --snap arg snapshot name
214 --snap-id arg snapshot id
215 -a [ --all ] list all children (include trash)
216 --descendants include all descendants
217 --format arg output format (plain, json, or xml) [default: plain]
218 --pretty-format pretty formatting (json and xml)
221 usage: rbd clone [--pool <pool>] [--namespace <namespace>] [--image <image>]
222 [--snap <snap>] [--dest-pool <dest-pool>]
223 [--dest-namespace <dest-namespace>] [--dest <dest>]
224 [--order <order>] [--object-size <object-size>]
225 [--image-feature <image-feature>] [--image-shared]
226 [--stripe-unit <stripe-unit>] [--stripe-count <stripe-count>]
227 [--data-pool <data-pool>]
228 [--mirror-image-mode <mirror-image-mode>]
229 [--journal-splay-width <journal-splay-width>]
230 [--journal-object-size <journal-object-size>]
231 [--journal-pool <journal-pool>]
232 <source-snap-spec> <dest-image-spec>
234 Clone a snapshot into a CoW child image.
237 <source-snap-spec> source snapshot specification
239 [<pool-name>/[<namespace>/]]<image-name>@<snap-name>
241 <dest-image-spec> destination image specification
242 (example: [<pool-name>/[<namespace>/]]<image-name>)
245 -p [ --pool ] arg source pool name
246 --namespace arg source namespace name
247 --image arg source image name
248 --snap arg source snapshot name
249 --dest-pool arg destination pool name
250 --dest-namespace arg destination namespace name
251 --dest arg destination image name
252 --object-size arg object size in B/K/M [4K <= object size <= 32M]
253 --image-feature arg image features
254 [layering(+), exclusive-lock(+*), object-map(+*),
255 deep-flatten(+-), journaling(*)]
256 --image-shared shared image
257 --stripe-unit arg stripe unit in B/K/M
258 --stripe-count arg stripe count
259 --data-pool arg data pool
260 --mirror-image-mode arg mirror image mode [journal or snapshot]
261 --journal-splay-width arg number of active journal objects
262 --journal-object-size arg size of journal objects [4K <= size <= 64M]
263 --journal-pool arg pool for journal objects
266 (*) supports enabling/disabling on existing images
267 (-) supports disabling-only on existing images
268 (+) enabled by default for new images if features not specified
270 rbd help config global get
271 usage: rbd config global get <config-entity> <key>
273 Get a global-level configuration override.
276 <config-entity> config entity (global, client, client.<id>)
279 rbd help config global list
280 usage: rbd config global list [--format <format>] [--pretty-format]
283 List global-level configuration overrides.
286 <config-entity> config entity (global, client, client.<id>)
289 --format arg output format (plain, json, or xml) [default: plain]
290 --pretty-format pretty formatting (json and xml)
292 rbd help config global remove
293 usage: rbd config global remove <config-entity> <key>
295 Remove a global-level configuration override.
298 <config-entity> config entity (global, client, client.<id>)
301 rbd help config global set
302 usage: rbd config global set <config-entity> <key> <value>
304 Set a global-level configuration override.
307 <config-entity> config entity (global, client, client.<id>)
311 rbd help config image get
312 usage: rbd config image get [--pool <pool>] [--namespace <namespace>]
316 Get an image-level configuration override.
319 <image-spec> image specification
320 (example: [<pool-name>/[<namespace>/]]<image-name>)
324 -p [ --pool ] arg pool name
325 --namespace arg namespace name
326 --image arg image name
328 rbd help config image list
329 usage: rbd config image list [--pool <pool>] [--namespace <namespace>]
330 [--image <image>] [--format <format>]
334 List image-level configuration overrides.
337 <image-spec> image specification
338 (example: [<pool-name>/[<namespace>/]]<image-name>)
341 -p [ --pool ] arg pool name
342 --namespace arg namespace name
343 --image arg image name
344 --format arg output format (plain, json, or xml) [default: plain]
345 --pretty-format pretty formatting (json and xml)
347 rbd help config image remove
348 usage: rbd config image remove [--pool <pool>] [--namespace <namespace>]
352 Remove an image-level configuration override.
355 <image-spec> image specification
356 (example: [<pool-name>/[<namespace>/]]<image-name>)
360 -p [ --pool ] arg pool name
361 --namespace arg namespace name
362 --image arg image name
364 rbd help config image set
365 usage: rbd config image set [--pool <pool>] [--namespace <namespace>]
367 <image-spec> <key> <value>
369 Set an image-level configuration override.
372 <image-spec> image specification
373 (example: [<pool-name>/[<namespace>/]]<image-name>)
378 -p [ --pool ] arg pool name
379 --namespace arg namespace name
380 --image arg image name
382 rbd help config pool get
383 usage: rbd config pool get <pool-name> <key>
385 Get a pool-level configuration override.
388 <pool-name> pool name
391 rbd help config pool list
392 usage: rbd config pool list [--format <format>] [--pretty-format]
395 List pool-level configuration overrides.
398 <pool-name> pool name
401 --format arg output format (plain, json, or xml) [default: plain]
402 --pretty-format pretty formatting (json and xml)
404 rbd help config pool remove
405 usage: rbd config pool remove <pool-name> <key>
407 Remove a pool-level configuration override.
410 <pool-name> pool name
413 rbd help config pool set
414 usage: rbd config pool set <pool-name> <key> <value>
416 Set a pool-level configuration override.
419 <pool-name> pool name
424 usage: rbd copy [--pool <pool>] [--namespace <namespace>] [--image <image>]
425 [--snap <snap>] [--dest-pool <dest-pool>]
426 [--dest-namespace <dest-namespace>] [--dest <dest>]
427 [--order <order>] [--object-size <object-size>]
428 [--image-feature <image-feature>] [--image-shared]
429 [--stripe-unit <stripe-unit>] [--stripe-count <stripe-count>]
430 [--data-pool <data-pool>]
431 [--mirror-image-mode <mirror-image-mode>]
432 [--journal-splay-width <journal-splay-width>]
433 [--journal-object-size <journal-object-size>]
434 [--journal-pool <journal-pool>] [--sparse-size <sparse-size>]
436 <source-image-or-snap-spec> <dest-image-spec>
438 Copy src image to dest.
441 <source-image-or-snap-spec> source image or snapshot specification
443 [<pool-name>/[<namespace>/]]<image-name>[@<snap-n
445 <dest-image-spec> destination image specification
447 [<pool-name>/[<namespace>/]]<image-name>)
450 -p [ --pool ] arg source pool name
451 --namespace arg source namespace name
452 --image arg source image name
453 --snap arg source snapshot name
454 --dest-pool arg destination pool name
455 --dest-namespace arg destination namespace name
456 --dest arg destination image name
457 --object-size arg object size in B/K/M [4K <= object size <= 32M]
458 --image-feature arg image features
459 [layering(+), exclusive-lock(+*),
460 object-map(+*), deep-flatten(+-), journaling(*)]
461 --image-shared shared image
462 --stripe-unit arg stripe unit in B/K/M
463 --stripe-count arg stripe count
464 --data-pool arg data pool
465 --mirror-image-mode arg mirror image mode [journal or snapshot]
466 --journal-splay-width arg number of active journal objects
467 --journal-object-size arg size of journal objects [4K <= size <= 64M]
468 --journal-pool arg pool for journal objects
469 --sparse-size arg sparse size in B/K/M [default: 4K]
470 --no-progress disable progress output
473 (*) supports enabling/disabling on existing images
474 (-) supports disabling-only on existing images
475 (+) enabled by default for new images if features not specified
478 usage: rbd create [--pool <pool>] [--namespace <namespace>] [--image <image>]
479 [--image-format <image-format>] [--new-format]
480 [--order <order>] [--object-size <object-size>]
481 [--image-feature <image-feature>] [--image-shared]
482 [--stripe-unit <stripe-unit>]
483 [--stripe-count <stripe-count>] [--data-pool <data-pool>]
484 [--mirror-image-mode <mirror-image-mode>]
485 [--journal-splay-width <journal-splay-width>]
486 [--journal-object-size <journal-object-size>]
487 [--journal-pool <journal-pool>]
488 [--thick-provision] --size <size> [--no-progress]
491 Create an empty image.
494 <image-spec> image specification
495 (example: [<pool-name>/[<namespace>/]]<image-name>)
498 -p [ --pool ] arg pool name
499 --namespace arg namespace name
500 --image arg image name
501 --image-format arg image format [default: 2]
502 --object-size arg object size in B/K/M [4K <= object size <= 32M]
503 --image-feature arg image features
504 [layering(+), exclusive-lock(+*), object-map(+*),
505 deep-flatten(+-), journaling(*)]
506 --image-shared shared image
507 --stripe-unit arg stripe unit in B/K/M
508 --stripe-count arg stripe count
509 --data-pool arg data pool
510 --mirror-image-mode arg mirror image mode [journal or snapshot]
511 --journal-splay-width arg number of active journal objects
512 --journal-object-size arg size of journal objects [4K <= size <= 64M]
513 --journal-pool arg pool for journal objects
514 --thick-provision fully allocate storage and zero image
515 -s [ --size ] arg image size (in M/G/T) [default: M]
516 --no-progress disable progress output
519 (*) supports enabling/disabling on existing images
520 (-) supports disabling-only on existing images
521 (+) enabled by default for new images if features not specified
524 usage: rbd deep copy [--pool <pool>] [--namespace <namespace>]
525 [--image <image>] [--snap <snap>]
526 [--dest-pool <dest-pool>]
527 [--dest-namespace <dest-namespace>] [--dest <dest>]
528 [--order <order>] [--object-size <object-size>]
529 [--image-feature <image-feature>] [--image-shared]
530 [--stripe-unit <stripe-unit>]
531 [--stripe-count <stripe-count>] [--data-pool <data-pool>]
532 [--mirror-image-mode <mirror-image-mode>]
533 [--journal-splay-width <journal-splay-width>]
534 [--journal-object-size <journal-object-size>]
535 [--journal-pool <journal-pool>] [--flatten]
537 <source-image-or-snap-spec> <dest-image-spec>
539 Deep copy (including snapshots) src image to dest.
542 <source-image-or-snap-spec> source image or snapshot specification
544 [<pool-name>/[<namespace>/]]<image-name>[@<snap-n
546 <dest-image-spec> destination image specification
548 [<pool-name>/[<namespace>/]]<image-name>)
551 -p [ --pool ] arg source pool name
552 --namespace arg source namespace name
553 --image arg source image name
554 --snap arg source snapshot name
555 --dest-pool arg destination pool name
556 --dest-namespace arg destination namespace name
557 --dest arg destination image name
558 --object-size arg object size in B/K/M [4K <= object size <= 32M]
559 --image-feature arg image features
560 [layering(+), exclusive-lock(+*),
561 object-map(+*), deep-flatten(+-), journaling(*)]
562 --image-shared shared image
563 --stripe-unit arg stripe unit in B/K/M
564 --stripe-count arg stripe count
565 --data-pool arg data pool
566 --mirror-image-mode arg mirror image mode [journal or snapshot]
567 --journal-splay-width arg number of active journal objects
568 --journal-object-size arg size of journal objects [4K <= size <= 64M]
569 --journal-pool arg pool for journal objects
570 --flatten fill clone with parent data (make it independent)
571 --no-progress disable progress output
574 (*) supports enabling/disabling on existing images
575 (-) supports disabling-only on existing images
576 (+) enabled by default for new images if features not specified
578 rbd help device attach
579 usage: rbd device attach [--device-type <device-type>] [--pool <pool>]
580 [--namespace <namespace>] [--image <image>]
581 [--snap <snap>] --device <device> [--show-cookie]
582 [--cookie <cookie>] [--read-only] [--force]
583 [--exclusive] [--quiesce]
584 [--quiesce-hook <quiesce-hook>] [--options <options>]
587 Attach image to device.
590 <image-or-snap-spec> image or snapshot specification
592 [<pool-name>/[<namespace>/]]<image-name>[@<snap-name>
596 -t [ --device-type ] arg device type [ggate, krbd (default), nbd]
597 -p [ --pool ] arg pool name
598 --namespace arg namespace name
599 --image arg image name
600 --snap arg snapshot name
601 --device arg specify device path
602 --show-cookie show device cookie
603 --cookie arg specify device cookie
604 --read-only attach read-only
606 --exclusive disable automatic exclusive lock transitions
607 --quiesce use quiesce hooks
608 --quiesce-hook arg quiesce hook path
609 -o [ --options ] arg device specific options
611 rbd help device detach
612 usage: rbd device detach [--device-type <device-type>] [--pool <pool>]
613 [--image <image>] [--snap <snap>]
614 [--options <options>]
615 <image-or-snap-or-device-spec>
617 Detach image from device.
620 <image-or-snap-or-device-spec> image, snapshot, or device specification
621 [<pool-name>/]<image-name>[@<snap-name>] or
625 -t [ --device-type ] arg device type [ggate, krbd (default), nbd]
626 -p [ --pool ] arg pool name
627 --image arg image name
628 --snap arg snapshot name
629 -o [ --options ] arg device specific options
632 usage: rbd device list [--device-type <device-type>] [--format <format>]
635 List mapped rbd images.
638 -t [ --device-type ] arg device type [ggate, krbd (default), nbd]
639 --format arg output format (plain, json, or xml) [default: plain]
640 --pretty-format pretty formatting (json and xml)
643 usage: rbd device map [--device-type <device-type>] [--pool <pool>]
644 [--namespace <namespace>] [--image <image>]
645 [--snap <snap>] [--show-cookie] [--cookie <cookie>]
646 [--read-only] [--exclusive] [--quiesce]
647 [--quiesce-hook <quiesce-hook>] [--options <options>]
650 Map an image to a block device.
653 <image-or-snap-spec> image or snapshot specification
655 [<pool-name>/[<namespace>/]]<image-name>[@<snap-name>
659 -t [ --device-type ] arg device type [ggate, krbd (default), nbd]
660 -p [ --pool ] arg pool name
661 --namespace arg namespace name
662 --image arg image name
663 --snap arg snapshot name
664 --show-cookie show device cookie
665 --cookie arg specify device cookie
666 --read-only map read-only
667 --exclusive disable automatic exclusive lock transitions
668 --quiesce use quiesce hooks
669 --quiesce-hook arg quiesce hook path
670 -o [ --options ] arg device specific options
672 rbd help device unmap
673 usage: rbd device unmap [--device-type <device-type>] [--pool <pool>]
674 [--image <image>] [--snap <snap>] [--options <options>]
675 <image-or-snap-or-device-spec>
680 <image-or-snap-or-device-spec> image, snapshot, or device specification
681 [<pool-name>/]<image-name>[@<snap-name>] or
685 -t [ --device-type ] arg device type [ggate, krbd (default), nbd]
686 -p [ --pool ] arg pool name
687 --image arg image name
688 --snap arg snapshot name
689 -o [ --options ] arg device specific options
692 usage: rbd diff [--pool <pool>] [--namespace <namespace>] [--image <image>]
693 [--snap <snap>] [--from-snap <from-snap>] [--whole-object]
694 [--format <format>] [--pretty-format]
697 Print extents that differ since a previous snap, or image creation.
700 <image-or-snap-spec> image or snapshot specification
702 [<pool-name>/[<namespace>/]]<image-name>[@<snap-name>])
705 -p [ --pool ] arg pool name
706 --namespace arg namespace name
707 --image arg image name
708 --snap arg snapshot name
709 --from-snap arg snapshot starting point
710 --whole-object compare whole object
711 --format arg output format (plain, json, or xml) [default: plain]
712 --pretty-format pretty formatting (json and xml)
715 usage: rbd disk-usage [--pool <pool>] [--namespace <namespace>]
716 [--image <image>] [--snap <snap>] [--format <format>]
717 [--pretty-format] [--from-snap <from-snap>] [--exact]
721 Show disk usage stats for pool, image or snapshot.
724 <image-or-snap-spec> image or snapshot specification
726 [<pool-name>/[<namespace>/]]<image-name>[@<snap-name>])
729 -p [ --pool ] arg pool name
730 --namespace arg namespace name
731 --image arg image name
732 --snap arg snapshot name
733 --format arg output format (plain, json, or xml) [default: plain]
734 --pretty-format pretty formatting (json and xml)
735 --from-snap arg snapshot starting point
736 --exact compute exact disk usage (slow)
737 --merge-snapshots merge snapshot sizes with its image
739 rbd help encryption format
740 usage: rbd encryption format [--pool <pool>] [--namespace <namespace>]
741 [--image <image>] [--cipher-alg <cipher-alg>]
742 <image-spec> <format> <passphrase-file>
744 Format image to an encrypted format.
747 <image-spec> image specification
748 (example: [<pool-name>/[<namespace>/]]<image-name>)
749 <format> encryption format [possible values: luks1, luks2]
750 <passphrase-file> path of file containing passphrase for unlocking the
754 -p [ --pool ] arg pool name
755 --namespace arg namespace name
756 --image arg image name
757 --cipher-alg arg encryption algorithm [possible values: aes-128, aes-256
761 usage: rbd export [--pool <pool>] [--namespace <namespace>] [--image <image>]
762 [--snap <snap>] [--path <path>] [--no-progress]
763 [--export-format <export-format>]
764 <source-image-or-snap-spec> <path-name>
766 Export image to file.
769 <source-image-or-snap-spec> source image or snapshot specification
771 [<pool-name>/[<namespace>/]]<image-name>[@<snap-n
773 <path-name> export file (or '-' for stdout)
776 -p [ --pool ] arg source pool name
777 --namespace arg source namespace name
778 --image arg source image name
779 --snap arg source snapshot name
780 --path arg export file (or '-' for stdout)
781 --no-progress disable progress output
782 --export-format arg format of image file
785 usage: rbd export-diff [--pool <pool>] [--namespace <namespace>]
786 [--image <image>] [--snap <snap>] [--path <path>]
787 [--from-snap <from-snap>] [--whole-object]
789 <source-image-or-snap-spec> <path-name>
791 Export incremental diff to file.
794 <source-image-or-snap-spec> source image or snapshot specification
796 [<pool-name>/[<namespace>/]]<image-name>[@<snap-n
798 <path-name> export file (or '-' for stdout)
801 -p [ --pool ] arg source pool name
802 --namespace arg source namespace name
803 --image arg source image name
804 --snap arg source snapshot name
805 --path arg export file (or '-' for stdout)
806 --from-snap arg snapshot starting point
807 --whole-object compare whole object
808 --no-progress disable progress output
810 rbd help feature disable
811 usage: rbd feature disable [--pool <pool>] [--namespace <namespace>]
813 <image-spec> <features> [<features> ...]
815 Disable the specified image feature.
818 <image-spec> image specification
819 (example: [<pool-name>/[<namespace>/]]<image-name>)
820 <features> image features
821 [exclusive-lock, object-map, journaling]
824 -p [ --pool ] arg pool name
825 --namespace arg namespace name
826 --image arg image name
828 rbd help feature enable
829 usage: rbd feature enable [--pool <pool>] [--namespace <namespace>]
831 [--journal-splay-width <journal-splay-width>]
832 [--journal-object-size <journal-object-size>]
833 [--journal-pool <journal-pool>]
834 <image-spec> <features> [<features> ...]
836 Enable the specified image feature.
839 <image-spec> image specification
840 (example: [<pool-name>/[<namespace>/]]<image-name>)
841 <features> image features
842 [exclusive-lock, object-map, journaling]
845 -p [ --pool ] arg pool name
846 --namespace arg namespace name
847 --image arg image name
848 --journal-splay-width arg number of active journal objects
849 --journal-object-size arg size of journal objects [4K <= size <= 64M]
850 --journal-pool arg pool for journal objects
853 usage: rbd flatten [--pool <pool>] [--namespace <namespace>] [--image <image>]
857 Fill clone with parent data (make it independent).
860 <image-spec> image specification
861 (example: [<pool-name>/[<namespace>/]]<image-name>)
864 -p [ --pool ] arg pool name
865 --namespace arg namespace name
866 --image arg image name
867 --no-progress disable progress output
869 rbd help group create
870 usage: rbd group create [--pool <pool>] [--namespace <namespace>]
877 <group-spec> group specification
878 (example: [<pool-name>/[<namespace>/]]<group-name>)
881 -p [ --pool ] arg pool name
882 --namespace arg namespace name
883 --group arg group name
885 rbd help group image add
886 usage: rbd group image add [--group-pool <group-pool>]
887 [--group-namespace <group-namespace>]
888 [--group <group>] [--image-pool <image-pool>]
889 [--image-namespace <image-namespace>]
890 [--image <image>] [--pool <pool>]
891 <group-spec> <image-spec>
893 Add an image to a group.
896 <group-spec> group specification
897 (example: [<pool-name>/[<namespace>/]]<group-name>)
898 <image-spec> image specification
899 (example: [<pool-name>/[<namespace>/]]<image-name>)
902 --group-pool arg group pool name
903 --group-namespace arg group namespace name
904 --group arg group name
905 --image-pool arg image pool name
906 --image-namespace arg image namespace name
907 --image arg image name
908 -p [ --pool ] arg pool name unless overridden
910 rbd help group image list
911 usage: rbd group image list [--format <format>] [--pretty-format]
912 [--pool <pool>] [--namespace <namespace>]
916 List images in a group.
919 <group-spec> group specification
920 (example: [<pool-name>/[<namespace>/]]<group-name>)
923 --format arg output format (plain, json, or xml) [default: plain]
924 --pretty-format pretty formatting (json and xml)
925 -p [ --pool ] arg pool name
926 --namespace arg namespace name
927 --group arg group name
929 rbd help group image remove
930 usage: rbd group image remove [--group-pool <group-pool>]
931 [--group-namespace <group-namespace>]
932 [--group <group>] [--image-pool <image-pool>]
933 [--image-namespace <image-namespace>]
934 [--image <image>] [--pool <pool>]
935 [--image-id <image-id>]
936 <group-spec> <image-spec>
938 Remove an image from a group.
941 <group-spec> group specification
942 (example: [<pool-name>/[<namespace>/]]<group-name>)
943 <image-spec> image specification
944 (example: [<pool-name>/[<namespace>/]]<image-name>)
947 --group-pool arg group pool name
948 --group-namespace arg group namespace name
949 --group arg group name
950 --image-pool arg image pool name
951 --image-namespace arg image namespace name
952 --image arg image name
953 -p [ --pool ] arg pool name unless overridden
954 --image-id arg image id
957 usage: rbd group list [--pool <pool>] [--namespace <namespace>]
958 [--format <format>] [--pretty-format]
964 <pool-spec> pool specification
965 (example: <pool-name>[/<namespace>]
968 -p [ --pool ] arg pool name
969 --namespace arg namespace name
970 --format arg output format (plain, json, or xml) [default: plain]
971 --pretty-format pretty formatting (json and xml)
973 rbd help group remove
974 usage: rbd group remove [--pool <pool>] [--namespace <namespace>]
981 <group-spec> group specification
982 (example: [<pool-name>/[<namespace>/]]<group-name>)
985 -p [ --pool ] arg pool name
986 --namespace arg namespace name
987 --group arg group name
989 rbd help group rename
990 usage: rbd group rename [--pool <pool>] [--namespace <namespace>]
991 [--group <group>] [--dest-pool <dest-pool>]
992 [--dest-namespace <dest-namespace>]
993 [--dest-group <dest-group>]
994 <source-group-spec> <dest-group-spec>
996 Rename a group within pool.
999 <source-group-spec> source group specification
1000 (example: [<pool-name>/[<namespace>/]]<group-name>)
1001 <dest-group-spec> destination group specification
1002 (example: [<pool-name>/[<namespace>/]]<group-name>)
1005 -p [ --pool ] arg source pool name
1006 --namespace arg source namespace name
1007 --group arg source group name
1008 --dest-pool arg destination pool name
1009 --dest-namespace arg destination namespace name
1010 --dest-group arg destination group name
1012 rbd help group snap create
1013 usage: rbd group snap create [--pool <pool>] [--namespace <namespace>]
1014 [--group <group>] [--snap <snap>]
1015 [--skip-quiesce] [--ignore-quiesce-error]
1018 Make a snapshot of a group.
1020 Positional arguments
1021 <group-snap-spec> group specification
1023 [<pool-name>/[<namespace>/]]<group-name>@<snap-name>)
1026 -p [ --pool ] arg pool name
1027 --namespace arg namespace name
1028 --group arg group name
1029 --snap arg snapshot name
1030 --skip-quiesce do not run quiesce hooks
1031 --ignore-quiesce-error ignore quiesce hook error
1033 rbd help group snap list
1034 usage: rbd group snap list [--format <format>] [--pretty-format]
1035 [--pool <pool>] [--namespace <namespace>]
1039 List snapshots of a group.
1041 Positional arguments
1042 <group-spec> group specification
1043 (example: [<pool-name>/[<namespace>/]]<group-name>)
1046 --format arg output format (plain, json, or xml) [default: plain]
1047 --pretty-format pretty formatting (json and xml)
1048 -p [ --pool ] arg pool name
1049 --namespace arg namespace name
1050 --group arg group name
1052 rbd help group snap remove
1053 usage: rbd group snap remove [--pool <pool>] [--namespace <namespace>]
1054 [--group <group>] [--snap <snap>]
1057 Remove a snapshot from a group.
1059 Positional arguments
1060 <group-snap-spec> group specification
1062 [<pool-name>/[<namespace>/]]<group-name>@<snap-name>)
1065 -p [ --pool ] arg pool name
1066 --namespace arg namespace name
1067 --group arg group name
1068 --snap arg snapshot name
1070 rbd help group snap rename
1071 usage: rbd group snap rename [--pool <pool>] [--namespace <namespace>]
1072 [--group <group>] [--snap <snap>]
1073 [--dest-snap <dest-snap>]
1074 <group-snap-spec> <dest-snap>
1076 Rename group's snapshot.
1078 Positional arguments
1079 <group-snap-spec> group specification
1081 [<pool-name>/[<namespace>/]]<group-name>@<snap-name>)
1082 <dest-snap> destination snapshot name
1083 (example: <snap-name>)
1086 -p [ --pool ] arg pool name
1087 --namespace arg namespace name
1088 --group arg group name
1089 --snap arg snapshot name
1090 --dest-snap arg destination snapshot name
1092 rbd help group snap rollback
1093 usage: rbd group snap rollback [--no-progress] [--pool <pool>]
1094 [--namespace <namespace>] [--group <group>]
1098 Rollback group to snapshot.
1100 Positional arguments
1101 <group-snap-spec> group specification
1103 [<pool-name>/[<namespace>/]]<group-name>@<snap-name>)
1106 --no-progress disable progress output
1107 -p [ --pool ] arg pool name
1108 --namespace arg namespace name
1109 --group arg group name
1110 --snap arg snapshot name
1112 rbd help image-meta get
1113 usage: rbd image-meta get [--pool <pool>] [--namespace <namespace>]
1117 Image metadata get the value associated with the key.
1119 Positional arguments
1120 <image-spec> image specification
1121 (example: [<pool-name>/[<namespace>/]]<image-name>)
1122 <key> image meta key
1125 -p [ --pool ] arg pool name
1126 --namespace arg namespace name
1127 --image arg image name
1129 rbd help image-meta list
1130 usage: rbd image-meta list [--pool <pool>] [--namespace <namespace>]
1131 [--image <image>] [--format <format>]
1135 Image metadata list keys with values.
1137 Positional arguments
1138 <image-spec> image specification
1139 (example: [<pool-name>/[<namespace>/]]<image-name>)
1142 -p [ --pool ] arg pool name
1143 --namespace arg namespace name
1144 --image arg image name
1145 --format arg output format (plain, json, or xml) [default: plain]
1146 --pretty-format pretty formatting (json and xml)
1148 rbd help image-meta remove
1149 usage: rbd image-meta remove [--pool <pool>] [--namespace <namespace>]
1153 Image metadata remove the key and value associated.
1155 Positional arguments
1156 <image-spec> image specification
1157 (example: [<pool-name>/[<namespace>/]]<image-name>)
1158 <key> image meta key
1161 -p [ --pool ] arg pool name
1162 --namespace arg namespace name
1163 --image arg image name
1165 rbd help image-meta set
1166 usage: rbd image-meta set [--pool <pool>] [--namespace <namespace>]
1168 <image-spec> <key> <value>
1170 Image metadata set key with value.
1172 Positional arguments
1173 <image-spec> image specification
1174 (example: [<pool-name>/[<namespace>/]]<image-name>)
1175 <key> image meta key
1176 <value> image meta value
1179 -p [ --pool ] arg pool name
1180 --namespace arg namespace name
1181 --image arg image name
1184 usage: rbd import [--path <path>] [--dest-pool <dest-pool>]
1185 [--dest-namespace <dest-namespace>] [--dest <dest>]
1186 [--image-format <image-format>] [--new-format]
1187 [--order <order>] [--object-size <object-size>]
1188 [--image-feature <image-feature>] [--image-shared]
1189 [--stripe-unit <stripe-unit>]
1190 [--stripe-count <stripe-count>] [--data-pool <data-pool>]
1191 [--mirror-image-mode <mirror-image-mode>]
1192 [--journal-splay-width <journal-splay-width>]
1193 [--journal-object-size <journal-object-size>]
1194 [--journal-pool <journal-pool>]
1195 [--sparse-size <sparse-size>] [--no-progress]
1196 [--export-format <export-format>] [--pool <pool>]
1198 <path-name> <dest-image-spec>
1200 Import image from file.
1202 Positional arguments
1203 <path-name> import file (or '-' for stdin)
1204 <dest-image-spec> destination image specification
1205 (example: [<pool-name>/[<namespace>/]]<image-name>)
1208 --path arg import file (or '-' for stdin)
1209 --dest-pool arg destination pool name
1210 --dest-namespace arg destination namespace name
1211 --dest arg destination image name
1212 --image-format arg image format [default: 2]
1213 --object-size arg object size in B/K/M [4K <= object size <= 32M]
1214 --image-feature arg image features
1215 [layering(+), exclusive-lock(+*), object-map(+*),
1216 deep-flatten(+-), journaling(*)]
1217 --image-shared shared image
1218 --stripe-unit arg stripe unit in B/K/M
1219 --stripe-count arg stripe count
1220 --data-pool arg data pool
1221 --mirror-image-mode arg mirror image mode [journal or snapshot]
1222 --journal-splay-width arg number of active journal objects
1223 --journal-object-size arg size of journal objects [4K <= size <= 64M]
1224 --journal-pool arg pool for journal objects
1225 --sparse-size arg sparse size in B/K/M [default: 4K]
1226 --no-progress disable progress output
1227 --export-format arg format of image file
1230 (*) supports enabling/disabling on existing images
1231 (-) supports disabling-only on existing images
1232 (+) enabled by default for new images if features not specified
1234 rbd help import-diff
1235 usage: rbd import-diff [--path <path>] [--pool <pool>]
1236 [--namespace <namespace>] [--image <image>]
1237 [--sparse-size <sparse-size>] [--no-progress]
1238 <path-name> <image-spec>
1240 Import an incremental diff.
1242 Positional arguments
1243 <path-name> import file (or '-' for stdin)
1244 <image-spec> image specification
1245 (example: [<pool-name>/[<namespace>/]]<image-name>)
1248 --path arg import file (or '-' for stdin)
1249 -p [ --pool ] arg pool name
1250 --namespace arg namespace name
1251 --image arg image name
1252 --sparse-size arg sparse size in B/K/M [default: 4K]
1253 --no-progress disable progress output
1256 usage: rbd info [--pool <pool>] [--namespace <namespace>] [--image <image>]
1257 [--snap <snap>] [--image-id <image-id>] [--format <format>]
1259 <image-or-snap-spec>
1261 Show information about image size, striping, etc.
1263 Positional arguments
1264 <image-or-snap-spec> image or snapshot specification
1266 [<pool-name>/[<namespace>/]]<image-name>[@<snap-name>])
1269 -p [ --pool ] arg pool name
1270 --namespace arg namespace name
1271 --image arg image name
1272 --snap arg snapshot name
1273 --image-id arg image id
1274 --format arg output format (plain, json, or xml) [default: plain]
1275 --pretty-format pretty formatting (json and xml)
1277 rbd help journal client disconnect
1278 usage: rbd journal client disconnect [--pool <pool>] [--namespace <namespace>]
1279 [--image <image>] [--journal <journal>]
1280 [--client-id <client-id>]
1283 Flag image journal client as disconnected.
1285 Positional arguments
1286 <journal-spec> journal specification
1287 (example: [<pool-name>/[<namespace>/]]<journal-name>)
1290 -p [ --pool ] arg pool name
1291 --namespace arg namespace name
1292 --image arg image name
1293 --journal arg journal name
1294 --client-id arg client ID (or leave unspecified to disconnect all)
1296 rbd help journal export
1297 usage: rbd journal export [--pool <pool>] [--namespace <namespace>]
1298 [--image <image>] [--journal <journal>]
1299 [--path <path>] [--verbose] [--no-error]
1300 <source-journal-spec> <path-name>
1302 Export image journal.
1304 Positional arguments
1305 <source-journal-spec> source journal specification
1306 (example: [<pool-name>/[<namespace>/]]<journal-name>)
1307 <path-name> export file (or '-' for stdout)
1310 -p [ --pool ] arg source pool name
1311 --namespace arg source namespace name
1312 --image arg source image name
1313 --journal arg source journal name
1314 --path arg export file (or '-' for stdout)
1315 --verbose be verbose
1316 --no-error continue after error
1318 rbd help journal import
1319 usage: rbd journal import [--path <path>] [--dest-pool <dest-pool>]
1320 [--dest-namespace <dest-namespace>] [--dest <dest>]
1321 [--dest-journal <dest-journal>] [--verbose]
1323 <path-name> <dest-journal-spec>
1325 Import image journal.
1327 Positional arguments
1328 <path-name> import file (or '-' for stdin)
1329 <dest-journal-spec> destination journal specification
1330 (example: [<pool-name>/[<namespace>/]]<journal-name>)
1333 --path arg import file (or '-' for stdin)
1334 --dest-pool arg destination pool name
1335 --dest-namespace arg destination namespace name
1336 --dest arg destination image name
1337 --dest-journal arg destination journal name
1338 --verbose be verbose
1339 --no-error continue after error
1341 rbd help journal info
1342 usage: rbd journal info [--pool <pool>] [--namespace <namespace>]
1343 [--image <image>] [--journal <journal>]
1344 [--format <format>] [--pretty-format]
1347 Show information about image journal.
1349 Positional arguments
1350 <journal-spec> journal specification
1351 (example: [<pool-name>/[<namespace>/]]<journal-name>)
1354 -p [ --pool ] arg pool name
1355 --namespace arg namespace name
1356 --image arg image name
1357 --journal arg journal name
1358 --format arg output format (plain, json, or xml) [default: plain]
1359 --pretty-format pretty formatting (json and xml)
1361 rbd help journal inspect
1362 usage: rbd journal inspect [--pool <pool>] [--namespace <namespace>]
1363 [--image <image>] [--journal <journal>] [--verbose]
1366 Inspect image journal for structural errors.
1368 Positional arguments
1369 <journal-spec> journal specification
1370 (example: [<pool-name>/[<namespace>/]]<journal-name>)
1373 -p [ --pool ] arg pool name
1374 --namespace arg namespace name
1375 --image arg image name
1376 --journal arg journal name
1377 --verbose be verbose
1379 rbd help journal reset
1380 usage: rbd journal reset [--pool <pool>] [--namespace <namespace>]
1381 [--image <image>] [--journal <journal>]
1384 Reset image journal.
1386 Positional arguments
1387 <journal-spec> journal specification
1388 (example: [<pool-name>/[<namespace>/]]<journal-name>)
1391 -p [ --pool ] arg pool name
1392 --namespace arg namespace name
1393 --image arg image name
1394 --journal arg journal name
1396 rbd help journal status
1397 usage: rbd journal status [--pool <pool>] [--namespace <namespace>]
1398 [--image <image>] [--journal <journal>]
1399 [--format <format>] [--pretty-format]
1402 Show status of image journal.
1404 Positional arguments
1405 <journal-spec> journal specification
1406 (example: [<pool-name>/[<namespace>/]]<journal-name>)
1409 -p [ --pool ] arg pool name
1410 --namespace arg namespace name
1411 --image arg image name
1412 --journal arg journal name
1413 --format arg output format (plain, json, or xml) [default: plain]
1414 --pretty-format pretty formatting (json and xml)
1417 usage: rbd list [--long] [--pool <pool>] [--namespace <namespace>]
1418 [--format <format>] [--pretty-format]
1423 Positional arguments
1424 <pool-spec> pool specification
1425 (example: <pool-name>[/<namespace>]
1428 -l [ --long ] long listing format
1429 -p [ --pool ] arg pool name
1430 --namespace arg namespace name
1431 --format arg output format (plain, json, or xml) [default: plain]
1432 --pretty-format pretty formatting (json and xml)
1435 usage: rbd lock add [--pool <pool>] [--namespace <namespace>]
1436 [--image <image>] [--shared <shared>]
1437 <image-spec> <lock-id>
1439 Take a lock on an image.
1441 Positional arguments
1442 <image-spec> image specification
1443 (example: [<pool-name>/[<namespace>/]]<image-name>)
1444 <lock-id> unique lock id
1447 -p [ --pool ] arg pool name
1448 --namespace arg namespace name
1449 --image arg image name
1450 --shared arg shared lock tag
1453 usage: rbd lock list [--pool <pool>] [--namespace <namespace>]
1454 [--image <image>] [--format <format>] [--pretty-format]
1457 Show locks held on an image.
1459 Positional arguments
1460 <image-spec> image specification
1461 (example: [<pool-name>/[<namespace>/]]<image-name>)
1464 -p [ --pool ] arg pool name
1465 --namespace arg namespace name
1466 --image arg image name
1467 --format arg output format (plain, json, or xml) [default: plain]
1468 --pretty-format pretty formatting (json and xml)
1470 rbd help lock remove
1471 usage: rbd lock remove [--pool <pool>] [--namespace <namespace>]
1473 <image-spec> <lock-id> <locker>
1475 Release a lock on an image.
1477 Positional arguments
1478 <image-spec> image specification
1479 (example: [<pool-name>/[<namespace>/]]<image-name>)
1480 <lock-id> unique lock id
1481 <locker> locker client
1484 -p [ --pool ] arg pool name
1485 --namespace arg namespace name
1486 --image arg image name
1489 usage: rbd merge-diff [--path <path>] [--no-progress]
1490 <diff1-path> <diff2-path> <path-name>
1492 Merge two diff exports together.
1494 Positional arguments
1495 <diff1-path> path to first diff (or '-' for stdin)
1496 <diff2-path> path to second diff
1497 <path-name> path to merged diff (or '-' for stdout)
1500 --path arg path to merged diff (or '-' for stdout)
1501 --no-progress disable progress output
1503 rbd help migration abort
1504 usage: rbd migration abort [--pool <pool>] [--namespace <namespace>]
1505 [--image <image>] [--no-progress]
1508 Cancel interrupted image migration.
1510 Positional arguments
1511 <image-spec> image specification
1512 (example: [<pool-name>/[<namespace>/]]<image-name>)
1515 -p [ --pool ] arg pool name
1516 --namespace arg namespace name
1517 --image arg image name
1518 --no-progress disable progress output
1520 rbd help migration commit
1521 usage: rbd migration commit [--pool <pool>] [--namespace <namespace>]
1522 [--image <image>] [--no-progress] [--force]
1525 Commit image migration.
1527 Positional arguments
1528 <image-spec> image specification
1529 (example: [<pool-name>/[<namespace>/]]<image-name>)
1532 -p [ --pool ] arg pool name
1533 --namespace arg namespace name
1534 --image arg image name
1535 --no-progress disable progress output
1536 --force proceed even if the image has children
1538 rbd help migration execute
1539 usage: rbd migration execute [--pool <pool>] [--namespace <namespace>]
1540 [--image <image>] [--no-progress]
1543 Execute image migration.
1545 Positional arguments
1546 <image-spec> image specification
1547 (example: [<pool-name>/[<namespace>/]]<image-name>)
1550 -p [ --pool ] arg pool name
1551 --namespace arg namespace name
1552 --image arg image name
1553 --no-progress disable progress output
1555 rbd help migration prepare
1556 usage: rbd migration prepare [--import-only]
1557 [--source-spec-path <source-spec-path>]
1558 [--source-spec <source-spec>] [--pool <pool>]
1559 [--namespace <namespace>] [--image <image>]
1560 [--snap <snap>] [--dest-pool <dest-pool>]
1561 [--dest-namespace <dest-namespace>]
1562 [--dest <dest>] [--image-format <image-format>]
1563 [--new-format] [--order <order>]
1564 [--object-size <object-size>]
1565 [--image-feature <image-feature>]
1566 [--image-shared] [--stripe-unit <stripe-unit>]
1567 [--stripe-count <stripe-count>]
1568 [--data-pool <data-pool>]
1569 [--mirror-image-mode <mirror-image-mode>]
1570 [--journal-splay-width <journal-splay-width>]
1571 [--journal-object-size <journal-object-size>]
1572 [--journal-pool <journal-pool>] [--flatten]
1573 <source-image-or-snap-spec> <dest-image-spec>
1575 Prepare image migration.
1577 Positional arguments
1578 <source-image-or-snap-spec> source image or snapshot specification
1580 [<pool-name>/[<namespace>/]]<image-name>[@<snap-n
1582 <dest-image-spec> destination image specification
1584 [<pool-name>/[<namespace>/]]<image-name>)
1587 --import-only only import data from source
1588 --source-spec-path arg source-spec file (or '-' for stdin)
1589 --source-spec arg source-spec
1590 -p [ --pool ] arg source pool name
1591 --namespace arg source namespace name
1592 --image arg source image name
1593 --snap arg source snapshot name
1594 --dest-pool arg destination pool name
1595 --dest-namespace arg destination namespace name
1596 --dest arg destination image name
1597 --image-format arg image format [default: 2]
1598 --object-size arg object size in B/K/M [4K <= object size <= 32M]
1599 --image-feature arg image features
1600 [layering(+), exclusive-lock(+*),
1601 object-map(+*), deep-flatten(+-), journaling(*)]
1602 --image-shared shared image
1603 --stripe-unit arg stripe unit in B/K/M
1604 --stripe-count arg stripe count
1605 --data-pool arg data pool
1606 --mirror-image-mode arg mirror image mode [journal or snapshot]
1607 --journal-splay-width arg number of active journal objects
1608 --journal-object-size arg size of journal objects [4K <= size <= 64M]
1609 --journal-pool arg pool for journal objects
1610 --flatten fill clone with parent data (make it independent)
1613 (*) supports enabling/disabling on existing images
1614 (-) supports disabling-only on existing images
1615 (+) enabled by default for new images if features not specified
1617 rbd help mirror image demote
1618 usage: rbd mirror image demote [--pool <pool>] [--namespace <namespace>]
1622 Demote an image to non-primary for RBD mirroring.
1624 Positional arguments
1625 <image-spec> image specification
1626 (example: [<pool-name>/[<namespace>/]]<image-name>)
1629 -p [ --pool ] arg pool name
1630 --namespace arg namespace name
1631 --image arg image name
1633 rbd help mirror image disable
1634 usage: rbd mirror image disable [--force] [--pool <pool>]
1635 [--namespace <namespace>] [--image <image>]
1638 Disable RBD mirroring for an image.
1640 Positional arguments
1641 <image-spec> image specification
1642 (example: [<pool-name>/[<namespace>/]]<image-name>)
1645 --force disable even if not primary
1646 -p [ --pool ] arg pool name
1647 --namespace arg namespace name
1648 --image arg image name
1650 rbd help mirror image enable
1651 usage: rbd mirror image enable [--pool <pool>] [--namespace <namespace>]
1653 <image-spec> [<mode>]
1655 Enable RBD mirroring for an image.
1657 Positional arguments
1658 <image-spec> image specification
1659 (example: [<pool-name>/[<namespace>/]]<image-name>)
1660 <mode> mirror image mode (journal or snapshot) [default:
1664 -p [ --pool ] arg pool name
1665 --namespace arg namespace name
1666 --image arg image name
1668 rbd help mirror image promote
1669 usage: rbd mirror image promote [--force] [--pool <pool>]
1670 [--namespace <namespace>] [--image <image>]
1673 Promote an image to primary for RBD mirroring.
1675 Positional arguments
1676 <image-spec> image specification
1677 (example: [<pool-name>/[<namespace>/]]<image-name>)
1680 --force promote even if not cleanly demoted by remote cluster
1681 -p [ --pool ] arg pool name
1682 --namespace arg namespace name
1683 --image arg image name
1685 rbd help mirror image resync
1686 usage: rbd mirror image resync [--pool <pool>] [--namespace <namespace>]
1690 Force resync to primary image for RBD mirroring.
1692 Positional arguments
1693 <image-spec> image specification
1694 (example: [<pool-name>/[<namespace>/]]<image-name>)
1697 -p [ --pool ] arg pool name
1698 --namespace arg namespace name
1699 --image arg image name
1701 rbd help mirror image snapshot
1702 usage: rbd mirror image snapshot [--pool <pool>] [--namespace <namespace>]
1703 [--image <image>] [--skip-quiesce]
1704 [--ignore-quiesce-error]
1707 Create RBD mirroring image snapshot.
1709 Positional arguments
1710 <image-spec> image specification
1711 (example: [<pool-name>/[<namespace>/]]<image-name>)
1714 -p [ --pool ] arg pool name
1715 --namespace arg namespace name
1716 --image arg image name
1717 --skip-quiesce do not run quiesce hooks
1718 --ignore-quiesce-error ignore quiesce hook error
1720 rbd help mirror image status
1721 usage: rbd mirror image status [--pool <pool>] [--namespace <namespace>]
1722 [--image <image>] [--format <format>]
1726 Show RBD mirroring status for an image.
1728 Positional arguments
1729 <image-spec> image specification
1730 (example: [<pool-name>/[<namespace>/]]<image-name>)
1733 -p [ --pool ] arg pool name
1734 --namespace arg namespace name
1735 --image arg image name
1736 --format arg output format (plain, json, or xml) [default: plain]
1737 --pretty-format pretty formatting (json and xml)
1739 rbd help mirror pool demote
1740 usage: rbd mirror pool demote [--pool <pool>] [--namespace <namespace>]
1743 Demote all primary images in the pool.
1745 Positional arguments
1746 <pool-spec> pool specification
1747 (example: <pool-name>[/<namespace>]
1750 -p [ --pool ] arg pool name
1751 --namespace arg namespace name
1753 rbd help mirror pool disable
1754 usage: rbd mirror pool disable [--pool <pool>] [--namespace <namespace>]
1757 Disable RBD mirroring by default within a pool.
1759 Positional arguments
1760 <pool-spec> pool specification
1761 (example: <pool-name>[/<namespace>]
1764 -p [ --pool ] arg pool name
1765 --namespace arg namespace name
1767 rbd help mirror pool enable
1768 usage: rbd mirror pool enable [--pool <pool>] [--namespace <namespace>]
1769 [--site-name <site-name>]
1772 Enable RBD mirroring by default within a pool.
1774 Positional arguments
1775 <pool-spec> pool specification
1776 (example: <pool-name>[/<namespace>]
1777 <mode> mirror mode [image or pool]
1780 -p [ --pool ] arg pool name
1781 --namespace arg namespace name
1782 --site-name arg local site name
1784 rbd help mirror pool info
1785 usage: rbd mirror pool info [--pool <pool>] [--namespace <namespace>]
1786 [--format <format>] [--pretty-format] [--all]
1789 Show information about the pool mirroring configuration.
1791 Positional arguments
1792 <pool-spec> pool specification
1793 (example: <pool-name>[/<namespace>]
1796 -p [ --pool ] arg pool name
1797 --namespace arg namespace name
1798 --format arg output format (plain, json, or xml) [default: plain]
1799 --pretty-format pretty formatting (json and xml)
1800 --all list all attributes
1802 rbd help mirror pool peer add
1803 usage: rbd mirror pool peer add [--pool <pool>]
1804 [--remote-client-name <remote-client-name>]
1805 [--remote-cluster <remote-cluster>]
1806 [--remote-mon-host <remote-mon-host>]
1807 [--remote-key-file <remote-key-file>]
1808 [--direction <direction>]
1809 <pool-name> <remote-cluster-spec>
1811 Add a mirroring peer to a pool.
1813 Positional arguments
1814 <pool-name> pool name
1815 <remote-cluster-spec> remote cluster spec
1816 (example: [<client name>@]<cluster name>)
1819 -p [ --pool ] arg pool name
1820 --remote-client-name arg remote client name
1821 --remote-cluster arg remote cluster name
1822 --remote-mon-host arg remote mon host(s)
1823 --remote-key-file arg path to file containing remote key
1824 --direction arg mirroring direction (rx-only, rx-tx)
1827 rbd help mirror pool peer bootstrap create
1828 usage: rbd mirror pool peer bootstrap create
1829 [--pool <pool>] [--site-name <site-name>]
1832 Create a peer bootstrap token to import in a remote cluster
1834 Positional arguments
1835 <pool-name> pool name
1838 -p [ --pool ] arg pool name
1839 --site-name arg local site name
1841 rbd help mirror pool peer bootstrap import
1842 usage: rbd mirror pool peer bootstrap import
1844 [--site-name <site-name>]
1845 [--token-path <token-path>]
1846 [--direction <direction>]
1847 <pool-name> <token-path>
1849 Import a peer bootstrap token created from a remote cluster
1851 Positional arguments
1852 <pool-name> pool name
1853 <token-path> bootstrap token file (or '-' for stdin)
1856 -p [ --pool ] arg pool name
1857 --site-name arg local site name
1858 --token-path arg bootstrap token file (or '-' for stdin)
1859 --direction arg mirroring direction (rx-only, rx-tx)
1862 rbd help mirror pool peer remove
1863 usage: rbd mirror pool peer remove [--pool <pool>]
1866 Remove a mirroring peer from a pool.
1868 Positional arguments
1869 <pool-name> pool name
1873 -p [ --pool ] arg pool name
1875 rbd help mirror pool peer set
1876 usage: rbd mirror pool peer set [--pool <pool>]
1877 <pool-name> <uuid> <key> <value>
1879 Update mirroring peer settings.
1881 Positional arguments
1882 <pool-name> pool name
1884 <key> peer parameter
1885 (direction, site-name, client, mon-host, key-file)
1886 <value> new value for specified key
1887 (rx-only, tx-only, or rx-tx for direction)
1890 -p [ --pool ] arg pool name
1892 rbd help mirror pool promote
1893 usage: rbd mirror pool promote [--force] [--pool <pool>]
1894 [--namespace <namespace>]
1897 Promote all non-primary images in the pool.
1899 Positional arguments
1900 <pool-spec> pool specification
1901 (example: <pool-name>[/<namespace>]
1904 --force promote even if not cleanly demoted by remote cluster
1905 -p [ --pool ] arg pool name
1906 --namespace arg namespace name
1908 rbd help mirror pool status
1909 usage: rbd mirror pool status [--pool <pool>] [--namespace <namespace>]
1910 [--format <format>] [--pretty-format] [--verbose]
1913 Show status for all mirrored images in the pool.
1915 Positional arguments
1916 <pool-spec> pool specification
1917 (example: <pool-name>[/<namespace>]
1920 -p [ --pool ] arg pool name
1921 --namespace arg namespace name
1922 --format arg output format (plain, json, or xml) [default: plain]
1923 --pretty-format pretty formatting (json and xml)
1924 --verbose be verbose
1926 rbd help mirror snapshot schedule add
1927 usage: rbd mirror snapshot schedule add
1929 [--namespace <namespace>]
1931 <interval> [<start-time>]
1933 Add mirror snapshot schedule.
1935 Positional arguments
1936 <interval> schedule interval
1937 <start-time> schedule start time
1940 -p [ --pool ] arg pool name
1941 --namespace arg namespace name
1942 --image arg image name
1944 rbd help mirror snapshot schedule list
1945 usage: rbd mirror snapshot schedule list
1947 [--namespace <namespace>]
1948 [--image <image>] [--recursive]
1949 [--format <format>] [--pretty-format]
1951 List mirror snapshot schedule.
1954 -p [ --pool ] arg pool name
1955 --namespace arg namespace name
1956 --image arg image name
1957 -R [ --recursive ] list all schedules
1958 --format arg output format (plain, json, or xml) [default: plain]
1959 --pretty-format pretty formatting (json and xml)
1961 rbd help mirror snapshot schedule remove
1962 usage: rbd mirror snapshot schedule remove
1964 [--namespace <namespace>]
1966 [<interval>] [<start-time>]
1968 Remove mirror snapshot schedule.
1970 Positional arguments
1971 <interval> schedule interval
1972 <start-time> schedule start time
1975 -p [ --pool ] arg pool name
1976 --namespace arg namespace name
1977 --image arg image name
1979 rbd help mirror snapshot schedule status
1980 usage: rbd mirror snapshot schedule status
1982 [--namespace <namespace>]
1983 [--image <image>] [--format <format>]
1986 Show mirror snapshot schedule status.
1989 -p [ --pool ] arg pool name
1990 --namespace arg namespace name
1991 --image arg image name
1992 --format arg output format (plain, json, or xml) [default: plain]
1993 --pretty-format pretty formatting (json and xml)
1995 rbd help namespace create
1996 usage: rbd namespace create [--pool <pool>] [--namespace <namespace>]
1999 Create an RBD image namespace.
2001 Positional arguments
2002 <pool-spec> pool specification
2003 (example: <pool-name>[/<namespace>]
2006 -p [ --pool ] arg pool name
2007 --namespace arg namespace name
2009 rbd help namespace list
2010 usage: rbd namespace list [--pool <pool>] [--format <format>] [--pretty-format]
2013 List RBD image namespaces.
2015 Positional arguments
2016 <pool-name> pool name
2019 -p [ --pool ] arg pool name
2020 --format arg output format (plain, json, or xml) [default: plain]
2021 --pretty-format pretty formatting (json and xml)
2023 rbd help namespace remove
2024 usage: rbd namespace remove [--pool <pool>] [--namespace <namespace>]
2027 Remove an RBD image namespace.
2029 Positional arguments
2030 <pool-spec> pool specification
2031 (example: <pool-name>[/<namespace>]
2034 -p [ --pool ] arg pool name
2035 --namespace arg namespace name
2037 rbd help object-map check
2038 usage: rbd object-map check [--pool <pool>] [--namespace <namespace>]
2039 [--image <image>] [--snap <snap>] [--no-progress]
2040 <image-or-snap-spec>
2042 Verify the object map is correct.
2044 Positional arguments
2045 <image-or-snap-spec> image or snapshot specification
2047 [<pool-name>/[<namespace>/]]<image-name>[@<snap-name>])
2050 -p [ --pool ] arg pool name
2051 --namespace arg namespace name
2052 --image arg image name
2053 --snap arg snapshot name
2054 --no-progress disable progress output
2056 rbd help object-map rebuild
2057 usage: rbd object-map rebuild [--pool <pool>] [--namespace <namespace>]
2058 [--image <image>] [--snap <snap>] [--no-progress]
2059 <image-or-snap-spec>
2061 Rebuild an invalid object map.
2063 Positional arguments
2064 <image-or-snap-spec> image or snapshot specification
2066 [<pool-name>/[<namespace>/]]<image-name>[@<snap-name>])
2069 -p [ --pool ] arg pool name
2070 --namespace arg namespace name
2071 --image arg image name
2072 --snap arg snapshot name
2073 --no-progress disable progress output
2075 rbd help perf image iostat
2076 usage: rbd perf image iostat [--pool <pool>] [--namespace <namespace>]
2077 [--iterations <iterations>] [--sort-by <sort-by>]
2078 [--format <format>] [--pretty-format]
2081 Display image IO statistics.
2083 Positional arguments
2084 <pool-spec> pool specification
2085 (example: <pool-name>[/<namespace>]
2088 -p [ --pool ] arg pool name
2089 --namespace arg namespace name
2090 --iterations arg iterations of metric collection [> 0]
2091 --sort-by arg (=write_ops) sort-by IO metric (write-ops, read-ops,
2092 write-bytes, read-bytes, write-latency,
2093 read-latency) [default: write-ops]
2094 --format arg output format (plain, json, or xml) [default:
2096 --pretty-format pretty formatting (json and xml)
2098 rbd help perf image iotop
2099 usage: rbd perf image iotop [--pool <pool>] [--namespace <namespace>]
2102 Display a top-like IO monitor.
2104 Positional arguments
2105 <pool-spec> pool specification
2106 (example: <pool-name>[/<namespace>]
2109 -p [ --pool ] arg pool name
2110 --namespace arg namespace name
2112 rbd help persistent-cache flush
2113 usage: rbd persistent-cache flush [--pool <pool>] [--namespace <namespace>]
2114 [--image <image>] [--image-id <image-id>]
2117 Flush persistent cache.
2119 Positional arguments
2120 <image-spec> image specification
2121 (example: [<pool-name>/[<namespace>/]]<image-name>)
2124 -p [ --pool ] arg pool name
2125 --namespace arg namespace name
2126 --image arg image name
2127 --image-id arg image id
2129 rbd help persistent-cache invalidate
2130 usage: rbd persistent-cache invalidate
2132 [--namespace <namespace>]
2133 [--image <image>] [--image-id <image-id>]
2136 Invalidate (discard) existing / dirty persistent cache.
2138 Positional arguments
2139 <image-spec> image specification
2140 (example: [<pool-name>/[<namespace>/]]<image-name>)
2143 -p [ --pool ] arg pool name
2144 --namespace arg namespace name
2145 --image arg image name
2146 --image-id arg image id
2149 usage: rbd pool init [--pool <pool>] [--force]
2152 Initialize pool for use by RBD.
2154 Positional arguments
2155 <pool-name> pool name
2158 -p [ --pool ] arg pool name
2159 --force force initialize pool for RBD use if registered by
2163 usage: rbd pool stats [--pool <pool>] [--namespace <namespace>]
2164 [--format <format>] [--pretty-format]
2167 Display pool statistics.
2169 Positional arguments
2170 <pool-spec> pool specification
2171 (example: <pool-name>[/<namespace>]
2174 -p [ --pool ] arg pool name
2175 --namespace arg namespace name
2176 --format arg output format (plain, json, or xml) [default: plain]
2177 --pretty-format pretty formatting (json and xml)
2179 Note: legacy v1 images are not included in stats
2181 usage: rbd remove [--pool <pool>] [--namespace <namespace>] [--image <image>]
2187 Positional arguments
2188 <image-spec> image specification
2189 (example: [<pool-name>/[<namespace>/]]<image-name>)
2192 -p [ --pool ] arg pool name
2193 --namespace arg namespace name
2194 --image arg image name
2195 --no-progress disable progress output
2198 usage: rbd rename [--pool <pool>] [--namespace <namespace>] [--image <image>]
2199 [--dest-pool <dest-pool>]
2200 [--dest-namespace <dest-namespace>] [--dest <dest>]
2201 <source-image-spec> <dest-image-spec>
2203 Rename image within pool.
2205 Positional arguments
2206 <source-image-spec> source image specification
2207 (example: [<pool-name>/[<namespace>/]]<image-name>)
2208 <dest-image-spec> destination image specification
2209 (example: [<pool-name>/[<namespace>/]]<image-name>)
2212 -p [ --pool ] arg source pool name
2213 --namespace arg source namespace name
2214 --image arg source image name
2215 --dest-pool arg destination pool name
2216 --dest-namespace arg destination namespace name
2217 --dest arg destination image name
2220 usage: rbd resize [--pool <pool>] [--namespace <namespace>]
2221 [--image <image>] --size <size> [--allow-shrink]
2225 Resize (expand or shrink) image.
2227 Positional arguments
2228 <image-spec> image specification
2229 (example: [<pool-name>/[<namespace>/]]<image-name>)
2232 -p [ --pool ] arg pool name
2233 --namespace arg namespace name
2234 --image arg image name
2235 -s [ --size ] arg image size (in M/G/T) [default: M]
2236 --allow-shrink permit shrinking
2237 --no-progress disable progress output
2239 rbd help snap create
2240 usage: rbd snap create [--pool <pool>] [--namespace <namespace>]
2241 [--image <image>] [--snap <snap>] [--skip-quiesce]
2242 [--ignore-quiesce-error] [--no-progress]
2247 Positional arguments
2248 <snap-spec> snapshot specification
2250 [<pool-name>/[<namespace>/]]<image-name>@<snap-name>)
2253 -p [ --pool ] arg pool name
2254 --namespace arg namespace name
2255 --image arg image name
2256 --snap arg snapshot name
2257 --skip-quiesce do not run quiesce hooks
2258 --ignore-quiesce-error ignore quiesce hook error
2259 --no-progress disable progress output
2261 rbd help snap limit clear
2262 usage: rbd snap limit clear [--pool <pool>] [--namespace <namespace>]
2266 Remove snapshot limit.
2268 Positional arguments
2269 <image-spec> image specification
2270 (example: [<pool-name>/[<namespace>/]]<image-name>)
2273 -p [ --pool ] arg pool name
2274 --namespace arg namespace name
2275 --image arg image name
2277 rbd help snap limit set
2278 usage: rbd snap limit set [--pool <pool>] [--namespace <namespace>]
2279 [--image <image>] [--limit <limit>]
2282 Limit the number of snapshots.
2284 Positional arguments
2285 <image-spec> image specification
2286 (example: [<pool-name>/[<namespace>/]]<image-name>)
2289 -p [ --pool ] arg pool name
2290 --namespace arg namespace name
2291 --image arg image name
2292 --limit arg maximum allowed snapshot count
2295 usage: rbd snap list [--pool <pool>] [--namespace <namespace>]
2296 [--image <image>] [--image-id <image-id>]
2297 [--format <format>] [--pretty-format] [--all]
2300 Dump list of image snapshots.
2302 Positional arguments
2303 <image-spec> image specification
2304 (example: [<pool-name>/[<namespace>/]]<image-name>)
2307 -p [ --pool ] arg pool name
2308 --namespace arg namespace name
2309 --image arg image name
2310 --image-id arg image id
2311 --format arg output format (plain, json, or xml) [default: plain]
2312 --pretty-format pretty formatting (json and xml)
2313 -a [ --all ] list snapshots from all namespaces
2315 rbd help snap protect
2316 usage: rbd snap protect [--pool <pool>] [--namespace <namespace>]
2317 [--image <image>] [--snap <snap>]
2320 Prevent a snapshot from being deleted.
2322 Positional arguments
2323 <snap-spec> snapshot specification
2325 [<pool-name>/[<namespace>/]]<image-name>@<snap-name>)
2328 -p [ --pool ] arg pool name
2329 --namespace arg namespace name
2330 --image arg image name
2331 --snap arg snapshot name
2334 usage: rbd snap purge [--pool <pool>] [--namespace <namespace>]
2335 [--image <image>] [--image-id <image-id>] [--no-progress]
2338 Delete all unprotected snapshots.
2340 Positional arguments
2341 <image-spec> image specification
2342 (example: [<pool-name>/[<namespace>/]]<image-name>)
2345 -p [ --pool ] arg pool name
2346 --namespace arg namespace name
2347 --image arg image name
2348 --image-id arg image id
2349 --no-progress disable progress output
2351 rbd help snap remove
2352 usage: rbd snap remove [--pool <pool>] [--namespace <namespace>]
2353 [--image <image>] [--snap <snap>]
2354 [--image-id <image-id>] [--snap-id <snap-id>]
2355 [--no-progress] [--force]
2360 Positional arguments
2361 <snap-spec> snapshot specification
2363 [<pool-name>/[<namespace>/]]<image-name>@<snap-name>)
2366 -p [ --pool ] arg pool name
2367 --namespace arg namespace name
2368 --image arg image name
2369 --snap arg snapshot name
2370 --image-id arg image id
2371 --snap-id arg snapshot id
2372 --no-progress disable progress output
2373 --force flatten children and unprotect snapshot if needed.
2375 rbd help snap rename
2376 usage: rbd snap rename [--pool <pool>] [--namespace <namespace>]
2377 [--image <image>] [--snap <snap>]
2378 [--dest-pool <dest-pool>]
2379 [--dest-namespace <dest-namespace>] [--dest <dest>]
2380 [--dest-snap <dest-snap>]
2381 <source-snap-spec> <dest-snap-spec>
2385 Positional arguments
2386 <source-snap-spec> source snapshot specification
2388 [<pool-name>/[<namespace>/]]<image-name>@<snap-name>)
2389 <dest-snap-spec> destination snapshot specification
2391 [<pool-name>/[<namespace>/]]<image-name>@<snap-name>)
2394 -p [ --pool ] arg source pool name
2395 --namespace arg source namespace name
2396 --image arg source image name
2397 --snap arg source snapshot name
2398 --dest-pool arg destination pool name
2399 --dest-namespace arg destination namespace name
2400 --dest arg destination image name
2401 --dest-snap arg destination snapshot name
2403 rbd help snap rollback
2404 usage: rbd snap rollback [--pool <pool>] [--namespace <namespace>]
2405 [--image <image>] [--snap <snap>] [--no-progress]
2408 Rollback image to snapshot.
2410 Positional arguments
2411 <snap-spec> snapshot specification
2413 [<pool-name>/[<namespace>/]]<image-name>@<snap-name>)
2416 -p [ --pool ] arg pool name
2417 --namespace arg namespace name
2418 --image arg image name
2419 --snap arg snapshot name
2420 --no-progress disable progress output
2422 rbd help snap unprotect
2423 usage: rbd snap unprotect [--pool <pool>] [--namespace <namespace>]
2424 [--image <image>] [--snap <snap>]
2425 [--image-id <image-id>]
2428 Allow a snapshot to be deleted.
2430 Positional arguments
2431 <snap-spec> snapshot specification
2433 [<pool-name>/[<namespace>/]]<image-name>@<snap-name>)
2436 -p [ --pool ] arg pool name
2437 --namespace arg namespace name
2438 --image arg image name
2439 --snap arg snapshot name
2440 --image-id arg image id
2443 usage: rbd sparsify [--pool <pool>] [--namespace <namespace>]
2444 [--image <image>] [--no-progress]
2445 [--sparse-size <sparse-size>]
2448 Reclaim space for zeroed image extents.
2450 Positional arguments
2451 <image-spec> image specification
2452 (example: [<pool-name>/[<namespace>/]]<image-name>)
2455 -p [ --pool ] arg pool name
2456 --namespace arg namespace name
2457 --image arg image name
2458 --no-progress disable progress output
2459 --sparse-size arg sparse size in B/K/M [default: 4K]
2462 usage: rbd status [--pool <pool>] [--namespace <namespace>] [--image <image>]
2463 [--format <format>] [--pretty-format]
2466 Show the status of this image.
2468 Positional arguments
2469 <image-spec> image specification
2470 (example: [<pool-name>/[<namespace>/]]<image-name>)
2473 -p [ --pool ] arg pool name
2474 --namespace arg namespace name
2475 --image arg image name
2476 --format arg output format (plain, json, or xml) [default: plain]
2477 --pretty-format pretty formatting (json and xml)
2480 usage: rbd trash list [--pool <pool>] [--namespace <namespace>] [--all]
2481 [--long] [--format <format>] [--pretty-format]
2486 Positional arguments
2487 <pool-spec> pool specification
2488 (example: <pool-name>[/<namespace>]
2491 -p [ --pool ] arg pool name
2492 --namespace arg namespace name
2493 -a [ --all ] list images from all sources
2494 -l [ --long ] long listing format
2495 --format arg output format (plain, json, or xml) [default: plain]
2496 --pretty-format pretty formatting (json and xml)
2499 usage: rbd trash move [--pool <pool>] [--namespace <namespace>]
2500 [--image <image>] [--expires-at <expires-at>]
2503 Move an image to the trash.
2505 Positional arguments
2506 <image-spec> image specification
2507 (example: [<pool-name>/[<namespace>/]]<image-name>)
2510 -p [ --pool ] arg pool name
2511 --namespace arg namespace name
2512 --image arg image name
2513 --expires-at arg (=now) set the expiration time of an image so it can be
2514 purged when it is stale
2516 rbd help trash purge
2517 usage: rbd trash purge [--pool <pool>] [--namespace <namespace>]
2518 [--no-progress] [--expired-before <expired-before>]
2519 [--threshold <threshold>]
2522 Remove all expired images from trash.
2524 Positional arguments
2525 <pool-spec> pool specification
2526 (example: <pool-name>[/<namespace>]
2529 -p [ --pool ] arg pool name
2530 --namespace arg namespace name
2531 --no-progress disable progress output
2532 --expired-before date purges images that expired before the given date
2533 --threshold arg purges images until the current pool data usage is
2534 reduced to X%, value range: 0.0-1.0
2536 rbd help trash purge schedule add
2537 usage: rbd trash purge schedule add [--pool <pool>] [--namespace <namespace>]
2538 <interval> [<start-time>]
2540 Add trash purge schedule.
2542 Positional arguments
2543 <interval> schedule interval
2544 <start-time> schedule start time
2547 -p [ --pool ] arg pool name
2548 --namespace arg namespace name
2550 rbd help trash purge schedule list
2551 usage: rbd trash purge schedule list [--pool <pool>] [--namespace <namespace>]
2552 [--recursive] [--format <format>]
2555 List trash purge schedule.
2558 -p [ --pool ] arg pool name
2559 --namespace arg namespace name
2560 -R [ --recursive ] list all schedules
2561 --format arg output format (plain, json, or xml) [default: plain]
2562 --pretty-format pretty formatting (json and xml)
2564 rbd help trash purge schedule remove
2565 usage: rbd trash purge schedule remove
2566 [--pool <pool>] [--namespace <namespace>]
2567 [<interval>] [<start-time>]
2569 Remove trash purge schedule.
2571 Positional arguments
2572 <interval> schedule interval
2573 <start-time> schedule start time
2576 -p [ --pool ] arg pool name
2577 --namespace arg namespace name
2579 rbd help trash purge schedule status
2580 usage: rbd trash purge schedule status
2582 [--namespace <namespace>]
2583 [--format <format>] [--pretty-format]
2585 Show trash purge schedule status.
2588 -p [ --pool ] arg pool name
2589 --namespace arg namespace name
2590 --format arg output format (plain, json, or xml) [default: plain]
2591 --pretty-format pretty formatting (json and xml)
2593 rbd help trash remove
2594 usage: rbd trash remove [--pool <pool>] [--namespace <namespace>]
2595 [--image-id <image-id>] [--no-progress] [--force]
2598 Remove an image from trash.
2600 Positional arguments
2602 (example: [<pool-name>/[<namespace>/]]<image-id>)
2605 -p [ --pool ] arg pool name
2606 --namespace arg namespace name
2607 --image-id arg image id
2608 --no-progress disable progress output
2609 --force force remove of non-expired delayed images
2611 rbd help trash restore
2612 usage: rbd trash restore [--pool <pool>] [--namespace <namespace>]
2613 [--image-id <image-id>] [--image <image>]
2616 Restore an image from trash.
2618 Positional arguments
2620 (example: [<pool-name>/]<image-id>)
2623 -p [ --pool ] arg pool name
2624 --namespace arg namespace name
2625 --image-id arg image id
2626 --image arg image name
2629 usage: rbd watch [--pool <pool>] [--namespace <namespace>] [--image <image>]
2632 Watch events on image.
2634 Positional arguments
2635 <image-spec> image specification
2636 (example: [<pool-name>/[<namespace>/]]<image-name>)
2639 -p [ --pool ] arg pool name
2640 --namespace arg namespace name
2641 --image arg image name