summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJosh Durgin <josh.durgin@dreamhost.com>2012-01-04 17:07:07 -0800
committerJosh Durgin <josh.durgin@dreamhost.com>2012-01-05 10:19:17 -0800
commitb6c43d2affe210115cea65fcdc4609815159bf39 (patch)
treeecaa2074dc73a09eb2aa052fd7abf90a21707641 /man
parentbd2339102f0c650d87203fdc2336f9533a18b755 (diff)
downloadceph-b6c43d2affe210115cea65fcdc4609815159bf39.tar.gz
rbd: add a command to delete all snapshots of an image
This makes deleting images with many snapshots easier. Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Diffstat (limited to 'man')
-rw-r--r--man/rbd.86
1 files changed, 5 insertions, 1 deletions
diff --git a/man/rbd.8 b/man/rbd.8
index 16da65aea1f..0278137d857 100644
--- a/man/rbd.8
+++ b/man/rbd.8
@@ -103,7 +103,8 @@ Will create a new rbd image. You must also specify the size via \-\-size.
Resizes rbd image. The size parameter also needs to be specified.
.TP
.B \fBrm\fP [\fIimage\-name\fP]
-Deletes rbd image (including all data blocks)
+Deletes an rbd image (including all data blocks). If the image has
+snapshots, this fails and nothing is deleted.
.TP
.B \fBexport\fP [\fIimage\-name\fP] [\fIdest\-path\fP]
Exports image to dest path.
@@ -130,6 +131,9 @@ array and update the data head content to the snapshotted version.
.B \fBsnap\fP rm [\fIimage\-name\fP]
Removes the specified snapshot.
.TP
+.B \fBsnap\fP purge [\fIimage\-name\fP]
+Removes all snapshots from an image.
+.TP
.B \fBmap\fP [\fIimage\-name\fP]
Maps the specified image to a block device via the rbd kernel module.
.TP