Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2011 07:34:06 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Anyway to change pool to use the gpt label instead of gptid?
Message-ID:  <20111024053405.GJ1697@garage.freebsd.pl>
In-Reply-To: <alpine.BSF.2.00.1110231949380.65073@borg>
References:  <alpine.BSF.2.00.1110231949380.65073@borg>

next in thread | previous in thread | raw e-mail | index | archive | help

--PEkEgRdBLZYkpbX2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Oct 23, 2011 at 07:52:08PM -0500, Larry Rosenman wrote:
> Is there any way to convert this setup to use the GPT labels instead of t=
he the=20
> GPT UUID's in zpool status/zpool iostat?

When you create your pool using GPT labels, it will prefer them over
anything else on import. If it cannot find labels, it will switch to
something else that looks like your VDEVs.

If you want to switch to GPT labels when your pool already exist and you
cannot export it (it holds root file system), you can create GPT labels
with gpart(8), disable GPTIDs by adding the following line to
/boot/loader.conf:

	kern.geom.label.gptid.enable=3D0

Then you reboot and hope for the best. It will either pick GPT labels or
ada<X>p<Y>.

--=20
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://yomoli.com

--PEkEgRdBLZYkpbX2
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAk6k+M0ACgkQForvXbEpPzRr2ACg60hp1u/HcqUAtyvXmG33nETp
/zYAoOaCgC+wsFcoQgYSI9gdDLouhnRr
=2boc
-----END PGP SIGNATURE-----

--PEkEgRdBLZYkpbX2--



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