From d4014fc048cc6495fb493b743bc6ff3d77aac1f1 Mon Sep 17 00:00:00 2001 From: Hari Gowtham Date: Thu, 27 Aug 2015 15:12:35 +0530 Subject: 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 >Reviewed-by: Ravishankar N >Reviewed-by: Jeff Darcy >Tested-by: NetBSD Build System >Tested-by: Gluster Build System >Signed-off-by: Hari Gowtham Change-Id: Ibeae0ce9a7f1ee5bde05cb42001b2b7e22d173a0 BUG: 1260593 Signed-off-by: Hari Gowtham Reviewed-on: http://review.gluster.org/12116 Tested-by: NetBSD Build System Tested-by: Gluster Build System Reviewed-by: Ravishankar N Reviewed-by: Pranith Kumar Karampuri --- doc/gluster.8 | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'doc') 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 \fR +Triggers index self heal for the files that need healing. + +.TP +\fB\ volume heal [enable | disable]\fR +Enable/disable self-heal-daemon for volume . + +.TP +\fB\ volume heal full\fR +Triggers self heal on all the files. + +.TP +\fB\ volume heal info \fR +Lists the files that need healing. + +.TP +\fB\ volume heal info split-brain \fR +Lists the files which are in split-brain state. + +.TP +\fB\ volume heal statistics \fR +Lists the crawl statistics. + +.TP +\fB\ volume heal statistics heal-count \fR +Displays the count of files to be healed. + +.TP +\fB\ volume heal statistics heal-count replica \fR +Displays the number of files to be healed from a particular replica subvolume to which the brick belongs. + +.TP +\fB\ volume heal split-brain bigger-file \fR +Performs healing of which is in split-brain by choosing the bigger file in the replica as source. + +.TP +\fB\ volume heal split-brain source-brick \fR +Selects as the source for all the files that are in split-brain in that replica and heals them. + +.TP +\fB\ volume heal split-brain source-brick \fR +Selects the split-brained present in as source and completes heal. .SS "Other Commands" .TP \fB\ help \fR -- cgit