From owner-freebsd-geom@FreeBSD.ORG Thu Feb 8 07:54:14 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 E252B16A418 for ; Thu, 8 Feb 2007 07:54:02 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id A3EE813C474 for ; Thu, 8 Feb 2007 07:54:02 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 14FBE1747B; Thu, 8 Feb 2007 07:54:01 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.8/8.13.8) with ESMTP id l187s07H004222; Thu, 8 Feb 2007 07:54:00 GMT (envelope-from phk@critter.freebsd.dk) To: Joerg Pernfuss From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 08 Feb 2007 08:21:16 +0100." <20070208082116.5ac22bee@loki.starkstrom.lan> Date: Thu, 08 Feb 2007 07:54:00 +0000 Message-ID: <4221.1170921240@critter.freebsd.dk> Sender: phk@critter.freebsd.dk 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: Thu, 08 Feb 2007 07:54:14 -0000 In message <20070208082116.5ac22bee@loki.starkstrom.lan>, Joerg Pernfuss writes : >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 It works if you leave gmirror out of the picture, so what gmirror does wrong I don't know. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.