New g_part class

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Feb 9 10:05:13 UTC 2007


On Thu, Feb 08, 2007 at 07:54:00AM +0000, Poul-Henning Kamp wrote:
> 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.

I don't see how gmirror can break anything when it is placed below BSD
partitions. Maybe except that I saw some time ago that bsdlabel(8)
assume there is no '/' in provider's name.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20070209/e75f7cfd/attachment.pgp


More information about the freebsd-geom mailing list