whats best pracfive for ZFS on a whole disc these days ?

Artis Caune artis.caune at gmail.com
Tue Oct 27 07:00:28 UTC 2009


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




-- 
Artis Caune

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


More information about the freebsd-stable mailing list