mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-22 16:06:30 -05:00
Adds the new -L, --error-limit options.
And also sets the default limit to 100.
This commit is contained in:
parent
0b59dc92a6
commit
0c4c1f78a4
6 changed files with 101 additions and 8 deletions
14
snapraid.d
14
snapraid.d
|
|
@ -7,11 +7,13 @@ Synopsis
|
|||
: [-m, --filter-missing] [-e, --filter-error]
|
||||
: [-a, --audit-only] [-h, --pre-hash] [-i, --import DIR]
|
||||
: [-p, --percentage PERC] [-o, --older-than DAYS]
|
||||
: [-l, --log FILE]
|
||||
: [-Z, --force-zero] [-E, --force-empty]
|
||||
: [-U, --force-uuid] [-D, --force-device]
|
||||
: [-N, --force-nocopy] [-F, --force-full]
|
||||
: [-v, --verbose] [-l, --log FILE]
|
||||
: [-S, --start BLKSTART] [-B, --count BLKCOUNT]
|
||||
: [-L, --error-limit NUMBER]
|
||||
: [-v, --verbose]
|
||||
: status|sync|scrub|fix|check|list|diff|dup|pool|rehash
|
||||
|
||||
:snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT]
|
||||
|
|
@ -634,6 +636,16 @@ Options
|
|||
To output the log to standard output or standard error,
|
||||
you can use respectively ">&1" and ">&2".
|
||||
|
||||
-L, --error-limit
|
||||
Sets a new error limit before stopping execution.
|
||||
By default SnapRAID stops if it encouters more than 100
|
||||
Input/Output errors, meaning that likely a disk is going to
|
||||
die.
|
||||
This options affects "sync" and "scrub", that are allowed
|
||||
to continue after the first bunch of disk errors, to try
|
||||
to complete at most their operations.
|
||||
Instead, "check" and "fix" always stop at the first error.
|
||||
|
||||
-S, --start BLKSTART
|
||||
Starts the processing from the specified
|
||||
block number. It could be useful to retry to check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue