mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Keeps track of IO errors in scrub like we do for silent errors.
This commit is contained in:
parent
f200a1f6b8
commit
bc4d2dc3f6
7 changed files with 72 additions and 31 deletions
14
snapraid.d
14
snapraid.d
|
|
@ -179,20 +179,20 @@ Getting Started
|
|||
|
||||
This command verifies only the oldest data in your array.
|
||||
Every run of the command checks about 12% of the array,
|
||||
but nothing newer than 10 days.
|
||||
but not newer than 10 days.
|
||||
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.
|
||||
For example, to check 5% of the array older than 20 days use:
|
||||
|
||||
:snapraid -p 5 -o 20 scrub
|
||||
|
||||
If silent errors are found, the corresponding blocks are marked as bad
|
||||
in the "content" file, and listed in the "status" command.
|
||||
If a silent or input error is found, the corresponding block is marked
|
||||
as bad in the "content" file, and listed in the "status" command.
|
||||
|
||||
:snapraid status
|
||||
|
||||
To fix them, you can use the "fix" command filtering for files
|
||||
containing bad blocks:
|
||||
To fix them, you can use the "fix" command filtering for files containing
|
||||
bad blocks:
|
||||
|
||||
:snapraid -e fix
|
||||
|
||||
|
|
@ -202,6 +202,10 @@ Getting Started
|
|||
|
||||
:snapraid -p 0 scrub
|
||||
|
||||
Take care that running scrub on a not synced array may result in
|
||||
errors caused by removed or modified files. These errors are reported
|
||||
in the "scrub" result, but related blocks are not marked as bad.
|
||||
|
||||
Pooling
|
||||
To have all the files in your array shown in the same directory tree,
|
||||
you can enable "pooling", that consists in creating a virtual view of all
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue