Anyway to change pool to use the gpt label instead of gptid?
Larry Rosenman
ler at lerctr.org
Mon Oct 24 02:00:47 UTC 2011
On Sun, October 23, 2011 8:57 pm, Hiroki Sato wrote:
> Larry Rosenman <ler at lerctr.org> wrote
> in <alpine.BSF.2.00.1110232035410.12303 at borg>:
>
> le> On Mon, 24 Oct 2011, Edho Arief wrote:
> le>
> le> > On Mon, Oct 24, 2011 at 1:07 AM, Larry Rosenman <ler at 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 at lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
More information about the freebsd-fs
mailing list