SMART for SATA devices ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



 > Message: 2
 > Date: Tue, 14 Mar 2006 13:03:41 +0100
 > From: Peter Kjellstr?m <cap@xxxxxxxxxx>
 > Subject: Re:  SMART for SATA devices ?
 > To: CentOS mailing list <centos@xxxxxxxxxx>
 > Message-ID: <200603141303.49000.cap@xxxxxxxxxx>
 > Content-Type: text/plain; charset="iso-8859-1"
 >
 > On Tuesday 14 March 2006 12:46, Bards1888 wrote:
 >> Peter Kjellstr?m wrote:
 >>> On Tuesday 14 March 2006 12:12, Bards1888 wrote:
 >>>> I noticed that the changelog for the new kernel 2.6.9-34 on the redhat
 >>>> enterprise watchlist states on of the fixes as;
 >>>>
 >>>> 145061 - SMART support in SATA driver (P1)
 >>>>
 >>>>
 >>>> Does this mean that with that kernel we should be able to interrogate
 >>>> SATA drives now ?
 >>> It seems we will need a new smartmontools (I don't know if that's 
included
 >>> in 4.3) even if 2.6.9-34 now supports it:
 >>> ...
 >>>
 >>> /Peter
 >>>
 >>>> Cheers,
 >>>>
 >>>> Bards.
 >> ...
 >> Same here.
 >>
 >> I notice that 'smartd' itself is packaged with kernel-utils and not
 >> smartmontools as I'd have expected.  Does that suggest that we won't be
 >> able to use smart for sata until kernel-utils is also updated ?
 >
 > That would probably be the correct conclusion, but if redhat does 
intend to
 > support smart for libata then a new kernel-utils package will be part 
of 4.3.
 >

[sorry to jump into this late - I'm on the digest and am behind
in my reading.  I did not see an answer in later digests yet ]

FYI, you can use the '-d ata' option to smartctl to talk to your
SATA devices with the -34 kernel.  I've been doing this with a 2.6.15.4
kernel, but back-reved to 2.6.9-34 to test this and was successful.
So if you edit your /etc/smartd.conf, you can have a line like:

/dev/sda -d ata -H -m root@xxxxxxxxxxxxxxxxxxxxx

and you interactively do:

  smartctl -d ata -a /dev/sda

Regards,
Ken Key

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux