From owner-freebsd-geom@FreeBSD.ORG Tue Sep 11 11:26:12 2007 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3871916A41A; Tue, 11 Sep 2007 11:26:12 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id DFD7713C442; Tue, 11 Sep 2007 11:26:11 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 1578B45E8F; Tue, 11 Sep 2007 13:26:10 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id C7F5A456AB; Tue, 11 Sep 2007 13:26:02 +0200 (CEST) Date: Tue, 11 Sep 2007 13:24:44 +0200 From: Pawel Jakub Dawidek To: Ivan Voras Message-ID: <20070911112444.GB1110@garage.freebsd.pl> References: <20070910084143.GA18587@garage.freebsd.pl> <1131.147.177.179.52.1189445556.squirrel@angst.csh.rit.edu> <20070910175539.GB1103@garage.freebsd.pl> <20070911095856.GA1110@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="K8nIJk4ghYZn606h" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: geom label detaching partway through boot X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2007 11:26:12 -0000 --K8nIJk4ghYZn606h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 11, 2007 at 12:52:03PM +0200, Ivan Voras wrote: > Pawel Jakub Dawidek wrote: > >On Tue, Sep 11, 2007 at 10:22:12AM +0200, Ivan Voras wrote: > >>Pawel Jakub Dawidek wrote: > >> > >>>Ah, version is not important actually. The problem is that both > >>>/dev/da0s1a and /dev/label/geom0s1a have the same size and the same > >>>metadata.=20 > >>Doesn't glabel store it's metadata on the provider (da0) if used with= =20 > >>the "label" verb? If so, why isn't the produced geom (geom0) shorter by= =20 > >>one sector? If not, where does it store the metadata? :) > > > >geom0 is one sector shorter than da0, but bsdlabel stuff, which defines > >partitions is the same for both, so geom0s1a and da0s1a have the same > >size. >=20 > You're right, if the bsdlabel was created on da0 instead of geom0. It's= =20 > not clear if the OP did that (question for the OP: did you?). It doesn't really matter if 'a' partition doesn't cover entire slice. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --K8nIJk4ghYZn606h Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFG5nr8ForvXbEpPzQRApEOAJ9PVOLYODXb9eW+cEfkk/eDpOUZ4QCgm2NK HEvBABc9J8VHHHfYrKEgM88= =JV/D -----END PGP SIGNATURE----- --K8nIJk4ghYZn606h--