Smartd

From Caos Linux Wiki

Jump to: navigation, search

Installing smartd and smartmontools to hopefully catch a drive berfore it fails completely.

Download from sourceforge

  1. wget http://ovh.dl.sourceforge.net/sourceforge/smartmontools/smartmontools-5.37.tar.gz

Do the useual

tar xvzf cd ./configure make make install

Next is a kludge. The init scripts test for various distros by looking for a file. I created...

  1. touch /etc/redhat-release

I then copied

  1. cp /usr/local/etc/smartd.conf /etc/smartd.conf

The default is to detect and monitor drive. You may want to use your own config to meet your needs

  1. cp /usr/local/etc/rc.d/init.d/smartd /etc/rc.d/init.d/smartd

Add the service

  1. chkconfig --add smartd
  2. chkconfig smartd on
  3. /etc/rc.d/init.d/smartd start

Logging by syslog to /var/log/messages

Thats all..... Steve.

Personal tools