Re: Failed Hard Disk... help!

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

 





David M. Strang wrote:

/Patrick wrote:

pretty sure "smartctl -d ata -a /dev/sdwhatever" will tell you the
serial number. (Hopefully the kernel is new enough that it supports
SATA/smart, otherwise you need a kernel patch which won't be any better...)


Yep... 2.6.15 or better... I need the magical patch =\.

Any other options?


If you have an up dated copy of hdparm, you can use it against libata "SCSI" drives to get the serial number:

   # hdparm -V
   hdparm v5.7

   # hdparm -I /dev/sda


   /dev/sda:

   ATA device, with non-removable media
           Model Number:       Maxtor 7L320S0
           Serial Number:      L616D6YH
           Firmware Revision:  BACE1G70
   (and so on....)




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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux