whats best pracfive for ZFS on a whole disc these days ?
Patrick M. Hausen
hausen at punkt.de
Tue Oct 27 08:03:23 UTC 2009
Hello,
On Tue, Oct 27, 2009 at 09:00:27AM +0200, Artis Caune wrote:
> 2009/10/27 Daniel O'Connor <doconnor at 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
Nice. Is there any reason to prefer GPT labels over
glabel on the raw disk like so?
NAME STATE READ WRITE CKSUM
zfs ONLINE 0 0 0
raidz2 ONLINE 0 0 0
label/disk100 ONLINE 0 0 0
label/disk101 ONLINE 0 0 0
label/disk102 ONLINE 0 0 0
label/disk103 ONLINE 0 0 0
label/disk104 ONLINE 0 0 0
label/disk105 ONLINE 0 0 0
Could GPT labelled disks be read on a Solaris host
without further modification?
Thanks,
Patrick M. Hausen
Leiter Netzwerke und Sicherheit
--
punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe
Tel. 0721 9109 0 * Fax 0721 9109 100
info at punkt.de http://www.punkt.de
Gf: Jürgen Egeling AG Mannheim 108285
More information about the freebsd-stable
mailing list