Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2011 08:25:53 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        marcel@FreeBSD.org, rsimmons0@gmail.com, freebsd-geom@FreeBSD.org
Subject:   Re: bin/157721: gpart(8) unable to create GPT partitions inside of providers created by geli
Message-ID:  <B1A0749E-0F44-4556-A8EA-15FDF7BF9B54@xcllnt.net>
In-Reply-To: <20110610054413.GD2433@garage.freebsd.pl>
References:  <201106100405.p5A45n4e050124@freefall.freebsd.org> <20110610054413.GD2433@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help

On Jun 9, 2011, at 10:44 PM, Pawel Jakub Dawidek wrote:

> On Fri, Jun 10, 2011 at 04:05:49AM +0000, marcel@FreeBSD.org wrote:
>> Synopsis: gpart(8) unable to create GPT partitions inside of =
providers created by geli
>>=20
>> State-Changed-From-To: open->closed
>> State-Changed-By: marcel
>> State-Changed-When: Fri Jun 10 04:04:50 UTC 2011
>> State-Changed-Why:=20
>> GPT does not nest. You cannot create a GPT table within a partition.
>=20
> Such indirect nesting should work. Doing 'gpart init -s GPT ada0p1' =
may
> not work, but ada0p1.eli is not GPART provider. Maybe it such cases it
> should be allowed?

I don't think you want to allow gpart<-geom<-part when you
don't allow gpart<-gpart. The addition of a random geom,
in between gpart does not change the fact that you're nesting.
You allow nesting, or you dont.

> BTW. Why GPT does not nest?

It's outside the spec. and unless we have a UUID for the
partition used for nesting it's invalid. Policy prevents
it.

--=20
Marcel Moolenaar
marcel@xcllnt.net





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B1A0749E-0F44-4556-A8EA-15FDF7BF9B54>