Timeline for Harddisk serial number from terminal?
Current License: CC BY-SA 4.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 9, 2022 at 23:22 | history | edited | Pablo A | CC BY-SA 4.0 | Minor fix |
| Aug 4, 2022 at 11:21 | history | edited | Matthias Braun | CC BY-SA 4.0 | extend wording, add link to documentation |
| Jul 8, 2022 at 15:35 | comment | added | Jono | Can u do this based on the uuid of a hard drive? | |
| Nov 16, 2021 at 21:07 | comment | added | Brian Thomas | my RHEL7 is insistant to report the WWN only!! NOt sure whats up there... $ udevadm info --query=all --name=/dev/sda | grep ID_SERIAL E: ID_SERIAL=350000c0f01e5dabc E: ID_SERIAL_SHORT=50000c0f01e5dabc I just realized it must be my PCIe3 SCSI card doing that!! Putting the WWN in a serial placeholder or something... | |
| Jun 19, 2017 at 5:25 | comment | added | Johann | @ron Just tested this again. My version of udevadm (systemd 229) reports an ID_WWN field. For the drives in my system, there is also no ID_SCSI_SERIAL nor anything analogous (no ID_ATA_SERIAL): E: ID_SERIAL=TOSHIBA-TR150_23SC51E8J2BI ... E: ID_SERIAL_SHORT=23SC51E8J2BI ... E: ID_WWN=0x5e83a97200463ff3 ... E: ID_WWN_WITH_EXTENSION=0x5e83a97200463ff3 | |
| May 15, 2017 at 17:26 | comment | added | ron | I had recently asked this: unix.stackexchange.com/questions/364456/… | |
| May 15, 2017 at 17:14 | comment | added | ron | only reference is my first hand experience with WD, Seagate, HGST hard drives comparing values at the terminal to what is written on the label. Hard drives are primarily enterprise/data center grade versus consumer desktop. | |
| May 12, 2017 at 18:13 | comment | added | Johann | @ron Interesting! Do you have any references that define wwn? | |
| May 12, 2017 at 18:03 | comment | added | ron | grep ID_SCSI_SERIAL may be what actually gives the serial number of the drive, as opposed to the world wide name (wwn) reported under ID_SERIAL. | |
| Feb 1, 2017 at 13:31 | vote | accept | Raja G | ||
| Mar 30, 2016 at 16:35 | comment | added | niieani | Best solution if your hard disk has died completely. Other methods don't work. | |
| Jun 3, 2015 at 21:41 | review | First posts | |||
| Jun 3, 2015 at 21:55 | |||||
| Jun 3, 2015 at 21:41 | history | answered | Johann | CC BY-SA 3.0 |