Chapter 10. Data protection with RAID Double Parity
153
10.4.1 Internal structure of RAID-DP
With RAID-DP, the traditional RAID 4 horizontal parity structure is still employed and becomes
a subset of the RAID-DP construct; that is, how RAID 4 works on storage is not modified with
RAID-DP. Data is written out in horizontal rows with parity calculated for each row in RAID-DP,
which is considered the row component of double parity. If a single disk fails or a read error
from a bad block or bit error occurs, the row parity approach of RAID 4 is used to re-create the
data. RAID-DP is not engaged. In this case, the diagonal parity component of RAID-DP is a
protective envelope around the row parity component.
10.4.2 RAID 4 horizontal row parity
Figure 10-7 shows the horizontal row parity approach that is used in the traditional RAID 4
solution. It is the first step in establishing an understanding of RAID-DP and double parity.
Figure 10-7 RAID 4 horizontal parity
Figure 10-7 represents a traditional RAID 4 group that uses row parity. It consists of four data
disks (the first four columns, labeled D) and the single row parity disk (the last column,
labeled P). The rows represent the standard 4 KB blocks that are used by the traditional RAID
4 implementation. The second row is populated with sample data in each 4 KB block. Parity
that is calculated for data in the row is then stored in the corresponding block on the parity
disk.
In this case, the way parity is calculated is to add the values in each of the horizontal blocks.
That sum is stored as the parity value (3 + 1 + 2 + 3 = 9). In practice, parity is calculated by an
exclusive-OR (XOR) process, but addition is fairly similar and works as well for the purposes
of this example. If you must reconstruct data from a single failure, the process that is used to
generate parity is reversed. If the first disk fails, RAID 4 re-creates the data value 3 in the first
column. It subtracts the values on the remaining disks from what is stored in parity (9 - 3 - 2 -
1 = 3). This example of reconstruction with single-parity RAID shows why data is protected up
to, but not beyond, one disk failure event.
Summary of Contents for N Series
Page 2: ......
Page 12: ...x IBM System Storage N series Hardware Guide ...
Page 18: ...xvi IBM System Storage N series Hardware Guide ...
Page 20: ...xviii IBM System Storage N series Hardware Guide ...
Page 22: ...2 IBM System Storage N series Hardware Guide ...
Page 32: ...12 IBM System Storage N series Hardware Guide ...
Page 52: ...32 IBM System Storage N series Hardware Guide ...
Page 64: ...44 IBM System Storage N series Hardware Guide ...
Page 90: ...70 IBM System Storage N series Hardware Guide ...
Page 122: ...102 IBM System Storage N series Hardware Guide ...
Page 194: ...174 IBM System Storage N series Hardware Guide ...
Page 200: ...180 IBM System Storage N series Hardware Guide ...
Page 224: ...204 IBM System Storage N series Hardware Guide ...
Page 244: ...224 IBM System Storage N series Hardware Guide ...
Page 292: ...272 IBM System Storage N series Hardware Guide ...
Page 298: ...278 IBM System Storage N series Hardware Guide ...
Page 300: ...280 IBM System Storage N series Hardware Guide ...
Page 314: ...294 IBM System Storage N series Hardware Guide ...
Page 326: ...306 IBM System Storage N series Hardware Guide ...
Page 327: ... Copyright IBM Corp 2012 2014 All rights reserved 307 Part 5 Appendixes Part 5 ...
Page 328: ...308 IBM System Storage N series Hardware Guide ...
Page 362: ...342 IBM System Storage N series Hardware Guide ...
Page 366: ...IBM System Storage N series Hardware Guide IBM System Storage N series Hardware Guide ...
Page 367: ......