From owner-freebsd-geom@FreeBSD.ORG Thu Feb 8 07:52: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 CA37B16A400 for ; Thu, 8 Feb 2007 07:52:06 +0000 (UTC) (envelope-from jp@bsdgroup.de) Received: from digitiminimi.de (digitiminimi.de [80.242.136.80]) by mx1.freebsd.org (Postfix) with ESMTP id 8839D13C471 for ; Thu, 8 Feb 2007 07:52:06 +0000 (UTC) (envelope-from jp@bsdgroup.de) Received: from localhost (digitiminimi.de [80.242.136.80]) by digitiminimi.de (Postfix) with ESMTP id 0140ADA9C0 for ; Thu, 8 Feb 2007 08:23:36 +0100 (CET) X-Virus-Scanned: amavisd-new at digitiminimi.de Received: from digitiminimi.de ([80.242.136.80]) by localhost (main.digitiminimi.de [80.242.136.80]) (amavisd-new, port 10024) with ESMTP id 6suI2xE5+2e6 for ; Thu, 8 Feb 2007 08:23:34 +0100 (CET) Received: from loki.starkstrom.lan (p57B570AB.dip.t-dialin.net [87.181.112.171]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by digitiminimi.de (Postfix) with ESMTP id 9E682DA80E for ; Thu, 8 Feb 2007 08:23:32 +0100 (CET) Date: Thu, 8 Feb 2007 08:21:16 +0100 From: Joerg Pernfuss To: freebsd-geom@freebsd.org Message-ID: <20070208082116.5ac22bee@loki.starkstrom.lan> In-Reply-To: <91005.1170758124@critter.freebsd.dk> References: <91005.1170758124@critter.freebsd.dk> Followup-To: freebsd-geom@freebsd.org X-Mailer: Sylpheed-Claws 2.5.2 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_bu=Zjhoe7+W+qDKH+G_uX2a"; protocol="application/pgp-signature"; micalg=PGP-SHA1 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: Thu, 08 Feb 2007 07:52:07 -0000 --Sig_bu=Zjhoe7+W+qDKH+G_uX2a Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 06 Feb 2007 10:35:24 +0000 "Poul-Henning Kamp" wrote: >=20 > If the geom classes are implemented correctly, you should never > need to set kern.geom.debugflags. So in theory, the following should work? - set up a server with 2 160g sata drives (standard example that i hope everyone can relate to) - gmirror them - set up one slice covering the whole gmirror - create a disklabel for example with: a 2g / b 4g swap c voodoo d 4g /tmp e 16g /var f 20g /usr g 54g /jails This leaves the h partition and around 56g free for "later usage" in case something comes up/happens or g needs to be grown. - add the 'h' partition later on while the system is running Because currently this does not work. I am not very fluent in C, but wouldn't this require a flag to pass down to tell it, it is ok to modify a bsdlabel from which partitions are mounted, because none of the mounted ones have been changed? Is there such a mechanism in place but unused? I haven't stumpled upon any, but I might have easily missed it. Regards, Joerg --=20 | SPECIAL ADVERTISMENT | NEW KEY AS OF 02/01/2007 - GET IT | +----------------------+------------------------------------------+ | /"\ ASCII ribbon | GnuPG Key ID | 6902 3fc0 64c3 a56e a8b4 | | \ / campaign against | 0xab439348 | c8de d555 c2cd ab43 9348 | | X HTML in email | .the next sentence is true. | | / \ and news | .the previous sentence was a lie. | --Sig_bu=Zjhoe7+W+qDKH+G_uX2a Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFFys911VXCzatDk0gRAtEkAJ9M8e6RA2HHwrpA9n3J64zO5RzO1gCaAjJ5 JBXKgpwKwLSAPDGk98eWlqY= =SJAb -----END PGP SIGNATURE----- --Sig_bu=Zjhoe7+W+qDKH+G_uX2a--