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

[ Available lists | Index of freebsd-fs | Month of Oct 2011 | Week of 24 Oct 2011 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Artem Belevich <art@freebsd.org>
Date
24 Oct 2011 02:01:32
Subject
Re: Anyway to change pool to use the gpt label instead of gptid?
Message-ID
CAFqOu6gbt=f6F2qEkzJtJ54W0E5dEbvp-bqtbvAQG9Ym11LTfw@mail.gmail.com

In reply to

[ Hide this part ]
On Sun, Oct 23, 2011 at 6:49 PM, Larry Rosenman <ler@lerctr.org> wrote:
> On Sun, 23 Oct 2011, Artem Belevich wrote:
>
>> On Sun, Oct 23, 2011 at 5:52 PM, Larry Rosenman <ler@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

Elapsed time: 0.106 seconds