diff options
author | Hari Gowtham <hgowtham@redhat.com> | 2015-08-27 15:12:35 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2015-09-07 02:13:34 -0700 |
commit | 0e65ee0ceb8827ebac46bc6e714818d321cbd998 (patch) | |
tree | 56c97bfa4e42e3e74d83048c5e925a5badc77965 /doc | |
parent | 5b49851601ab53450777438268f0732c65795f98 (diff) |
man or info page of gluster needs to be updated with self-heal commands
Change-Id: I6f50f88e56d9d9a8f875c7edac28e2a023b65881
BUG: 1122395
Signed-off-by: Hari Gowtham <hgowtham@redhat.com>
Reviewed-on: http://review.gluster.org/12030
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>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gluster.8 | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/doc/gluster.8 b/doc/gluster.8 index 70ed95a9ae1..358b9aff9b9 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 |