Bug 174095 - "-d ata" is missing in smartd.conf for SATA HDDs
"-d ata" is missing in smartd.conf for SATA HDDs
Product: Fedora
Classification: Fedora
Component: smartmontools (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tomas Mraz
Depends On:
Blocks: FC5Target
  Show dependency treegraph
Reported: 2005-11-24 09:29 EST by Bernd Bartmann
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: smartmontools-5.33-3
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-11-25 10:20:25 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Bernd Bartmann 2005-11-24 09:29:13 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7

Description of problem:
FC5T1 now finally contains a kernel that supports S.M.A.R.T. command passthru for SATA HDDs via libata. To use this feature the option "-d ata" has to be added to each line in /etc/smartd.conf that lists an SATA HDD otherwise smartd won't start.

I've verified the correct behaviour of S.M.A.R.T. command passthru using "smartctl -d ata -a /dev/sda" on my system.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. try to use smartctl / smartd on a SATA HDD

Additional info:
Comment 1 Tomas Mraz 2005-11-24 09:47:37 EST
Great, do you know of any easy and reliable way how to detect libata devices
among the regular SCSI ones?
Comment 2 Bernd Bartmann 2005-11-24 09:52:10 EST
Hmm, good question. In /proc/scsi/scsi you'll always see "Vendor: ATA". Maybe
this helps. I don't know if libata perhaps has more extended interface to /proc
were one could get this information. 
Comment 3 Tomas Mraz 2005-11-24 11:25:47 EST
Also do you know which oldest kernel version is required for this to work?
Comment 4 Bernd Bartmann 2005-11-24 11:34:43 EST
The functionality seems to be introduced with kernel patch-2.6.15-rc1 which is
included in the FC5T1 kernel. I don't know in which rawhide kernel version this
first appeared, but it definitely does not work with the latest FC4 errata
Comment 5 Tomas Mraz 2005-11-24 12:34:57 EST
I suppose it could be detected with 'cat /sys/module/libata/version' >= 1.20

However -rc1 patch has probably still 1.12 - the same as 2.6.14.

But it shouldn't be a problem as soon as -rc2 is in rawhide.

Note You need to log in before you can comment on or make changes to this bug.