Re: Which disk is which?
- Reply: Wojciech Puchar : "Re: Which disk is which?"
- In reply to: Eugene Grosbein : "Re: Which disk is which?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Jan 2022 09:01:03 UTC
-------- Eugene Grosbein writes: > 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: Strictly speaking the correct command to use is "glabel status" (or "glabel list"). -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.