New option for newfs(3) to make life with GEOM easier

Dmitry Morozovsky marck at rinet.ru
Sat Sep 1 05:33:05 PDT 2007


On Sat, 1 Sep 2007, Poul-Henning Kamp wrote:

PK> In message <20070901093035.GA18069 at harmless.hu>, Gergely CZUCZY writes:
PK> 
PK> >Though for this, geom class manuals should mention how much
PK> >space do they need for the metadata at the end. Or to simplify
PK> >thing an option for like "reserve some space for (gmirror|gstripe|gfoobar)"
PK> >should be introduced. Or specifing the module and newfs could "ask"
PK> >the geom class for its metadata size that should be reserved.
PK> >Just thinking, sorry if it was too wild...
PK> 
PK> THe original intent was that you would stick the geom class there
PK> first, then make the filesystem.  Doing things in the other order
PK> is asking for trouble.

Well, while in general I agree with you, there are situations where such 
functionality is desired (hence the patch I originally wrote). Besides 
migrating to gmirror already mentioned, there were situations where I decided 
to insert gcache layers between graid3 and partitions.

Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:				     marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-fs mailing list