Re: Which disk is which?
- Reply: Poul-Henning Kamp: "Re: Which disk is which?"
- In reply to: George Mitchell : "Which disk is which?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Jan 2022 03:20:30 UTC
On Tue, Jan 25, 2022 at 03:59:45PM -0500, George Mitchell wrote: > "zpool status' tells me which disks are in my pool by diskid. But > smartd log messages refer to hardware unit numbers (adaN). How do I > convert between the two? -- George diskid is disk serial number with "DISK-" prefix and there is diskinfo(8) command in base system that shows it, too: # diskinfo -v /dev/ada1 | grep ident WD-WMAY04452117 # Disk ident. # ls /dev/diskid DISK-WD-WMAY04452117 # smartctl -a /dev/ada1 | grep Serial Serial Number: WD-WMAY0445211