Red Hat Bugzilla – Bug 221564
smartctl is unable to detect IDE type on SATA
Last modified: 2007-11-30 17:07:39 EST
I have MV88SX5081 8-port SATA I PCI-X controller with 7 SATA discs (WDC
WD4000KD-00N) connected using sata_mv module.
# smartctl -a /dev/sda
smartctl version 5.36 [i686-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
Device: ATA WDC WD4000KD-00N Version: 01.0
Serial number: WD-WMAMY1131214
Device type: disk
Local Time is: Fri Jan 5 08:21:15 2007 CET
Device does not support SMART
Error Counter logging not supported
[GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on']
Device does not support Self Test logging
The suggested option '-S on' does not work. When trying to start smatrd, there
is a suggestion in /var/log/messages to use '-s on' which does not work too:
Jan 5 08:07:50 bacula smartd: Device: /dev/sda, IE (SMART) not enabled,
skip device Try 'smartctl -s on /dev/sdf' to turn on SMART features
# cat /etc/smartd.conf
DEVICESCAN -a -m root -M daily -s
This seems that ATA over SATA detection does not work in smartmontools-5.36-3.
Even I'm able to run tests and see finished selftest in the disc's logs by using
'-d ata' (see below), I'm unable to force smartd to monitor SATA drives:
# smartctl -d ata -t short /dev/sda
I added '-d ata' to the DEVICESCAN line to the /etc/smartd.conf (the only line
in the config file, see above) but smartd reported zero monitored devices in
/var/log/messages. There is something completly broken :-(
Is there newer package somewhere? I see rhel5-rc1 in the Bugzilla but nowhere in
The autodetection of SATA disks is not implemented yet as well as -d ata on
DEVICESCAN lines. This would require non-trivial changes in smartmontools code
and as such it must be fixed upstream first.
I see "backported SATA disk detection from upstream" in
smartmontools-5.36-3.2.fc6.src.rpm since Nov 7 2006. So I don't underestand
where the problem is.
The backported SATA detection is just for detecting that the drive is SATA with
current kernels and printing the error message that -d ata must be used. It
should work with 5.36-3.1.el5 on RHEL5.
But unfortunately this doesn't mean that the DEVICESCAN or full autodetection
and automatic switching to the -d ata driver is implemented.