On Wed, Aug 11, 2010 at 12:57 AM, Peter Taps <ptr...@yahoo.com> wrote:

> Hi Eric,
>
> Thank you for your help. At least one part is clear now.
>
> I still am confused about how the system is still functional after one disk
> fails.
>
> Consider my earlier example of 3 disks zpool configured for raidz-1. To
> keep it simple let's not consider block sizes.
>
> Let's say I send a write value "abcdef" to the zpool.
>
> As the data gets striped, we will have 2 characters per disk.
>
> disk1 = "ab" + some parity info
> disk2 = "cd" + some parity info
> disk3 = "ef" + some parity info
>
> Now, if disk2 fails, I lost "cd." How will I ever recover this? The parity
> info may tell me that something is bad but I don't see how my data will get
> recovered.
>
> The only good thing is that any newer data will now be striped over two
> disks.
>
> Perhaps I am missing some fundamental concept about raidz.
>
> Regards,
> Peter
>





I find the best way to understand how parity works is to think back to your
algebra class when you'd have something like

1x +2 = 3

and you could solve for x....it's not EXACTLY like that but solving the
parity stuff is similar to solving for x







> --
> This message posted from opensolaris.org
> _______________________________________________
> 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