From owner-freebsd-current@FreeBSD.ORG Mon Aug 9 11:33:24 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AAEA16A4CF for ; Mon, 9 Aug 2004 11:33:24 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 956AF43D46 for ; Mon, 9 Aug 2004 11:33:23 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 6AB99ACAFE; Mon, 9 Aug 2004 13:33:22 +0200 (CEST) Date: Mon, 9 Aug 2004 13:33:22 +0200 From: Pawel Jakub Dawidek To: Sam Lawrance Message-ID: <20040809113322.GL628@darkness.comp.waw.pl> References: <1091792300.749.14.camel@dirk.no.domain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PpocKf6TCvdC9BKE" Content-Disposition: inline In-Reply-To: <1091792300.749.14.camel@dirk.no.domain> 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: current@FreeBSD.org Subject: Re: geom stripe/concat metadata suggestion X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2004 11:33:24 -0000 --PpocKf6TCvdC9BKE Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 06, 2004 at 09:38:21PM +1000, Sam Lawrance wrote: +> Would it be a good idea to store the device name, or something similar, +> in the metadata? +>=20 +> For example, if I have a disk divided like this: +>=20 +> |--------------ad0--------------| +> |-------------ad0s1-------------| +> |----ad0s1g-----|-----ad0s1d----| +>=20 +> The metadata is written into the last sector, so when the stripe/concat +> classes are tasting they can't work out whether it belongs to ad0s1d, +> ad0s1 or ad0. +>=20 +> I've had problems creating stripes and concats with this configuration. I added '-h' option for 'label' command in gconcat(8), gstripe(8) and gmirror(8), which hardcode providers' names into metadata. Thank you. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --PpocKf6TCvdC9BKE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBF2ECForvXbEpPzQRAoHyAKCrZgj2zptO01e45udLiaAeHC7nowCg0cxB UbUspTNDPx1UTbAeVye/mgM= =Cr95 -----END PGP SIGNATURE----- --PpocKf6TCvdC9BKE--