Table of Contents
apt-get install smartmontools
smartctl -a -d ata /dev/sda ↔ Debian Etch
smartctl -a /dev/sda
Config Default Smart Service
#DEVICESCAN -m root -M exec /usr/share/smartmontools/smartd-runner
#comment out the above, and include the following for the two hard disks.
-d ata -m root -l error -l selftest -t
/dev/sdb -a -d ata -m root -l error -l selftest -t
Even though the hard drive was an sata - I had to use “-d ata” in the above line. It all worked perfect after the above. Munin then ties in with smartd to take regular readings and produce graphs.
vi /etc/default/smartmontools and uncomment: start_smartd=yes
Test SMART for any Errors
smartctl -t short /dev/sdb smartctl -l selftest /dev/sdb
smart.txt · Last modified: 2022/07/19 21:13 by 127.0.0.1