From owner-freebsd-geom@FreeBSD.ORG Wed Feb 23 14:45:54 2005 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1C5416A4D4; Wed, 23 Feb 2005 14:45:54 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A6FD43D46; Wed, 23 Feb 2005 14:45:54 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id CB1D4AC956; Wed, 23 Feb 2005 15:45:46 +0100 (CET) Date: Wed, 23 Feb 2005 15:45:46 +0100 From: Pawel Jakub Dawidek To: Dag-Erling Sm?rgrav Message-ID: <20050223144546.GY9291@darkness.comp.waw.pl> 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Y46NoIcKQuicSz3X" Content-Disposition: inline In-Reply-To: <86u0o3lj82.fsf@xps.des.no> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: hartzell@kestrel.alerce.com cc: "Ralf S. Engelschall" cc: freebsd-stable@FreeBSD.org cc: freebsd-geom@FreeBSD.org Subject: Re: Hardcoding gmirror provider X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2005 14:45:54 -0000 --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 writes: +> > On Tue, Feb 22, 2005 at 09:29:38PM +0100, Dag-Erling Sm?rgrav wrote: +> > > George Hartzell 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--