Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Feb 2005 15:45:46 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Dag-Erling Sm?rgrav <des@des.no>
Cc:        freebsd-geom@FreeBSD.org
Subject:   Re: Hardcoding gmirror provider
Message-ID:  <20050223144546.GY9291@darkness.comp.waw.pl>
In-Reply-To: <86u0o3lj82.fsf@xps.des.no>
References:  <16901.26814.588055.457273@satchel.alerce.com> <16902.27236.71619.138367@satchel.alerce.com> <20050206191209.GC1080@darkness.comp.waw.pl> <16902.28195.6589.299894@satchel.alerce.com> <20050211133917.GA45990@engelschall.com> <16923.20768.336451.133236@satchel.alerce.com> <86k6p0mj7x.fsf@xps.des.no> <20050222234728.GV9291@darkness.comp.waw.pl> <86u0o3lj82.fsf@xps.des.no>

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

--Y46NoIcKQuicSz3X
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Feb 23, 2005 at 10:27:09AM +0100, Dag-Erling Sm?rgrav wrote:
+> Pawel Jakub Dawidek <pjd@FreeBSD.org> writes:
+> > On Tue, Feb 22, 2005 at 09:29:38PM +0100, Dag-Erling Sm?rgrav wrote:
+> > > George Hartzell <hartzell@kestrel.alerce.com> writes:
+> > > > I just skimmed through your comment about hardcoding the provider =
name
+> > > > if ad0 and ad0s1 have the same length.
+> > > This wouldn't be a problem if gmirror, gstripe etc. placed metadata =
at
+> > > the start of the provider, like God intended, instead of at the end.
+> > You won't be able to boot from the mirror then.
+>=20
+> That's a special case, and it could have been solved differently (e.g.
+> by teaching the boot loader to recognize gmirror metadata).  It does
+> not justify the similar breakage in gstripe and graid3.

It was done for consistency, so I can centralize metadata handling in the
future.
I also don't think that teaching boot loader about gmirror is reasonable
solution...

The additional thing which can be stored in metadata in provider's size.
This should fix discussed problems (except 'c' partition and 'a' at
sector 0).

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--Y46NoIcKQuicSz3X
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFCHJcaForvXbEpPzQRAuSZAKDv6i1bENVDUlO00gWfKfT/esbzlACgqMmE
d3N95NR1Vj0xJOG9sKL4P7E=
=+lhw
-----END PGP SIGNATURE-----

--Y46NoIcKQuicSz3X--



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