Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2022 09:01:03 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Eugene Grosbein <eugen@grosbein.net>
Cc:        George Mitchell <george+freebsd@m5p.com>, FreeBSD Hackers <freebsd-hackers@FreeBSD.org>
Subject:   Re: Which disk is which?
Message-ID:  <202201260901.20Q913h6079761@critter.freebsd.dk>
In-Reply-To: <20220126032030.GA80544@rdtc.ru>
References:  <5d4569a7-3198-761e-9fd0-c53567ecb3ea@m5p.com> <20220126032030.GA80544@rdtc.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
--------
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 "glabe=
l 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=
.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201260901.20Q913h6079761>