summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/admin-guide/en-US/markdown/admin_managing_snapshots.md7
-rw-r--r--doc/gluster.84
2 files changed, 7 insertions, 4 deletions
diff --git a/doc/admin-guide/en-US/markdown/admin_managing_snapshots.md b/doc/admin-guide/en-US/markdown/admin_managing_snapshots.md
index 66fdb76af7d..d79451c7437 100644
--- a/doc/admin-guide/en-US/markdown/admin_managing_snapshots.md
+++ b/doc/admin-guide/en-US/markdown/admin_managing_snapshots.md
@@ -53,10 +53,13 @@ list of snapshots.
**Deleting snaps**
Syntax :
-*gluster snapshot delete <snapname\>*
+*gluster snapshot delete \(all | <snapname\> | volume <volname\>\)*
Details :
-Deletes the specified snapshot.
+If snapname is specified then mentioned snapshot is deleted.
+If volname is specified then all snapshots belonging to that particular
+volume is deleted. If keyword *all* is used then all snapshots belonging
+to the system is deleted.
--------------------------------------------------------------------------
diff --git a/doc/gluster.8 b/doc/gluster.8
index 28811c5b3d4..e45c011b189 100644
--- a/doc/gluster.8
+++ b/doc/gluster.8
@@ -114,8 +114,8 @@ Creates a snapshot of a GlusterFS volume. User can provide a snap-name and a des
\fB\ snapshot restore <snapname> \fR
Restores an already taken snapshot of a GlusterFS volume. Snapshot restore is an offline activity therefore if the volume is online (in started state) then the restore operation will fail. Once the snapshot is restored it will not be available in the list of snapshots.
.TP
-\fB\ snapshot delete <snapname> \fR
-Deletes the specified snapshot.
+\fB\ snapshot delete ( all | <snapname> | volume <volname> ) \fR
+If snapname is specified then mentioned snapshot is deleted. If volname is specified then all snapshots belonging to that particular volume is deleted. If keyword *all* is used then all snapshots belonging to the system is deleted.
.TP
\fB\ snapshot list [volname] \fR
Lists all snapshots taken. If volname is provided, then only the snapshots belonging to that particular volume is listed.