Date: Sun, 9 Oct 2011 11:31:51 +0400 From: Lev Serebryakov <lev@FreeBSD.org> To: perryh@pluto.rain.com, "Andrey V. Elsukov" <bu7cher@yandex.ru>, <daniel@digsys.bg>, <ivoras@freebsd.org>, <freebsd-current@freebsd.org>, <freebsd-geom@freebsd.org> Subject: Re: MBR, GPT and their co-existence with other GEOM classes Message-ID: <384454873.20111009113151@serebryakov.spb.ru> In-Reply-To: <69804562.20111009113010@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> <4e91a8e2.Y3OdfyAUkARsSbU8%perryh@pluto.rain.com> <69804562.20111009113010@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Lev. You wrote 9 =EE=EA=F2=FF=E1=F0=FF 2011 =E3., 11:30:10: >> 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.) > MBR doesn't check size of provider on taste. It should be fixed too. > So, I see three changes which should be done in geom_gpart land: Four, to be precise. > (1) GPT sub-moudle gpart should check rank of provider and issue big > warning if rank isn't 1 (it is not low-level disk) on creation. > (2) Documentation should be changed to explain (1) in more details. > (3) MBR sub-module of gpart should check size of provider and > refuse to "see" MBR if provider is several sectors larger, than > recorded in MBR. It will prevent it to pickup failed component of > gmirror directly. (4) The same check as described in (3) should be done by BSD sub-module of gpart. --=20 // Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?384454873.20111009113151>