From 9f7557a50584dd71e7d84cedf16d4937dc821f42 Mon Sep 17 00:00:00 2001 From: Gaurav Kumar Garg Date: Thu, 16 Apr 2015 17:50:04 +0530 Subject: cli,doc: man page of gluster (man gluster) should show bitrot command information Currently when user type incorrent bitrot specific command then every time cli error suggest wrong command to reuse. With this fix it cli will suggest specific bitrot command when user type wrong bitrot command. With this fix it will also display bitrot command information in man page by typing 'man gluster' Change-Id: I7dbf31332a8cc0723e54e8a37fea0afe19d95e0e BUG: 1207532 Signed-off-by: Gaurav Kumar Garg Reviewed-on: http://review.gluster.org/10273 Tested-by: Gluster Build System Reviewed-by: Venky Shankar Reviewed-by: Atin Mukherjee Tested-by: NetBSD Build System Reviewed-by: Kaushal M --- doc/gluster.8 | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc') diff --git a/doc/gluster.8 b/doc/gluster.8 index eed81400cb3..6402cdd2e03 100644 --- a/doc/gluster.8 +++ b/doc/gluster.8 @@ -105,6 +105,19 @@ Display the status of peers. .TP \fB\ peer help \fR Display help for the peer command. +.SS "Bitrot Commands" +.TP +\fB\ volume bitrot {enable|disable} \fR +Enable/disable bitrot for volume +.TP +\fB\ volume bitrot scrub-throttle {lazy|normal|aggressive} \fR +Scrub-throttle value is a measure of how fast or slow the scrubber scrubs the filesystem for volume +.TP +\fB\ volume bitrot scrub-frequency {daily|weekly|biweekly|monthly} \fR +Scrub frequency for volume +.TP +\fB\ volume bitrot scrub {pause|resume} \fR +Pause/Resume scrub. Upon resume, scrubber continues where it left off. .SS "Snapshot Commands" .PP .TP -- cgit