Opened 10 years ago
Closed 10 years ago
#333 closed enhancement (worksforme)
smartctl -i should give WWN for SATA
Reported by: | demaine | Owned by: | somebody |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | all | Version: | 6.2 |
Keywords: | Cc: |
Description
smartctl -i does not give WWN for SATA disks; still, this value seem to exists, since udev can create it:
START OF INFORMATION SECTION
Model Family: Western Digital Caviar Green family
Device Model: WDC WD10EADS-00L5B1
Serial Number: WD-WCAU45613240
Firmware Version: 01.01A01
User Capacity: 1,000,204,886,016 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 8
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Wed May 28 15:10:00 2014 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
# ls -l /dev/disk/by-id/ | grep sda | grep -v part
lrwxrwxrwx 1 root root 9 2014-05-28 15:04 ata-WDC_WD10EADS-00L5B1_WD-WCAU45613240 -> ../../sda
lrwxrwxrwx 1 root root 9 2014-05-28 15:04 scsi-SATA_WDC_WD10EADS-00_WD-WCAU45613240 -> ../../sda
lrwxrwxrwx 1 root root 9 2014-05-28 15:04 wwn-0x50014ee257ac47cd -> ../../sda
Some details can be found here:
http://stackoverflow.com/questions/21977311/obtaining-wwn-of-sata-disks
Smartctl prints WWN since release 5.41. See ticket #332 for an example.