Re: sata disk model/firmware length smaller

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

 



Hi,

Am 06.01.2011 08:38, schrieb kernel.majianpeng:
> 
> At present,I using WD SATA disk:
> [root@kedacom device]# smartctl -i /dev/sdo
> smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
> Home page is http://smartmontools.sourceforge.net/
> === START OF INFORMATION SECTION ===
> Device Model:     WDC WD2003FYYS-02W0B0
> Serial Number:    WD-WMAY00749168
> Firmware Version: 01.01D01
> User Capacity:    2,000,398,934,016 bytes
> Device is:        Not in smartctl database [for details use: -P showall]
> ATA Version is:   8
> ATA Standard is:  Exact ATA specification draft version not indicated
> Local Time is:    Thu Jan  6 15:12:37 2011 UTC
> SMART support is: Available - device has SMART capability.
> SMART support is: Enabled
> [root@kedacom device]# cat /sys/block/sdo/device/rev 
> 01.0
> [root@kedacom device]# cat /sys/block/sdo/device/model 
> WDC WD2003FYYS-0
> I read ATA spec7, The INQUERY DEVICE command return valued:
> Firmware revision 8byte
> Model Number 40byte
> 
> This may be a bug?
> 2011-01-06 

Why should it?  Smartctl uses the ATA-Passthrough commands - the
reporting there is correct.  Your system on the other hand uses SCSI,
that's what libata is for.  You may want to also read the scsi-specs,
then you'll notice that "INQUIRE_DEVICE" scsi command allows less
characters for revision and model.

So maybe you'll want to write a feature request to the libata devs to
update the VPD via ATA commands after a disk has been detected to be ATA.

Cheers,
St0fF
> 
> 
> 
> kernel.majianpeng 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux