Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2007 08:21:16 +0100
From:      Joerg Pernfuss <jp@bsdgroup.de>
To:        freebsd-geom@freebsd.org
Subject:   Re: New g_part class
Message-ID:  <20070208082116.5ac22bee@loki.starkstrom.lan>
In-Reply-To: <91005.1170758124@critter.freebsd.dk>
References:  <eq9lfb$5o4$1@sea.gmane.org> <91005.1170758124@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_bu=Zjhoe7+W+qDKH+G_uX2a
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Tue, 06 Feb 2007 10:35:24 +0000
"Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote:

>=20
> If the geom classes are implemented correctly, you should never
> need to set kern.geom.debugflags.

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

Because currently this does not work. I am not very fluent in C, but
wouldn't this require a flag to pass down to tell it, it is ok to
modify a bsdlabel from which partitions are mounted, because none
of the mounted ones have been changed? Is there such a mechanism in
place but unused? I haven't stumpled upon any, but I might have easily
missed it.

Regards,
	Joerg

--=20
| SPECIAL ADVERTISMENT |    NEW KEY AS OF 02/01/2007 - GET IT     |
+----------------------+------------------------------------------+
| /"\   ASCII ribbon   |  GnuPG Key ID | 6902 3fc0 64c3 a56e a8b4 |
| \ / campaign against |    0xab439348 | c8de d555 c2cd ab43 9348 |
|  X    HTML in email  |        .the next sentence is true.       |
| / \     and news     |     .the previous sentence was a lie.    |

--Sig_bu=Zjhoe7+W+qDKH+G_uX2a
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFFys911VXCzatDk0gRAtEkAJ9M8e6RA2HHwrpA9n3J64zO5RzO1gCaAjJ5
JBXKgpwKwLSAPDGk98eWlqY=
=SJAb
-----END PGP SIGNATURE-----

--Sig_bu=Zjhoe7+W+qDKH+G_uX2a--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070208082116.5ac22bee>