My understanding is that parity is spread across all 3 disks in a 3-disk array.

3 disks is the minimum for raid-z array.  4 is the minimum recommended
for raid-z2, since you 'lose' 2 disks worth of space to parity in that
scenario.

Disks don't have to be equal size, but ZFS will use only the lowest
common denominator disk as the base size per-device.  For example:

disk1 = 500GB
disk2 = 500GB
disk3 = 500GB
disk4 = 250GB

zpool raidz2 create tank disk1 disk2 disk3 disk4

zfs create tank/storage

zfs list
NAME                           USED  AVAIL  REFER  MOUNTPOINT
tank/storage                      0  500G   500G  /tank/storage

(approximately)

ZFS treats each disk as 250GB    :(

blake/

On 6/19/07, Huitzi <[EMAIL PROTECTED]> wrote:
I also have two trivial questions (just to be sure).
Do the disks have to be equal in size for RAID-Z?
In a three disks RAID-Z, can I specify which disk to use for parity?


This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to