diff --git a/cmdline/scrub.c b/cmdline/scrub.c index 0c998b9d..df357072 100644 --- a/cmdline/scrub.c +++ b/cmdline/scrub.c @@ -623,8 +623,8 @@ int state_scrub(struct snapraid_state* state, int plan, int olderthan) if (plan >= 0) { countlimit = md(blockmax, plan, 100); } else { - /* by default scrub 12.5% of the array (100/8=12.5) */ - countlimit = md(blockmax, 1, 8); + /* by default scrub 8.33% of the array (100/12=8.(3)) */ + countlimit = md(blockmax, 1, 12); } if (olderthan >= 0) { diff --git a/snapraid.1 b/snapraid.1 index c2c73d65..7a4295a7 100644 --- a/snapraid.1 +++ b/snapraid.1 @@ -307,7 +307,7 @@ snapraid scrub This command verifies the data in your array comparing it with the hash computed in the \[dq]sync\[dq] command. .PP -Every run of the command checks the 12.5% of the array, but not data +Every run of the command checks about the 8% of the array, but not data already scrubbed in the previous 10 days. You can use the \-p, \-\-plan option to specify a different amount, and the \-o, \-\-older\-than option to specify a different age in days. @@ -778,10 +778,10 @@ The files in the array are NOT modified. Scrubs the array, checking for silent or input/output errors in data and parity disks. .PP -For each command invocation, the 12.5% of the array is checked, but +For each command invocation, about the 8% of the array is checked, but nothing that was already scrubbed in the last 10 days. This means that scrubbing once a week, every bit of data is checked -at least one time every two months. +at least one time every three months. .PP You can define a different scrub plan or amount using the \-p, \-\-plan option that takes as argument: diff --git a/snapraid.d b/snapraid.d index cfef2aa8..69c053e1 100644 --- a/snapraid.d +++ b/snapraid.d @@ -171,7 +171,7 @@ Getting Started This command verifies the data in your array comparing it with the hash computed in the "sync" command. - Every run of the command checks the 12.5% of the array, but not data + Every run of the command checks about the 8% of the array, but not data already scrubbed in the previous 10 days. You can use the -p, --plan option to specify a different amount, and the -o, --older-than option to specify a different age in days. @@ -486,10 +486,10 @@ Commands Scrubs the array, checking for silent or input/output errors in data and parity disks. - For each command invocation, the 12.5% of the array is checked, but + For each command invocation, about the 8% of the array is checked, but nothing that was already scrubbed in the last 10 days. This means that scrubbing once a week, every bit of data is checked - at least one time every two months. + at least one time every three months. You can define a different scrub plan or amount using the -p, --plan option that takes as argument: diff --git a/snapraid.txt b/snapraid.txt index 8439ffaa..636b05af 100644 --- a/snapraid.txt +++ b/snapraid.txt @@ -186,7 +186,7 @@ run the "scrub" command. This command verifies the data in your array comparing it with the hash computed in the "sync" command. -Every run of the command checks the 12.5% of the array, but not data +Every run of the command checks about the 8% of the array, but not data already scrubbed in the previous 10 days. You can use the -p, --plan option to specify a different amount, and the -o, --older-than option to specify a different age in days. @@ -524,10 +524,10 @@ The files in the array are NOT modified. Scrubs the array, checking for silent or input/output errors in data and parity disks. -For each command invocation, the 12.5% of the array is checked, but +For each command invocation, about the 8% of the array is checked, but nothing that was already scrubbed in the last 10 days. This means that scrubbing once a week, every bit of data is checked -at least one time every two months. +at least one time every three months. You can define a different scrub plan or amount using the -p, --plan option that takes as argument: