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

Daniel O'Connor doconnor at gsoft.com.au
Tue Oct 27 08:32:26 UTC 2009


On Tue, 27 Oct 2009, Artem Belevich wrote:
> > 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.
>
> When I used raw disk or GPT partitions, if disk order was changed the
> pool would come up in 'DEGRADED' or UNAVAILABLE state. Even then all
> that had to be done is export/import the pool. After the pool has
> been re-imported it was back to ONLINE.

Hmm OK, I thought it supposedly DTRT for raw disks but apparently not.

> Now I'm using GPT labels (gpart -l) specifically because that avoids
> issues with disk order or driver change. The pool I've built from GPT
> labels has survived several migrations between different
> controllers/drivers adX (ata) -> daX (SATA disks on mpt) -> adaX
> (ahci) and multiple drive permutations without any manual
> intervention at all. All that was done on 8-RC1/amd64.
> I have also successfully imported the pool on OpenSolaris and back
> again on FreeBSD.

Damn, if I'd realised I'd have done that :)

Do you know if it's possible to change?

Thanks.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20091027/4507dfe3/attachment.pgp


More information about the freebsd-stable mailing list