summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorHari Gowtham <hgowtham@redhat.com>2015-08-27 15:12:35 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2015-09-08 03:12:15 -0700
commitd4014fc048cc6495fb493b743bc6ff3d77aac1f1 (patch)
tree60c28dfdde3cf4a397d991a1f408fb91af1fd97c /doc
parent4932409c92928ae1a6a2a158c4cd311b0c75973c (diff)
man or info page of gluster needs update with self-heal commands
backport of : http://review.gluster.org/12030/ >Change-Id: I6f50f88e56d9d9a8f875c7edac28e2a023b65881 >BUG: 1122395 >Signed-off-by: Hari Gowtham <hgowtham@redhat.com> >Reviewed-by: Ravishankar N <ravishankar@redhat.com> >Reviewed-by: Jeff Darcy <jdarcy@redhat.com> >Tested-by: NetBSD Build System <jenkins@build.gluster.org> >Tested-by: Gluster Build System <jenkins@build.gluster.com> >Signed-off-by: Hari Gowtham <hgowtham@redhat.com> Change-Id: Ibeae0ce9a7f1ee5bde05cb42001b2b7e22d173a0 BUG: 1260593 Signed-off-by: Hari Gowtham <hgowtham@redhat.com> Reviewed-on: http://review.gluster.org/12116 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Ravishankar N <ravishankar@redhat.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/gluster.844
1 files changed, 44 insertions, 0 deletions
diff --git a/doc/gluster.8 b/doc/gluster.8
index 715c52b4d46..e1e2a607c25 100644
--- a/doc/gluster.8
+++ b/doc/gluster.8
@@ -176,6 +176,50 @@ Deactivates the mentioned snapshot.
.TP
\fB\ snapshot help \fR
Display help for the snapshot commands.
+.SS "Self-heal Commands"
+.TP
+\fB\ volume heal <VOLNAME>\fR
+Triggers index self heal for the files that need healing.
+
+.TP
+\fB\ volume heal <VOLNAME> [enable | disable]\fR
+Enable/disable self-heal-daemon for volume <VOLNAME>.
+
+.TP
+\fB\ volume heal <VOLNAME> full\fR
+Triggers self heal on all the files.
+
+.TP
+\fB\ volume heal <VOLNAME> info \fR
+Lists the files that need healing.
+
+.TP
+\fB\ volume heal <VOLNAME> info split-brain \fR
+Lists the files which are in split-brain state.
+
+.TP
+\fB\ volume heal <VOLNAME> statistics \fR
+Lists the crawl statistics.
+
+.TP
+\fB\ volume heal <VOLNAME> statistics heal-count \fR
+Displays the count of files to be healed.
+
+.TP
+\fB\ volume heal <VOLNAME> statistics heal-count replica <HOSTNAME:BRICKNAME> \fR
+Displays the number of files to be healed from a particular replica subvolume to which the brick <HOSTNAME:BRICKNAME> belongs.
+
+.TP
+\fB\ volume heal <VOLNAME> split-brain bigger-file <FILE> \fR
+Performs healing of <FILE> which is in split-brain by choosing the bigger file in the replica as source.
+
+.TP
+\fB\ volume heal <VOLNAME> split-brain source-brick <HOSTNAME:BRICKNAME> \fR
+Selects <HOSTNAME:BRICKNAME> as the source for all the files that are in split-brain in that replica and heals them.
+
+.TP
+\fB\ volume heal <VOLNAME> split-brain source-brick <HOSTNAME:BRICKNAME> <FILE> \fR
+Selects the split-brained <FILE> present in <HOSTNAME:BRICKNAME> as source and completes heal.
.SS "Other Commands"
.TP
\fB\ help \fR