On Mar 25, 2010, at 22:10, Freddie Cash <fjwc...@gmail.com> wrote:

On Thu, Mar 25, 2010 at 11:47 AM, Bruno Sousa <bso...@epinfante.com> wrote: What do you mean by "Using fewer than 4 disks in a raidz2 defeats the purpose of raidz2, as you will always be in a degraded mode" ? Does it means that having 2 vdevs with 3 disks it won't be redundant in the advent of a drive failure?

raidz1 is similar to raid5 in that it is single-parity, and requires a minimum of 3 drives (2 data + 1 parity) raidz2 is similar to raid6 in that it is double-parity, and requires a minimum of 4 drives (2 data + 2 parity)

For any kind of RAID-Z as an absolute minimum you need one drive for data and 1, 2 or 3 drives for parity.

IOW, a raidz2 vdev made up of 3 drives will always be running in degraded mode (it's missing a drive)

No, it will not be degraded. You can easily check it with

mkfile -n 64m /var/tmp/1 /var/tmp/2 /var/tmp/3
zpool create rz2 raidz2 /var/tmp/[123]
zpool status rz2

Regards
Victor

--
Freddie Cash
fjwc...@gmail.com
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to