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

Artem Belevich art at freebsd.org
Mon Oct 24 02:01:32 UTC 2011


On Sun, Oct 23, 2011 at 6:49 PM, Larry Rosenman <ler at lerctr.org> wrote:
> On Sun, 23 Oct 2011, Artem Belevich wrote:
>
>> On Sun, Oct 23, 2011 at 5:52 PM, Larry Rosenman <ler at lerctr.org> 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?
>>
>> You can try exporting the pool and then importing it back with "zfs
>> import -d /dev/gpt"
>
> Really hard to do with root on this pool :)

You may be able to solve that part with LiveCD. I'm still not quite
sure where device info is kept -- in the pool or in
/boot/zfs/zpool.cache. You may need to copy zpool.cache to its real
place in your pool once you import the pool while running LiveCD.

--Artem


More information about the freebsd-fs mailing list