Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Oct 2011 14:29:58 +0300
From:      Daniel Kalchev <daniel@digsys.bg>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        freebsd-current@freebsd.org, freebsd-geom@freebsd.org
Subject:   Re: RFC: Project geom-events
Message-ID:  <4E8D9136.6040200@digsys.bg>
In-Reply-To: <j6k252$hpm$1@dough.gmane.org>
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>

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


On 06.10.11 14:07, Ivan Voras wrote:
>
> Um, you do realize this is a "physical" problem with metadata location
> and cannot be solved in any meaningful way? Geom_label stores its label
> in the last sector of the device, and GPT stores the "secondary" /
> backup table also at the end of the device. The two can NEVER work
> together. The same goes for any other GEOM class which stores metadata
> and GPT.

The proper way for this is to have these things store their metadata in 
the first/last sector of the provider, not the underlying device.

This means that, if you have GPT within GLABEL, for example -- you will 
only see the GPT label if you first see the GLABEL.

I guess the present situation was created out of laziness ;)



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