Anyway to change pool to use the gpt label instead of gptid?

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Oct 24 05:34:57 UTC 2011


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 the the 
> 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=0

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

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://yomoli.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20111024/328fd124/attachment.pgp


More information about the freebsd-fs mailing list