mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
More documentation changes about the new scrub strategy
This commit is contained in:
parent
cca2cbb23f
commit
fd9a282b17
3 changed files with 40 additions and 16 deletions
24
snapraid.1
24
snapraid.1
|
|
@ -772,7 +772,7 @@ Scrubs the array, checking for silent or input/output errors in data
|
|||
and parity disks.
|
||||
.PP
|
||||
For each command invocation, the 12% of the array is checked, but
|
||||
nothing that it\'s more recent than 10 days.
|
||||
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.
|
||||
.PP
|
||||
|
|
@ -780,9 +780,21 @@ You can use the \-p, \-\-percentage option to specify a different amount,
|
|||
and the \-o, \-\-older\-than option to specify a different age in days.
|
||||
You can have a full scrub with \[dq]\-p 100 \-o 0\[dq].
|
||||
.PP
|
||||
The just synched blocks are scrubbed first, then are scrubbed the blocks
|
||||
with the oldest scrub time.
|
||||
To get some stats of the scrub times, you can use the \[dq]status\[dq] command.
|
||||
When the selected amout doesn\'t allow a full scrub, the blocks
|
||||
priority is:
|
||||
* The blocks already marked as bad, to verify their status.
|
||||
* The new sycnched blocks never scrubbed, to verify if their
|
||||
.PP
|
||||
.RS 4
|
||||
parity data was written correctly.
|
||||
.RE
|
||||
.PD 0
|
||||
.IP \(bu
|
||||
All the reimainig blocks, but starting from the oldest ones
|
||||
ensuring an optimal check.
|
||||
.PD
|
||||
.PP
|
||||
To get the details of the scrub status use the \[dq]status\[dq] command.
|
||||
.PP
|
||||
For any silent or input/output error found the corresponding blocks
|
||||
are marked as bad in the \[dq]content\[dq] file.
|
||||
|
|
@ -791,8 +803,8 @@ After the fix, at the next scrub they will be rechecked, and if found
|
|||
corrected, the bad mark will be removed.
|
||||
To scrub only the bad blocks, you can use the \[dq]scrub \-p 0\[dq] command.
|
||||
.PP
|
||||
It\'s recommended to run \[dq]scrub\[dq] on a synced array, to avoid to have
|
||||
reported error caused by unsynced data. These errors are recognized
|
||||
It\'s recommended to run \[dq]scrub\[dq] only on a synced array, to avoid to
|
||||
have reported error caused by unsynced data. These errors are recognized
|
||||
as not being silent errors, and the blocks are not marked as bad,
|
||||
but such errors are reported in the output of the command.
|
||||
.PP
|
||||
|
|
|
|||
14
snapraid.d
14
snapraid.d
|
|
@ -481,7 +481,7 @@ Commands
|
|||
and parity disks.
|
||||
|
||||
For each command invocation, the 12% of the array is checked, but
|
||||
nothing that it's more recent than 10 days.
|
||||
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.
|
||||
|
||||
|
|
@ -489,9 +489,15 @@ Commands
|
|||
and the -o, --older-than option to specify a different age in days.
|
||||
You can have a full scrub with "-p 100 -o 0".
|
||||
|
||||
The just synched blocks never scrubbed, are scrubbed first, then are
|
||||
scrubbed the blocks with the oldest scrub time.
|
||||
To get some stats of the scrub times, you can use the "status" command.
|
||||
When the selected amout doesn't allow a full scrub, the blocks
|
||||
priority is:
|
||||
* The blocks already marked as bad, to verify their status.
|
||||
* The new sycnched blocks never scrubbed, to verify if their
|
||||
parity data was written correctly.
|
||||
* All the reimainig blocks, but starting from the oldest ones
|
||||
ensuring an optimal check.
|
||||
|
||||
To get the details of the scrub status use the "status" command.
|
||||
|
||||
For any silent or input/output error found the corresponding blocks
|
||||
are marked as bad in the "content" file.
|
||||
|
|
|
|||
18
snapraid.txt
18
snapraid.txt
|
|
@ -519,7 +519,7 @@ Scrubs the array, checking for silent or input/output errors in data
|
|||
and parity disks.
|
||||
|
||||
For each command invocation, the 12% of the array is checked, but
|
||||
nothing that it's more recent than 10 days.
|
||||
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.
|
||||
|
||||
|
|
@ -527,9 +527,15 @@ You can use the -p, --percentage option to specify a different amount,
|
|||
and the -o, --older-than option to specify a different age in days.
|
||||
You can have a full scrub with "-p 100 -o 0".
|
||||
|
||||
The just synched blocks are scrubbed first, then are scrubbed the blocks
|
||||
with the oldest scrub time.
|
||||
To get some stats of the scrub times, you can use the "status" command.
|
||||
When the selected amout doesn't allow a full scrub, the blocks
|
||||
priority is:
|
||||
* The blocks already marked as bad, to verify their status.
|
||||
* The new sycnched blocks never scrubbed, to verify if their
|
||||
parity data was written correctly.
|
||||
* All the reimainig blocks, but starting from the oldest ones
|
||||
ensuring an optimal check.
|
||||
|
||||
To get the details of the scrub status use the "status" command.
|
||||
|
||||
For any silent or input/output error found the corresponding blocks
|
||||
are marked as bad in the "content" file.
|
||||
|
|
@ -538,8 +544,8 @@ After the fix, at the next scrub they will be rechecked, and if found
|
|||
corrected, the bad mark will be removed.
|
||||
To scrub only the bad blocks, you can use the "scrub -p 0" command.
|
||||
|
||||
It's recommended to run "scrub" on a synced array, to avoid to have
|
||||
reported error caused by unsynced data. These errors are recognized
|
||||
It's recommended to run "scrub" only on a synced array, to avoid to
|
||||
have reported error caused by unsynced data. These errors are recognized
|
||||
as not being silent errors, and the blocks are not marked as bad,
|
||||
but such errors are reported in the output of the command.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue