mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 05:40:14 -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
|
|
@ -1538,6 +1538,10 @@ Nelle OPTIONS specificate, la stringa `%s` viene sostituita dal
|
|||
nome del dispositivo. Per i controller RAID, il dispositivo è
|
||||
probabilmente fisso e potrebbe non essere necessario utilizzare `%s`.
|
||||
|
||||
È inoltre possibile specificare una stringa di opzioni di informazioni
|
||||
personalizzate tramite il tag `[info: ...]` per sostituire l'opzione
|
||||
`-a` predefinita.
|
||||
|
||||
Fare riferimento alla documentazione di smartmontools per le possibili
|
||||
opzioni:
|
||||
|
||||
|
|
@ -1546,6 +1550,7 @@ opzioni:
|
|||
|
||||
Ad esempio:
|
||||
|
||||
smartctl d1 [info: -H -i -c -A] -d sat %s
|
||||
smartctl parity -d sat %s
|
||||
|
||||
7.18 smartignore DISK/PARITY ATTR [ATTR...]
|
||||
|
|
@ -1583,7 +1588,7 @@ Un esempio di configurazione tipica per Unix è:
|
|||
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
|
||||
|
|
@ -1599,7 +1604,7 @@ Un esempio di configurazione tipica per Windows è:
|
|||
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