smartd for SATA
My sata disks seem to be in trouble. Smartd can detect this, however seems that I need to upgrade the kernel first.
My /etc/smartd.conf is like this:
/dev/sda -a -d ata -m someone@some.com
/dev/sdb -a -d ata -m someone@some.com
When I ran smartd, I got this error in /var/log/messages:
smartd version 5.33 [i686-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
Opened configuration file /etc/smartd.conf
Configuration file /etc/smartd.conf parsed.
Device: /dev/sda, opened
Device: /dev/sda, not ATA, no IDENTIFY DEVICE Structure
Unable to register ATA device /dev/sda at line 1 of file /etc/smartd.conf
Unable to register device /dev/sda (no Directive -d removable). Exiting.
smartd startup failed
My current kernel is 2.6.9-22.ELsmp, looks like I need to upgrade it to 2.6.9-35.ELsmp