mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-28 19:06:42 -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
22
snapraid.1
22
snapraid.1
|
|
@ -21,6 +21,10 @@ snapraid [\-c, \-\-conf CONFIG]
|
|||
[\-p, \-\-percentage PERC] [\-o, \-\-older\-than DAYS]
|
||||
.PD 0
|
||||
.PP
|
||||
.PD
|
||||
[\-l, \-\-log FILE]
|
||||
.PD 0
|
||||
.PP
|
||||
.PD
|
||||
[\-Z, \-\-force\-zero] [\-E, \-\-force\-empty]
|
||||
.PD 0
|
||||
|
|
@ -34,11 +38,15 @@ snapraid [\-c, \-\-conf CONFIG]
|
|||
.PD 0
|
||||
.PP
|
||||
.PD
|
||||
[\-v, \-\-verbose] [\-l, \-\-log FILE]
|
||||
[\-S, \-\-start BLKSTART] [\-B, \-\-count BLKCOUNT]
|
||||
.PD 0
|
||||
.PP
|
||||
.PD
|
||||
[\-S, \-\-start BLKSTART] [\-B, \-\-count BLKCOUNT]
|
||||
[\-L, \-\-error\-limit NUMBER]
|
||||
.PD 0
|
||||
.PP
|
||||
.PD
|
||||
[\-v, \-\-verbose]
|
||||
.PD 0
|
||||
.PP
|
||||
.PD
|
||||
|
|
@ -871,6 +879,16 @@ to enclose the name in \[dq], like \[dq]>>result.log\[dq].
|
|||
To output the log to standard output or standard error,
|
||||
you can use respectively \[dq]>&1\[dq] and \[dq]>&2\[dq].
|
||||
.TP
|
||||
.B \-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 \[dq]sync\[dq] and \[dq]scrub\[dq], that are allowed
|
||||
to continue after the first bunch of disk errors, to try
|
||||
to complete at most their operations.
|
||||
Instead, \[dq]check\[dq] and \[dq]fix\[dq] always stop at the first error.
|
||||
.TP
|
||||
.B \-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