Date: Mon, 25 Jul 2011 13:45:39 +0930 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: Stephen Hocking <stephen.hocking@gmail.com> Cc: hackers@freebsd.org Subject: Re: Mapping /dev/gptid numbers to /dev/adXpY Message-ID: <29AAE187-42EB-4478-985B-DF7DB3EDE67F@gsoft.com.au> In-Reply-To: <CA%2BxzKjCOEuLauzSbcb3HAqxVR2D3QuUKWUT=uvoo8xAS9UjMXA@mail.gmail.com> References: <CA%2BxzKjCOEuLauzSbcb3HAqxVR2D3QuUKWUT=uvoo8xAS9UjMXA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 25/07/2011, at 11:03, Stephen Hocking wrote: > Now this is all very interesting, but I would like to be able to map > that back to a /dev/adXpY device entry, so when I offline them I can > then go to the appropriate physical disk. I thought that gpart show -r > might help, but the numbers emitted from that don't match up. Looking > at the major/minor numbers of the devices don't help either. Does > anyone have an idea? If you run 'gpart list' you will see a list of device names and UUIDs. Mapping it by hand is a bit tedious though.. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29AAE187-42EB-4478-985B-DF7DB3EDE67F>