mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-29 03:16:59 -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
|
|
@ -1357,6 +1357,9 @@ Configuration
|
|||
именем устройства. Для контроллеров RAID устройство,
|
||||
вероятно, фиксировано, и вам может не потребоваться использовать `%s`.
|
||||
|
||||
Вы также можете указать пользовательскую строку параметров информации с помощью
|
||||
тега `[info: ...]`, чтобы заменить параметр по умолчанию `-a`.
|
||||
|
||||
Возможные опции см. в документации smartmontools:
|
||||
|
||||
:https://www.smartmontools.org/wiki/Supported_RAID-Controllers
|
||||
|
|
@ -1364,6 +1367,7 @@ Configuration
|
|||
|
||||
Например:
|
||||
|
||||
:smartctl d1 [info: -H -i -c -A] -d sat %s
|
||||
:smartctl parity -d sat %s
|
||||
|
||||
smartignore DISK/PARITY ATTR [ATTR...]
|
||||
|
|
@ -1396,7 +1400,7 @@ Configuration
|
|||
: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
|
||||
|
|
@ -1412,7 +1416,7 @@ Configuration
|
|||
: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