From owner-freebsd-geom@FreeBSD.ORG Mon Sep 10 17:57:04 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 4AEA316A419 for ; Mon, 10 Sep 2007 17:57:04 +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 C1E6613C468 for ; Mon, 10 Sep 2007 17:57:03 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id C997F456AB; Mon, 10 Sep 2007 19:57:01 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 64D2D45685; Mon, 10 Sep 2007 19:56:57 +0200 (CEST) Date: Mon, 10 Sep 2007 19:55:39 +0200 From: Pawel Jakub Dawidek To: Kevin Thompson Message-ID: <20070910175539.GB1103@garage.freebsd.pl> References: <20070910084143.GA18587@garage.freebsd.pl> <1131.147.177.179.52.1189445556.squirrel@angst.csh.rit.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NDin8bjvE/0mNLFQ" Content-Disposition: inline In-Reply-To: <1131.147.177.179.52.1189445556.squirrel@angst.csh.rit.edu> 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=-2.6 required=3.0 tests=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: Mon, 10 Sep 2007 17:57:04 -0000 --NDin8bjvE/0mNLFQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 10, 2007 at 01:32:36PM -0400, Kevin Thompson wrote: > > On Mon, Sep 10, 2007 at 03:52:46AM -0400, Kevin Thompson wrote: > >> As you can see below, it looks like the label, mirror and > >> stripe classes are fighting, ending up with label losing > >> because mirror and stripe are going through the direct da > >> devices instead of the label/geomX devices. They were > >> originally created referencing label/geomX. > > > > Which FreeBSD version is this? > > > > -- > > Pawel Jakub Dawidek http://www.wheel.pl > > pjd@FreeBSD.org http://www.FreeBSD.org > > FreeBSD committer Am I Evil? Yes, I Am! > > >=20 > FreeBSD 6.2-RELEASE i386 32 bit straight from > ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.2/ (as of > yesterday). 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. Because you use glabeled providers with your mirror/stripe, I suggest using -h option for 'gstripe/gmirror label'. This will store component's name in metadata, eg. label/geom0s1a and won't try to use da0s1a anymore. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --NDin8bjvE/0mNLFQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFG5YUbForvXbEpPzQRAjRXAKDip41RE7VR1ejxVq/FMe0BGw43sACcCOOk K8MON8L8zgImTHHei+BzmwE= =7Bhf -----END PGP SIGNATURE----- --NDin8bjvE/0mNLFQ--