smart
Table of Contents
SMART
Install
apt-get install smartmontools
Test smartctl
smartctl -a -d ata /dev/sda ↔ Debian Etch
smartctl -a /dev/sda
Config Default Smart Service
vi /etc/smartd.conf
#DEVICESCAN -m root -M exec /usr/share/smartmontools/smartd-runner
#comment out the above, and include the following for the two hard disks.
/dev/sda -a -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
http://ubuntuforums.org/showthread.php?t=64567
smart.txt · Last modified: 2022/07/19 20:13 by 127.0.0.1