Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Oct 2011 21:00:45 -0500
From:      "Larry Rosenman" <ler@lerctr.org>
To:        "Hiroki Sato" <hrs@FreeBSD.org>
Cc:        freebsd-fs@freebsd.org, pjd@freebsd.org
Subject:   Re: Anyway to change pool to use the gpt label instead of gptid?
Message-ID:  <232c55006eccb4a7a0e4bd1524da0192.squirrel@webmail.lerctr.org>
In-Reply-To: <20111024.105747.1668149913902320230.hrs@allbsd.org>
References:  <alpine.BSF.2.00.1110232006360.1599@borg> <CABTjkKnbKY=g08m9oNu4xvhoFicVqj%2B2rS56-HONjivkLfe7ZA@mail.gmail.com> <alpine.BSF.2.00.1110232035410.12303@borg> <20111024.105747.1668149913902320230.hrs@allbsd.org>

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

On Sun, October 23, 2011 8:57 pm, Hiroki Sato wrote:
> Larry Rosenman <ler@lerctr.org> wrote
>   in <alpine.BSF.2.00.1110232035410.12303@borg>:
>
> le> On Mon, 24 Oct 2011, Edho Arief wrote:
> le>
> le> > On Mon, Oct 24, 2011 at 1:07 AM, Larry Rosenman <ler@lerctr.org>
> le> > wrote:
> le> >>
> le> >> Ideas?
> le> >>
> le> >
> le> > actually I've given up trying to make gpt label work with zfs and
> just
> le> > be happy with adaXpY.
> le> >
> le> hehe.  Yeah, unless you get lucky(tm), and it's not on a recreate, it
> le> DOES
> le> work, but doesn't stick.
>
>  Does the following work for you?
>
>  # zpool export zroot
>  # zpool import -d /dev/gpt zroot
>
> -- Hiroki
>

Can't do that, as root is on this zfs pool.


# zpool export zroot
cannot unmount '/var/run': Device busy
# zpool import -d /dev/gpt zroot
cannot import 'zroot': a pool with that name is already created/imported,
and no additional pools with that name were found
#


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                 E-Mail: ler@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893





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