Assume that the 4 data strips (also called data blocks) within a certain stripe on a RAID 5 system are designated B0, B1, B2 and B3. The corresponding parity block Pold for this stripe is computed as the cumulative XOR of the 4 data strips within the stripe:
Pold =B0 ^ B1 ^ B2 ^ B3. Hence each stripe contains a parity block and 4 data blocks.
Block B2 is to be overwritten with the new contents designated as B2new.
a) Write down an expression for the corresponding new parity block Pnew that requires reading no more than two blocks of the 5 blocks in the stripe.
Pnew = __________
b) Write down a different alternate expression for the new parity block Pnew if there are no restrictions on the number or type of blocks read.
Pnew = __________
Get Answers For Free
Most questions answered within 1 hours.