ZFS - moving from a zraid1 to zraid2 pool with 1.5tb disks

Matthew Seaman m.seaman at infracaninophile.co.uk
Sun Jan 9 08:45:11 UTC 2011


On 09/01/2011 05:50, Randy Bush wrote:
> given i have raid or raidz1, can i move to raidz2?
> 
> # zpool status 
>   pool: tank
>  state: ONLINE
>  scrub: none requested
> config:
> 
>         NAME        STATE     READ WRITE CKSUM
>         tank        ONLINE       0     0     0
>           raidz1    ONLINE       0     0     0
>             ad4s2   ONLINE       0     0     0
>             ad8s2   ONLINE       0     0     0
>             ad6s1   ONLINE       0     0     0
>             ad10s1  ONLINE       0     0     0
> 
> or
> 
> # zpool status
>   pool: tank
>  state: ONLINE
>  scrub: none requested
> config:
> 
>         NAME              STATE     READ WRITE CKSUM
>         tank              ONLINE       0     0     0
>           mirror          ONLINE       0     0     0
>             label/disk01  ONLINE       0     0     0
>             label/disk00  ONLINE       0     0     0
>           mirror          ONLINE       0     0     0
>             label/disk02  ONLINE       0     0     0
>             label/disk03  ONLINE       0     0     0

Not without backing up your current data, destroying the existing
zpool(s) and rebuilding from scratch.

Note: raidz2 on 4 disks doesn't really win you anything over 2 x mirror
pairs of disks, and the RAID10 mirror is going to be rather more performant.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20110109/9ac41f73/signature.pgp


More information about the freebsd-stable mailing list