summaryrefslogtreecommitdiffstats
path: root/doc/admin-guide
diff options
context:
space:
mode:
authorVenky Shankar <vshankar@redhat.com>2015-05-06 16:26:03 +0530
committerHumble Devassy Chirammal <humble.devassy@gmail.com>2015-05-06 05:02:53 -0700
commit96871c7ddc39cdb502ebfb6d975fe8859fc3e0e9 (patch)
treef9c12c582ba53f9f8e0b588feea0ca8a0326b17d /doc/admin-guide
parentcb11dd91a6cc296e4a3808364077f4eacb810e48 (diff)
doc/admin-guide: BitRot command line usage
Change-Id: Ic3c9da566673f4d9b1d0974c5aa15121da087fba BUG: 1170075 Signed-off-by: Venky Shankar <vshankar@redhat.com> Reviewed-on: http://review.gluster.org/10607 Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com> Tested-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
Diffstat (limited to 'doc/admin-guide')
-rw-r--r--doc/admin-guide/en-US/markdown/admin_managing_volumes.md58
1 files changed, 58 insertions, 0 deletions
diff --git a/doc/admin-guide/en-US/markdown/admin_managing_volumes.md b/doc/admin-guide/en-US/markdown/admin_managing_volumes.md
index de77dac944b..f45567a1141 100644
--- a/doc/admin-guide/en-US/markdown/admin_managing_volumes.md
+++ b/doc/admin-guide/en-US/markdown/admin_managing_volumes.md
@@ -710,3 +710,61 @@ The NUFA scheduler also exists, for use with the Unify translator; see below.
- subvolumes
This option lists the subvolumes that are part of this 'cluster/nufa' volume. This translator requires more than one subvolume.
+
+<a name="bitrot-detection" />
+##BitRot Detection
+
+With BitRot detection in Gluster, it's possible to identify "insidious" type of disk
+errors where data is silently corrupted with no indication from the disk to the storage
+software layer than an error has occured. This also helps in catching "backend" tinkering
+of bricks (where data is directly manipulated on the bricks without going through FUSE,
+NFS or any other access protocol(s).
+
+BitRot detection is disbled by default and needs to be enabled to make use of other
+sub-commands.
+
+1. To enable bitrot detection for a given volume <VOLNAME>:
+
+ `# gluster volume bitrot <VOLNAME> enable`
+
+ and similarly to disable bitrot use:
+
+ `# gluster volume bitrot <VOLNAME> disable`
+
+NOTE: Enabling bitrot spanws the Signer & Scrubber daemon per node. Signer is responsible
+ for signing (calculating checksum for each file) an object and scrubber verifies the
+ calculated checksum against the objects data.
+
+2. Scrubber daemon has three (3) throttling modes that adjusts the rate at which objects
+ are verified.
+
+ `# volume bitrot <VOLNAME> scrub-throttle lazy`
+
+ `# volume bitrot <VOLNAME> scrub-throttle normal`
+
+ `# volume bitrot <VOLNAME> scrub-throttle aggressive`
+
+3. By default scrubber scrubs the filesystem biweekly. It's possible to tune it to scrub
+ based on predefined frequency such as monthly, etc. This can be done as shown below:
+
+ `# volume bitrot <VOLNAME> scrub-frequency daily`
+
+ `# volume bitrot <VOLNAME> scrub-frequency weekly`
+
+ `# volume bitrot <VOLNAME> scrub-frequency biweekly`
+
+ `# volume bitrot <VOLNAME> scrub-frequency monthly`
+
+NOTE: Daily scrubbing would not be available with GA release.
+
+4. Scrubber daemon can be paused and later resumed when required. This can be done as
+ shown below:
+
+ `# volume bitrot <VOLNAME> scrub pause`
+
+and to resume scrubbing
+
+ `# volume bitrot <VOLNAME> scrub resume`
+
+NOTE: Signing cannot be paused (and resumed) and would always be active as long as
+ bitrot is enabled for that particular volume.