Re: sata and changing devices

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

 



Denis Leroy wrote:
Gerry Reno wrote:
The serial number might be ok until you replace the disk. Just have to remember to rerun the tools for the replacement and to note the replacement lineage. In scripts I think I could parse smartctl output for serial numbers or is there something better under /proc I can parse?

sg_inq /dev/sda

Thanks.  Here is the output I get from sg_inq:

# sg_inq /dev/sda
standard INQUIRY:
 PQual=0  Device_type=0  RMB=0  version=0x05  [SPC-3]
 [AERC=0]  [TrmTsk=0]  NormACA=0  HiSUP=0  Resp_data_format=2
 SCCS=0  ACC=0  TPGS=0  3PC=0  Protect=0  BQue=0
 EncServ=0  MultiP=0  [MChngr=0]  [ACKREQQ=0]  Addr16=0
 [RelAdr=0]  WBus16=0  Sync=0  Linked=0  [TranDis=0]  CmdQue=0
 [SPI: Clocking=0x0  QAS=0  IUS=0]
   length=96 (0x60)   Peripheral device type: disk
Vendor identification: ATA Product identification: Hitachi HDP72502
Product revision level: GM2O
Unit serial number:       GEK231RB045L2A

How new is this?  Not sure the Vendor ID looks exactly right though.



--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux