cb8e9e
From 0833dfe3ff2da4fd78194d1442d34f88513875b4 Mon Sep 17 00:00:00 2001
cb8e9e
From: Avra Sengupta <asengupt@redhat.com>
cb8e9e
Date: Mon, 15 Jun 2015 15:59:21 +0530
cb8e9e
Subject: [PATCH 095/101] snapshot: man page modifications
cb8e9e
cb8e9e
Modified man page to correct snap-max-hard-limit and
cb8e9e
snap-max-soft-limit entries.
cb8e9e
cb8e9e
>Reviewed-on: http://review.gluster.org/11229/
cb8e9e
Change-Id: Ide3405fc94ea5cf6e19504e6dc158938c1bf135b
cb8e9e
BUG: 1130998
cb8e9e
Signed-off-by: Avra Sengupta <asengupt@redhat.com>
cb8e9e
Reviewed-on: https://code.engineering.redhat.com/gerrit/51016
cb8e9e
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
cb8e9e
Tested-by: Rajesh Joseph <rjoseph@redhat.com>
cb8e9e
---
cb8e9e
 doc/gluster.8 |   15 +++++++++------
cb8e9e
 1 files changed, 9 insertions(+), 6 deletions(-)
cb8e9e
cb8e9e
diff --git a/doc/gluster.8 b/doc/gluster.8
cb8e9e
index 6402cdd..715c52b 100644
cb8e9e
--- a/doc/gluster.8
cb8e9e
+++ b/doc/gluster.8
cb8e9e
@@ -137,7 +137,7 @@ If snapname is specified then mentioned snapshot is deleted. If volname is speci
cb8e9e
 Lists all snapshots taken. If volname is provided, then only the snapshots belonging to that particular volume is listed.
cb8e9e
 .TP
cb8e9e
 \fB\ snapshot info [snapname | (volume <volname>)] \fR
cb8e9e
-This command gives information such as snapshot name, snapshot UUID, time at which snapshot was created, and it lists down the snap-volume-name, number of snapshots already taken and number of snapshots still available for that particular volume, and the state of the snapshot. If snapname is specified then info of the  mentioned  snapshot is  displayed.  If volname is specified then info of all snap-shots belonging to that volume is displayed.  If  both  snapname and  volname  is  not specified then info of all the snapshots present in the system are displayed.
cb8e9e
+This command gives information such as snapshot name, snapshot UUID, time at which snapshot was created, and it lists down the snap-volume-name, number of snapshots already taken and number of snapshots still available for that particular volume, and the state of the snapshot. If snapname is specified then info of the  mentioned  snapshot is  displayed.  If volname is specified then info of all snapshots belonging to that volume is displayed.  If  both  snapname and  volname  is  not specified then info of all the snapshots present in the system are displayed.
cb8e9e
 .TP
cb8e9e
 \fB\ snapshot status [snapname | (volume <volname>)] \fR
cb8e9e
 This command gives status of the snapshot. The details included are snapshot brick path, volume group(LVM details), status of the snapshot bricks, PID of the bricks, data percentage filled for that particular volume group to which the snapshots belong to, and total size of the logical volume.
cb8e9e
@@ -151,15 +151,18 @@ snapshot config without any keywords displays the snapshot config values of all
cb8e9e
 
cb8e9e
 Snapshot config command along with keywords can be used to change the existing config values. If volname is provided then config value of that volume is changed, else it will set/change the system limit.
cb8e9e
 
cb8e9e
-snap-max-hard-limit, snap-max-soft-limit and auto-delete are global options, that will be inherited by all volumes in the system and cannot be set to individual volumes.
cb8e9e
+snap-max-soft-limit and auto-delete are global options, that will be inherited by all volumes in the system and cannot be set to individual volumes.
cb8e9e
 
cb8e9e
-The system limit takes precedence over the volume specific limit.
cb8e9e
+snap-max-hard-limit can be set globally, as well as per volume. The lowest limit between the global system limit and the volume specific limit, becomes the
cb8e9e
+"Effective snap-max-hard-limit" for a volume.
cb8e9e
 
cb8e9e
-When auto-delete feature is enabled, then upon reaching the soft-limit, with every successful snapshot creation, the oldest snapshot will be deleted.
cb8e9e
+snap-max-soft-limit is a percentage value, which is applied on the "Effective snap-max-hard-limit" to get the "Effective snap-max-soft-limit".
cb8e9e
 
cb8e9e
-When auto-delete feature is disabled, then upon reaching the soft-limit, the user gets a warning with every successful snapshot creation.
cb8e9e
+When auto-delete feature is enabled, then upon reaching the "Effective snap-max-soft-limit", with every successful snapshot creation, the oldest snapshot will be deleted.
cb8e9e
 
cb8e9e
-When auto-delete feature is disabled, then upon reaching the hard-limit, further  snapshot  creations  will not be allowed.
cb8e9e
+When auto-delete feature is disabled, then upon reaching the "Effective snap-max-soft-limit", the user gets a warning with every successful snapshot creation.
cb8e9e
+
cb8e9e
+When auto-delete feature is disabled, then upon reaching the "Effective snap-max-hard-limit", further  snapshot  creations  will not be allowed.
cb8e9e
 
cb8e9e
 activate-on-create is disabled by default. If you enable activate-on-create, then further snapshot will be activated during the time of snapshot creation.
cb8e9e
 .TP
cb8e9e
-- 
cb8e9e
1.7.1
cb8e9e