Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I thought I understood RAID, but I'm looking at images from Wikipedia, and it doesn't seem like I do. For example, take this image:

alt text

What does the 'parity' do? For example, what happens if Disk 2 suddenly fails? How does the system recover?

share|improve this question

2 Answers 2

up vote 5 down vote accepted

http://en.wikipedia.org/wiki/Parity_bit ...

Parity block

A parity block is used by certain RAID levels. Redundancy is achieved by the use of parity blocks. If a single drive in the array fails, data blocks and a parity block from the working drives can be combined to reconstruct the missing data.

Given the diagram below, where each column is a disk, assume A1 = 00000111, A2 = 00000101, and A3 = 00000000. Ap, parity block generated by XORing A1, A2, and A3, will then equal 00000010. If the Disk 1 fails, A2 will no longer be accessible, but can be reconstructed by XORing A1, A3, and Ap:

A2 = A1 XOR A3 XOR Ap = 00000101

share|improve this answer

Parity is used to not only help maintain data transmission in raid arrays they are also used to reconstruct data if Disk 0, 1, or 2 goes down. I think that this image is a better representation of how raid three looks like.

In the image: block 1a, 1b, 1c are duplicated data the first parity keeps track of the data blocks

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.