mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-01 20:36:38 -05:00
Add support for custom smartctl info options using a [info: ...] tag
This commit is contained in:
parent
7c9473027c
commit
b9d181d9cb
56 changed files with 631 additions and 221 deletions
|
|
@ -1455,6 +1455,9 @@ In the specified OPTIONS, the `%s` string is replaced by the
|
|||
device name. For RAID controllers, the device is
|
||||
likely fixed, and you may not need to use `%s`.
|
||||
|
||||
You can also specify a custom info options string using the
|
||||
`[info: ...]` tag to override the default `-a` option.
|
||||
|
||||
Refer to the smartmontools documentation for possible options:
|
||||
|
||||
https://www.smartmontools.org/wiki/Supported_RAID-Controllers
|
||||
|
|
@ -1462,6 +1465,7 @@ Refer to the smartmontools documentation for possible options:
|
|||
|
||||
For example:
|
||||
|
||||
smartctl d1 [info: -H -i -c -A] -d sat %s
|
||||
smartctl parity -d sat %s
|
||||
|
||||
7.18 smartignore DISK/PARITY ATTR [ATTR...]
|
||||
|
|
@ -1498,7 +1502,7 @@ An example of a typical configuration for Unix is:
|
|||
data d3 /mnt/disk3/
|
||||
exclude /lost+found/
|
||||
exclude /tmp/
|
||||
smartctl d1 -d sat %s
|
||||
smartctl d1 [info: -H -i -c -A] -d sat %s
|
||||
smartctl d2 -d usbjmicron %s
|
||||
smartctl parity -d areca,1/1 /dev/sg0
|
||||
smartctl 2-parity -d areca,2/1 /dev/sg0
|
||||
|
|
@ -1514,7 +1518,7 @@ An example of a typical configuration for Windows is:
|
|||
exclude Thumbs.db
|
||||
exclude \$RECYCLE.BIN
|
||||
exclude \System Volume Information
|
||||
smartctl d1 -d sat %s
|
||||
smartctl d1 [info: -H -i -c -A] -d sat %s
|
||||
smartctl d2 -d usbjmicron %s
|
||||
smartctl parity -d areca,1/1 /dev/arcmsr0
|
||||
smartctl 2-parity -d areca,2/1 /dev/arcmsr0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue