Re: SMART support for SATA drives in SAS enclosures

2007-05-30 Thread Pim Zandbergen

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



-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: SMART support for SATA drives in SAS enclosures

2007-05-24 Thread Pim Zandbergen

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

  


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: SMART support for SATA drives in SAS enclosures

2007-05-23 Thread Douglas Gilbert
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

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html