SMART monitoring of bubba's HD
Posted: 21 Sep 2007, 10:26
First you must enable the Debian repositories so you can install software other than Excito's own updates, here's how:
http://excito.org/forum/viewtopic.php?t=421
When you've done this and you're still logged in as root:
Use
to learn more.
for instance will show you the available information about your harddrive.
shows you the SMART status of the drive.
Why is all this interesting? Bubba has no RAID support or anything other than your own backup methods for preserving data in case of hardware trouble, so in order to minimize the risks all information concerning the health of your harddrive is welcome!
There's a daemon called 'smartd' which runs in the background, keeping you up to date if anything changes in the SMART status of your drive. This daemon is disabled by default, check out its config file at
to enable the daemon, edit this file and uncomment the next line:
The config file for the daemon itself is here:
You can make Bubba send you an e-mail if the SMART status is 'failed' for example by adding the next line to smartd.conf and changing the mailaddress to your own:
Finally. start the smartd daemon:
Check out http://smartmontools.sourceforge.net
Hey, nothing beats making regular backups, but this is a nice addition...
http://excito.org/forum/viewtopic.php?t=421
When you've done this and you're still logged in as root:
Code: Select all
apt-get install smartmontools
Code: Select all
smartctl --help
Code: Select all
smartctl -i /dev/hda
Code: Select all
smartctl -H /dev/hda
Why is all this interesting? Bubba has no RAID support or anything other than your own backup methods for preserving data in case of hardware trouble, so in order to minimize the risks all information concerning the health of your harddrive is welcome!
There's a daemon called 'smartd' which runs in the background, keeping you up to date if anything changes in the SMART status of your drive. This daemon is disabled by default, check out its config file at
Code: Select all
/etc/default/smartmontools
Code: Select all
#start_smartd=yes
Code: Select all
/etc/smartd.conf
Code: Select all
/dev/hda -H -m admin@example.com
Code: Select all
/etc/init.d/smartmontools start
Hey, nothing beats making regular backups, but this is a nice addition...
