Date: Wed, 26 Jan 2022 10:17:54 +0100 (CET) From: Wojciech Puchar <wojtek@puchar.net> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: Eugene Grosbein <eugen@grosbein.net>, George Mitchell <george+freebsd@m5p.com>, FreeBSD Hackers <freebsd-hackers@FreeBSD.org> Subject: Re: Which disk is which? Message-ID: <ed77ddbe-9f6-1587-747-792f8ad8ae5f@puchar.net> In-Reply-To: <202201260901.20Q913h6079761@critter.freebsd.dk> References: <5d4569a7-3198-761e-9fd0-c53567ecb3ea@m5p.com> <20220126032030.GA80544@rdtc.ru> <202201260901.20Q913h6079761@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 26 Jan 2022, Poul-Henning Kamp wrote: > -------- > 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"). > There are no "correct" ways in unix. There are just different ways
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ed77ddbe-9f6-1587-747-792f8ad8ae5f>