After going through the man pages of smartctl, smartd and smartd.conf, I am no clearer on how S.M.A.R.T. is supposed to work on a scsi device. I have a default configuration file that says:
DEVICESCAN -H -m root -M exec /usr/libexec/smartmontools/smartdnotify -n standby,10,q The above does not work for my case as DEVICESCAN is not able to detect my scsi disk on RAID 1 configuration. I ran the following command and it says that the next internal SMART test will run in 47 minutes time:
# smartctl -d scsi -A /dev/sg1 === START OF READ SMART DATA SECTION === Current Drive Temperature: 34 C Drive Trip Temperature: 68 C .... Vendor (Seagate/Hitachi) factory information number of hours powered up = 11183.48 number of minutes until next internal SMART test = 47 From the man page of smartd, I understand that the default interval between disk checks is 30 minutes. Now, my question is, how does the 47 minutes come about?
Also, from the man page of smartd.conf, there are actually very few options that are valid, namely the -l self-test (even -H is for ATA only). Do I have to explicitly schedule a self-test (short or long) prior to the disk check?
For the above question, my point is, if I just have the following in my config:
DEFAULT -d scsi -l selftest -m root -M exec /usr/libexec/smartmontools/smartdnotify /dev/sg1 /dev/sg2 would it be of any use at all?
Extra Info: I am using Dell PERC H200 RAID controller on two Seagate ST3300657SS disks.
smartd.conf, it seems that the important-fand-Hoptions are for ATA only. The background scan perform by disk does not seem to rely on smartd and smartd (smartctl can) does not seem to be able to read results from it. Furthermore, default self-tests are not logged. It appears to me that if self-tests are not performed, smartd would not be able to detect any failures, since the log which it relies on will not be updated.