Anyway to change pool to use the gpt label instead of gptid?
Pawel Jakub Dawidek
pjd at FreeBSD.org
Mon Oct 24 05:39:59 UTC 2011
On Sun, Oct 23, 2011 at 06:46:16PM -0700, Jeremy Chadwick wrote:
> On Sun, Oct 23, 2011 at 08:24:54PM -0500, Larry Rosenman wrote:
> > On Sun, 23 Oct 2011, Jeremy Chadwick wrote:
> >
> > >
> > >
> > >Aren't GPT labels stored in the /dev/gpt directory structure?
> > Nope, they're eaten:
> >
> > $ ls /dev/gpt
> > swap0
> > swap1
> > swap2
> > swap3
> > swap4
> > swap5
> > $
>
> This looks like a bug or design oddity in GEOM. Based on your setup you
> should have swap[0-5] and disk[0-5] in /dev/gpt, not just swap[0-5].
Not in GEOM, but in GPT labels implementation. It should be part of
PART class, not LABEL class. Because of this, when one opens
corresponding ada<X>p<Y> for writing, both gpt/<label> and gptid/<uuid>
disappear. When one opens gpt/<label> or gptid/<uuid> for writing, the
other one disappears. Another issue is that when you change your label,
add it or remove it, it is not automatically visable in gpt/, one needs
to retaste the entire disk.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://yomoli.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20111024/2a3680db/attachment.pgp
More information about the freebsd-fs
mailing list