mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 05:40:14 -05:00
Rename the --percentage option to --plan
The old --percentage is still supported, but not documented anymore.
This commit is contained in:
parent
1917814d2d
commit
40265401d3
8 changed files with 56 additions and 55 deletions
|
|
@ -18,7 +18,7 @@ snapraid [\-c, \-\-conf CONFIG]
|
|||
.PD 0
|
||||
.PP
|
||||
.PD
|
||||
[\-p, \-\-percentage PERC|bad|new|full]
|
||||
[\-p, \-\-plan PERC|bad|new|full]
|
||||
.PD 0
|
||||
.PP
|
||||
.PD
|
||||
|
|
@ -309,7 +309,7 @@ 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
|
||||
already scrubbed in the previous 10 days.
|
||||
You can use the \-p, \-\-percentage option to specify a different amount,
|
||||
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.
|
||||
For example, to check 5% of the array older than 20 days use:
|
||||
.PP
|
||||
|
|
@ -779,7 +779,7 @@ 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
|
||||
You can define a different scrub plan or amount using the \-p, \-\-percentage
|
||||
You can define a different scrub plan or amount using the \-p, \-\-plan
|
||||
option that takes as argument:
|
||||
bad \- Scrub blocks marked bad.
|
||||
new \- Scrub just synced blocks not yet scrubbed.
|
||||
|
|
@ -978,7 +978,7 @@ It processes only the blocks marked with silent or input/output
|
|||
errors during \[dq]sync\[dq] and \[dq]scrub\[dq], and listed in \[dq]status\[dq].
|
||||
This option can be used only with \[dq]check\[dq] and \[dq]fix\[dq].
|
||||
.TP
|
||||
.B \-p, \-\-percentage PERC|bad|new|full
|
||||
.B \-p, \-\-plan PERC|bad|new|full
|
||||
Selects the scrub plan. If PERC is a numeric value from 0 to 100,
|
||||
it\'s interpreted as the percentage of blocks to scrub.
|
||||
Instead of a percentage, you can also specify a plan:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue