New g_part class

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Feb 8 07:54:14 UTC 2007


In message <20070208082116.5ac22bee at 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 at 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.


More information about the freebsd-geom mailing list