From owner-freebsd-fs@FreeBSD.ORG Sat Sep 1 12:16:10 2007 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE29916A419 for ; Sat, 1 Sep 2007 12:16:10 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.freebsd.org (Postfix) with ESMTP id 62DFA13C467 for ; Sat, 1 Sep 2007 12:16:10 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.4) with ESMTP id l81CFh4u019438; Sat, 1 Sep 2007 16:15:44 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.4/Submit) id l81CFhZe019437; Sat, 1 Sep 2007 16:15:43 +0400 (MSD) (envelope-from yar) Date: Sat, 1 Sep 2007 16:15:43 +0400 From: Yar Tikhiy To: Poul-Henning Kamp Message-ID: <20070901121543.GR85633@comp.chem.msu.su> References: <20070901093035.GA18069@harmless.hu> <4456.1188643173@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4456.1188643173@critter.freebsd.dk> User-Agent: Mutt/1.5.9i Cc: Dmitry Morozovsky , fs@freebsd.org Subject: Re: New option for newfs(3) to make life with GEOM easier X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Sep 2007 12:16:11 -0000 On Sat, Sep 01, 2007 at 10:39:33AM +0000, Poul-Henning Kamp wrote: > In message <20070901093035.GA18069@harmless.hu>, Gergely CZUCZY writes: > > >Though for this, geom class manuals should mention how much > >space do they need for the metadata at the end. Or to simplify > >thing an option for like "reserve some space for (gmirror|gstripe|gfoobar)" > >should be introduced. Or specifing the module and newfs could "ask" > >the geom class for its metadata size that should be reserved. > >Just thinking, sorry if it was too wild... > > THe original intent was that you would stick the geom class there > first, then make the filesystem. Doing things in the other order > is asking for trouble. It can be trickier than putting the geom class there first, but if the requirements of the geom class are well documented, as in the gmirror case, there should be nothing wrong with the trick, granting one knows what he's doing. After all, we aren't a commercial vendor trying to hide all dangerous things from the customer to make support easier. :-) Or am I missing some particular point about geom? -- Yar