mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-29 03:16:59 -05:00
Add a new -s, --spin-down-on-error option
Also handle correctly chars outside the Windows codepage as arguments.
This commit is contained in:
parent
30474cfb80
commit
bb2b84d21a
6 changed files with 316 additions and 6 deletions
17
snapraid.1
17
snapraid.1
|
|
@ -26,7 +26,7 @@ snapraid [\-c, \-\-conf CONFIG]
|
|||
.PD 0
|
||||
.PP
|
||||
.PD
|
||||
[\-w, \-\-bw\-limit RATE]
|
||||
[\-s, \-\-spin\-down\-on\-error] [\-w, \-\-bw\-limit RATE]
|
||||
.PD 0
|
||||
.PP
|
||||
.PD
|
||||
|
|
@ -740,7 +740,12 @@ Spins down all the disks of the array.
|
|||
This command uses the \[dq]smartctl\[dq] tool, and it\'s equivalent to run
|
||||
\[dq]smartctl \-s standby,now\[dq] on all the devices.
|
||||
.PP
|
||||
You can spin\-down only some specific disks using the \-d, \-\-filter\-disk option.
|
||||
You can spin\-down only some specific disks using the \-d, \-\-filter\-disk
|
||||
option.
|
||||
.PP
|
||||
To automatically spin down on error, you can use the option
|
||||
\-s, \-\-spin\-down\-on\-error with any other command, which is equivalent
|
||||
to running \[dq]down\[dq] manually when an error occurs.
|
||||
.PP
|
||||
Nothing is modified.
|
||||
.SS diff
|
||||
|
|
@ -1079,6 +1084,14 @@ The files are read also in sub\-directories and they are
|
|||
identified regardless of their name.
|
||||
This option can be used only with \[dq]check\[dq] and \[dq]fix\[dq].
|
||||
.TP
|
||||
.B \-s, \-\-spin\-down\-on\-error
|
||||
On any error, spin down all managed disks before exiting with
|
||||
a non\-zero status code. This prevents the drives from
|
||||
remaining active and spinning after an aborted operation,
|
||||
helping to avoid unnecessary heat build\-up and power
|
||||
consumption. Use this option to ensure disks are safely
|
||||
stopped even when a command fails.
|
||||
.TP
|
||||
.B \-w, \-\-bw\-limit RATE
|
||||
Applies a global bandwidth limit for all disks. The RATE is
|
||||
the number of bytes per second. You can specify a multiplier
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue