Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Oct 2011 19:01:31 -0700
From:      Artem Belevich <art@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:  <CAFqOu6gbt=f6F2qEkzJtJ54W0E5dEbvp-bqtbvAQG9Ym11LTfw@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1110232049200.12412@borg>
References:  <alpine.BSF.2.00.1110231949380.65073@borg> <CAFqOu6idtCpNva7zR9kVWLJz%2BB6WDNsshW0io%2BQM=6vSG5Xy=w@mail.gmail.com> <alpine.BSF.2.00.1110232049200.12412@borg>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFqOu6gbt=f6F2qEkzJtJ54W0E5dEbvp-bqtbvAQG9Ym11LTfw>