Automatic SMART self-tests

wakebin

New Member
Jan 23, 2024
2
0
1
Hello,

I noticed that when I run smartctl -a /dev/sda on a default install I do not see any SMART tests:

Code:
SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

This install has been running for a few months now. Does that mean by default Proxmox / Debian / smartmontools does not perform any SMART tests automatically? It would seem so since I am still using the default /etc/smartd.conf with no schedule configured.

Or are tests run somehow differently so that they don't appear in this list?

If I run smartctl -t short /dev/sda manually it shows up.

TL;DR do I have to setup a cronjob manually with smartctl -t short /dev/sda? Or modify /etc/smartd.conf with a schedule?

Thanks.
 
Thank you. I have manually added a test to smartd.conf. I have commented out the `DEVICESCAN` line and added:

/dev/disk/by-id/wwn-XXX -a -d auto -s (S/../../1/04|L/../01/./01) -m root