Open joonas-fi opened 5 years ago
Required smartctl version 7.2.
Querying:
# first drive
$ smartctl --all --device jmb39x-q,0 /dev/sda
# second drive
$ smartctl --all --device jmb39x-q,1 /dev/sda
There's a weird mismatch where where the /dev/sda
actually identifies the RAID controller that hosts multiple drives, and not the drive itself, so jmb39x-q,0
can refer to /dev/sda, jmb39x-q,1
can refer to /dev/sdb and so on.
We might have to prepare for accidents (after hotplugs changing drive's hotplug port numbers) by asserting that SMART report's serial number matches with the drive that we're expecting.
That P.O.S. doesn't let SMART data pass through