smartd fails to start on boot after I upgraded from Fedora 14 to Fedora 15.
Right now I'm using the default /etc/smartd.conf file (which is not ideal). This uses the default scanning values, which are:
DEVICESCAN -H -m root -M exec /usr/lib/smartd_actions -n standby,10,q
/usr/lib/smartd_actions does not exist, so obviously if there is a problem I won't get notified about it.
A more reasonable set of lines for my system would be:
/dev/sda -H -l selftest -l error -f /dev/sdb -H -l selftest -l error -f
However, even with the sub-optimal configuration, issuing the following command as root starts smartd.
systemctl start smartd.service
The two disks are found as indicated by messages in /var/log/messages.
Jun 7 13:40:20 phoenix smartd[9511]: Monitoring 2 ATA and 0 SCSI devices Jun 7 18:48:59 phoenix smartd[4813]: smartd 5.40 2010-10-16 r3189 [i386- redhat-linux-gnu] (local build)#012Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net#012 Jun 7 18:48:59 phoenix smartd[4813]: Opened configuration file /etc/ smartd.conf Jun 7 18:48:59 phoenix smartd[4813]: Configuration file /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices Jun 7 18:48:59 phoenix smartd[4813]: Device: /dev/sda, type changed from 'scsi' to 'sat' Jun 7 18:48:59 phoenix smartd[4813]: Device: /dev/sda [SAT], opened Jun 7 18:48:59 phoenix smartd[4813]: Device: /dev/sda [SAT], found in smartd database. Jun 7 18:48:59 phoenix smartd[4813]: Device: /dev/sda [SAT], is SMART capable. Adding to "monitor" list. Jun 7 18:48:59 phoenix smartd[4813]: Device: /dev/sdb, type changed from 'scsi' to 'sat' Jun 7 18:48:59 phoenix smartd[4813]: Device: /dev/sdb [SAT], opened Jun 7 18:48:59 phoenix smartd[4813]: Device: /dev/sdb [SAT], found in smartd database. Jun 7 18:48:59 phoenix smartd[4813]: Device: /dev/sdb [SAT], is SMART capable. Adding to "monitor" list. Jun 7 18:48:59 phoenix smartd[4813]: Monitoring 2 ATA and 0 SCSI devices
From what I can tell, /lib/systemd/system/smartd.service looks reasonable.
[Unit] Description=Self Monitoring and Reporting Technology (SMART) Daemon After=syslog.target
[Service] EnvironmentFile=/etc/sysconfig/smartmontools ExecStart=/usr/sbin/smartd -n $smartd_opts
[Install] WantedBy=multi-user.target
Any thoughts would be greatly appreciated.
Thanks in advance . . . .
/mde/