Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Oct 2011 07:00:02 -0700
From:      perryh@pluto.rain.com
To:        lev@freebsd.org
Cc:        daniel@digsys.bg, freebsd-current@freebsd.org, ivoras@freebsd.org, freebsd-geom@freebsd.org
Subject:   Re: RFC: Project geom-events
Message-ID:  <4e91a8e2.Y3OdfyAUkARsSbU8%perryh@pluto.rain.com>
In-Reply-To: <1993293883.20111008125543@serebryakov.spb.ru>
References:  <1927112464.20111004220507@serebryakov.spb.ru> <4E8B7A27.5070908@quip.cz> <344794801.20111005101957@serebryakov.spb.ru> <4E8C1426.60107@quip.cz> <251861322.20111005125825@serebryakov.spb.ru> <4E8C6E85.90005@quip.cz> <CACdU%2Bf8mA1wLUnHVyrJwaf89ahf2oc_904=8mme7kkBLxLSCCQ@mail.gmail.com> <4E8CD662.90202@quip.cz> <j6k252$hpm$1@dough.gmane.org> <4E8D9136.6040200@digsys.bg> <672948039.20111006175334@serebryakov.spb.ru> <4e8f076e.XGNH7dUgsC/mhr1j%perryh@pluto.rain.com> <1822982078.20111007234412@serebryakov.spb.ru> <4E8F5D82.7050906@digsys.bg> <1993293883.20111008125543@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Lev Serebryakov <lev@freebsd.org> wrote:

> >> GPT _must_ be placed twice -- at first and last sectors
> >> (really, more than one sectors). By standard. Secondary
> >> copy must be at end of disk. Period.
> > Then, "by standard" GPT cannot coexist with GLABEL. Such setup
> > should be disallowed, or at least big nasty message that you
> > have just shoot yourself in the leg should be output. (period)
> Ok, maybe adding check to geom_part, that it is used on rank-1
> provider (whole disk) is not so bad idea. But it then raise
> question how to install FreeBSD on software mirror, what is
> useful.

To install FreeBSD on a gmirrored disk, use MBR (or "dangerously
dedicated" BSD label) instead of GPT.  (This is one reason why
BSD label and MBR should not be considered obsolete.)

If you want to use gmirror and *have* to use GPT, e.g. if you
have a (hypothetical) BIOS which will not boot from MBR, mirror
the individual partitions instead of the whole disk.  Granted
that is more trouble, both to set up initially and to replace
a failed drive.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4e91a8e2.Y3OdfyAUkARsSbU8%perryh>