From owner-freebsd-geom@FreeBSD.ORG Wed Feb 7 21:51:07 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B0A3016A400 for ; Wed, 7 Feb 2007 21:51:07 +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 5376613C4A6 for ; Wed, 7 Feb 2007 21:51:06 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id BF80F487FF; Wed, 7 Feb 2007 22:51:04 +0100 (CET) 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 2AFE9487F3; Wed, 7 Feb 2007 22:50:50 +0100 (CET) Date: Wed, 7 Feb 2007 22:49:54 +0100 From: Pawel Jakub Dawidek To: Ivan Voras Message-ID: <20070207214954.GA48483@garage.freebsd.pl> References: <45C98F32.20308@enderzone.com> <99017.1170839681@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline In-Reply-To: X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) 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: New g_part class 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: Wed, 07 Feb 2007 21:51:07 -0000 --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 07, 2007 at 10:16:38PM +0100, Ivan Voras wrote: > Poul-Henning Kamp wrote: >=20 > > You mean writing to sectors which mounted filesystems belive they > > have exclusive use of ? > >=20 > > No, GEOM doesn't support or allow that. >=20 > Ok, the need for sysctl kern.geom.debugflags=3D16 arises because the live > system to be used as master has mounted partitions, and those partitions > span the whole disk, thus conflict with gmirror which wants to use the > last sector. Since using the last sector for metadata is The Official > Way, how about making such conflicts easy to avoid, like for example > building additional logic in g_part to create partitions one sector > smaller than the container? I wouldn't call it an official way... I can easly imagine a GEOM class that needs much more room than one sector for its metadata. Creating gmirror with kern.geom.debugflags=3D16 on a running partitions is done by the users on their own risk. I don't advice this method by myself - even if very rarely can be unsafe, it is just not elegant:) --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFykmCForvXbEpPzQRAg7YAKDiuj7IgsQjWJXu4H156AIOUXF1FACePQPy pDyhJ+blYeV7lerQzIFIR8o= =eF3a -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF--