I'm trying to let my backup server have its disks in standby as often as possible. Outside of smartd or actual backup usage, the disks currently spin up once per day (various cron tasks).
smartd, by default, writes attribute logs and state files. This wakes up the disks.
It seems attribute logs are written even when smartd is configured to skip disks in standby (-n standby,48,q
in smartd.conf). The man page notes this can be disabled by passing -A ''
to smartd. State saving can be disabled by passing -s ''
to smartd. (These are parameters to the smartd executable, not in smartd.conf.)
The man page does not note what functionality relies on these saved states or attribute logs. It does mention it uses state files to note, among other things, the last email it sent.
What functionality will I lose by disabling these writes? Will smartd send an email each time it checks attributes because it does not know it already sent one? Or is the state information also cached in memory and will it only resend warning emails when restarting smartd?
Current smartd.conf:
/dev/disk/by-id/scsi-SATA_WDC_WD40EFRX-68_XYZ -n standby,24,q -o on -S on -m root -a -l xerror -I 194 -I 3 -W 0,55,60