Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2009 09:00:27 +0200
From:      Artis Caune <artis.caune@gmail.com>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        freebsd-stable@freebsd.org, Pete French <petefrench@ticketswitch.com>
Subject:   Re: whats best pracfive for ZFS on a whole disc these days ?
Message-ID:  <9e20d71e0910270000oc9bbe80n6e13d28325742a45@mail.gmail.com>
In-Reply-To: <200910271646.55227.doconnor@gsoft.com.au>
References:  <E1N2NcA-0004c4-CE@dilbert.ticketswitch.com> <200910271646.55227.doconnor@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/10/27 Daniel O'Connor <doconnor@gsoft.com.au>:
> Unfortunately it appears ZFS doesn't search for GPT partitions so if you
> have them and swap the drives around you need to fix it up manually.

Every GPT partition have unique /dev/gptid/<uuid>, you can find it out with:
    glabel status

and instead of using e.x.:
    zpool create tank mirror ad4p3 ad6p3
you can use:
    zpool create tank mirror
gptid/0f32d2e6-c227-11de-8d6c-001708386b68
gptid/bc78a46e-c227-11de-8d6c-001708386b68

and you can swap disk without worries




-- 
Artis Caune

    Everything should be made as simple as possible, but not simpler.



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