Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2009 19:15:41 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: geom_label: gpt/labelname for gmirror provider?
Message-ID:  <h3iegi$kpu$1@ger.gmane.org>
In-Reply-To: <4A5CB2D1.5070106@omnilan.de>
References:  <4A5CB2D1.5070106@omnilan.de>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigF29FEEAD5DB8D4AB94BA1647
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Harald Schmalzbauer wrote:
> Hello,
>=20
> first of all thank you very much for the gpt label support in
> geom_label! This is really nice and makes disk partitioning well-arrang=
ed.

Yes, it is lots of fun.

> I tried to use the gbt/label as provider gor glabel, but that didn't
> work. It looked as if gmirror wrote the label succesfully, but `gmirror=

> list` was empty. Just replacing gpt/label with ad4p2 worked as expected=
=2E
> Is it impossible by design to use gpt/label as provider?

I don't quite understand what you are asking. You create a mirror (with
"gmirror label...") and then a GPT on top of it, and then you can't see
the GPT labels? If so, then it unfortunately reminds me of this thread:
http://permalink.gmane.org/gmane.os.freebsd.questions/248884

If it's something else, please explain with more details.

> P.S. Can I disable ufsid/UFSID and gptid/GPTID? I don't think I'll ever=

> use them since I create my own labels on both, GPs and UFSs. A sysctl o=
r
> loader tunable whould be fine.

No, it's a chicken-and-the-egg problem - to use sysctls you need a
working system. Loader tunables could work but it's at best a cosmetic
request. And we can't make glabel modular (so, e.g. you load
GLABEL_GPTID or something) because it will break it for people who
expect it to "just work" for all labels at once (that's kind of the
point of glabel).




--------------enigF29FEEAD5DB8D4AB94BA1647
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpcvUMACgkQldnAQVacBchDWgCdG5IFzFpy783vC4KyLQa4MapE
8yMAnRlG01K7KUT44YkD6XsCOkiZ+K5j
=Y5E1
-----END PGP SIGNATURE-----

--------------enigF29FEEAD5DB8D4AB94BA1647--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?h3iegi$kpu$1>