On Saturday 29 October 2005 12:58 am, Ian Marlier wrote:
From: "B. Stia"
(Snip a bunch)
Question, what calls the smartd.conf file, Cron ?? Maybe that is what is not happening. (Don't ever see anything in /var/log/messages.
I also have two hard drives. Can I make that command call to check the two drives consecutively?
Yes -- just copy the command line with "/dev/hda" replaced by "/dev/hdb"
And as for the other thing: do `chkconfig smartd on` and then `/etc/init.d/smartd start`. The first will tell smartd to start at boot from now on, the second will tell it to start up right now. You'll get notified, ongoing, if anything goes wrong.
Thanks Ian, Sorry for the untimely response. Been pretty busy. This is what I get to the command: EasyStreet:/ # chkconfig smartd on smartd: unknown service The second command works OK. So it seems that smartd is not working unless I invoke it manually. Here is the pertinent part of my partly configured smartd.conf file: ------------------------------------------------------------------- # do a short self-test every day at 2am, and a long self test # Saturdays at 3am. #/dev/hda -a -o on -S on -s (S/../.././02|L/../../6/03) /dev/hdb -a -m root -o on -S on -s (S/../.././01|L/../../6/02) -M test /dev/hda -a -H -m root@easystreet.easystreet -o on -S on -s (S/../.././02|L/../../6/03) # Monitor SMART status, ATA Error Log, Self-test log, and track # changes in all attributes except for attribute 194 #/dev/hdb -H -l error -l selftest -t -I 194 # A very silent check. Only report SMART health status if it fails # But send an email in this case #/dev/hdc -H -m admin@example.com ------------------------------------------------------------------- Bob S.