linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SMART support for SATA drives in SAS enclosures
@ 2007-05-14 15:58 Pim Zandbergen
  2007-05-23 19:49 ` Douglas Gilbert
  0 siblings, 1 reply; 4+ messages in thread
From: Pim Zandbergen @ 2007-05-14 15:58 UTC (permalink / raw)
  To: linux-scsi

Is SMART support available for SATA drives in SAS enclosures?

I'm testing this setup

LSI Logic SAS3800X PCI-X SAS controller (mptsas driver)
Promise V-Trak J300S SAS/SATA enclosure/expander
12x Seagate ST3500630NS
Linux kernel 2.6.21.1 x86_64
smartmontools-5.37-1.1.fc6 from Fedora Core 6

"smartctl -i -d sat /dev/sdc" gives me

Smartctl: Device Read Identity Failed

Same with "-d ata".

If I treat the disk as SCSI ("-d scsi"), the command
will not fail, but wil only retrieve the serial number.

Thanks,
Pim


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SMART support for SATA drives in SAS enclosures
  2007-05-14 15:58 SMART support for SATA drives in SAS enclosures Pim Zandbergen
@ 2007-05-23 19:49 ` Douglas Gilbert
  2007-05-24 11:17   ` Pim Zandbergen
  2007-05-30 11:49   ` Pim Zandbergen
  0 siblings, 2 replies; 4+ messages in thread
From: Douglas Gilbert @ 2007-05-23 19:49 UTC (permalink / raw)
  To: Pim Zandbergen; +Cc: linux-scsi

Pim Zandbergen wrote:
> Is SMART support available for SATA drives in SAS enclosures?
> 
> I'm testing this setup
> 
> LSI Logic SAS3800X PCI-X SAS controller (mptsas driver)
> Promise V-Trak J300S SAS/SATA enclosure/expander
> 12x Seagate ST3500630NS
> Linux kernel 2.6.21.1 x86_64
> smartmontools-5.37-1.1.fc6 from Fedora Core 6
> 
> "smartctl -i -d sat /dev/sdc" gives me
> 
> Smartctl: Device Read Identity Failed

I presume /dev/sdc is an actual disk rather than a
RAID device made up of several disks. The SAT standard
(and smartmontools) don't have a general way of
addressing individual disks behind RAID infrastructure.

For recent versions of smartmontools version 5.37 and
MPT Fusion SAS HBAs this should work if /dev/sdc is
a SATA disk. Your HBA may need a firmware upgrade.


You might fetch sg3_utils version 1.24 and try:
  sg_sat_identify /dev/sdc
That needs to work before smartctl has a hope.

> Same with "-d ata".
> 
> If I treat the disk as SCSI ("-d scsi"), the command
> will not fail, but wil only retrieve the serial number.

With MPT Fusion SAS hardware (that I have seen) the SAT
layer is in the HBA firmware. Only later versions of the
firmware support the SCSI ATA PASS-THROUGH command.

Doug Gilbert


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SMART support for SATA drives in SAS enclosures
  2007-05-23 19:49 ` Douglas Gilbert
@ 2007-05-24 11:17   ` Pim Zandbergen
  2007-05-30 11:49   ` Pim Zandbergen
  1 sibling, 0 replies; 4+ messages in thread
From: Pim Zandbergen @ 2007-05-24 11:17 UTC (permalink / raw)
  To: dougg; +Cc: linux-scsi

Doug,

/dev/sdc is indeed a physical SATA disk.
sg_sat_identify says: "ATA PASS-THROUGH (16) not supported"

I'll look into a firmware update.

Thanks,
Pim



Douglas Gilbert wrote:
> Pim Zandbergen wrote:
>   
>> Is SMART support available for SATA drives in SAS enclosures?
>>
>> I'm testing this setup
>>
>> LSI Logic SAS3800X PCI-X SAS controller (mptsas driver)
>> Promise V-Trak J300S SAS/SATA enclosure/expander
>> 12x Seagate ST3500630NS
>> Linux kernel 2.6.21.1 x86_64
>> smartmontools-5.37-1.1.fc6 from Fedora Core 6
>>
>> "smartctl -i -d sat /dev/sdc" gives me
>>
>> Smartctl: Device Read Identity Failed
>>     
>
> I presume /dev/sdc is an actual disk rather than a
> RAID device made up of several disks. The SAT standard
> (and smartmontools) don't have a general way of
> addressing individual disks behind RAID infrastructure.
>
> For recent versions of smartmontools version 5.37 and
> MPT Fusion SAS HBAs this should work if /dev/sdc is
> a SATA disk. Your HBA may need a firmware upgrade.
>
>
> You might fetch sg3_utils version 1.24 and try:
>   sg_sat_identify /dev/sdc
> That needs to work before smartctl has a hope.
>
>   
>> Same with "-d ata".
>>
>> If I treat the disk as SCSI ("-d scsi"), the command
>> will not fail, but wil only retrieve the serial number.
>>     
>
> With MPT Fusion SAS hardware (that I have seen) the SAT
> layer is in the HBA firmware. Only later versions of the
> firmware support the SCSI ATA PASS-THROUGH command.
>
> Doug Gilbert
>
>   


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SMART support for SATA drives in SAS enclosures
  2007-05-23 19:49 ` Douglas Gilbert
  2007-05-24 11:17   ` Pim Zandbergen
@ 2007-05-30 11:49   ` Pim Zandbergen
  1 sibling, 0 replies; 4+ messages in thread
From: Pim Zandbergen @ 2007-05-30 11:49 UTC (permalink / raw)
  To: linux-scsi; +Cc: dougg

Douglas Gilbert wrote:
>
> For recent versions of smartmontools version 5.37 and
> MPT Fusion SAS HBAs this should work if /dev/sdc is
> a SATA disk. Your HBA may need a firmware upgrade.
>
>
> You might fetch sg3_utils version 1.24 and try:
>   sg_sat_identify /dev/sdc
> That needs to work before smartctl has a hope.
>   
Indeed, a firmware update made sg_sat_identify and the smartmontools
work as advertised.

Thanks,
Pim


 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-05-30 11:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-14 15:58 SMART support for SATA drives in SAS enclosures Pim Zandbergen
2007-05-23 19:49 ` Douglas Gilbert
2007-05-24 11:17   ` Pim Zandbergen
2007-05-30 11:49   ` Pim Zandbergen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).