Compact Two-dimensional RAID Level 6 Arrays Tolerating Quadruple Node Failures
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
Compact Two-dimensional RAID Level 6 Arrays Tolerating Quadruple Node Failures Thomas Schwarz, SJ Department of Computer Science Marquette University Milwaukee, WI 53233, USA thomas.schwarz@marquette.edu
Jehan-François Pâris Department of Computer Science University of Houston Houston, TX 77204-3010, USA jfparis@uh.edu
Extended Abstract
I. INTRODUCTION Reed-Solomon codes [1] have been widely used for protecting data against data losses caused by device failures. For instance, the BackBlaze cloud backup service relies on a 17-out-of-20 RS code to ensure the integrity of its users’ data [2]. They split every incoming file into 17 equal-size shards and calculate 3 parity shards so that the file contents can be reconstructed from any 17 of these 20 shards. The main advantage of this approach is its very low space overhead, as only 3 out of the 20 shards contain redundant data. While Reed-Solomon codes happen to be the most spaceefficient technique to protect the contents of n storage units against the failure of of them, the same is not true when we consider multiple stripes of units each with their own k parity units. For instance, two-dimensional RAID arrays [3] [4] [5] [6] have been known to protect their data against more triple and quadruple unit failures than multiple RAID level 6 arrays with the same storage capacity and the same space overhead. At the same time, extant two-dimensional RAID arrays cannot protect data against all quadruple unit failures. While this was not a major issue ten or twenty years ago, we believe the time has come to investigate two-dimensional arrays that can tolerate all quadruple and most quintuple unit failures without experiencing a data loss. We investigate here the first two-dimensional RAID array that satisfies these criteria. These arrays start with RAID level 6 parity stripes with two parity nodes per stripe and place their data nodes at the ( − 1)/2 intersections of these stripes. We evaluate how these arrays handle quintuple and sextuple failures and conclude they tolerate many more quintuple and sextuple unit failures than multiple n-out-of-n+k arrays with the same storage capacity and the same space overhead. In addition, we show how to eliminate all fatal quintuple failures by adding two superparity units to the array. II. TWO-DIMENSIONAL RAID ARRAYS Two-dimensional RAID arrays, or 2D-parity arrays, were first investigated by Schwarz [3] and Hellerstein et al. [4]. In addition, Lee patented a disk array organization with prompt parity updates in one dimension and delayed parity updates in the second dimension [6].
P1
P2 D12
D24 D34
D13
D23
D14
P3
P4
Fig. 1. A small two-dimensional RAID array with six data nodes and four parity nodes.
X
X X D24 D34
D13
D23
D14
P3
P4
P3
P1
X D24 D34 P3
X
X D14 P4
Fig. 2. Two types of triple fatal failures.
Two-dimensional arrays comprise both data nodes and parity nodes. These nodes are organized into parity stripes, each consisting of several data nodes and one parity node containing the exclusive or (XOR) of their contents. In addition, 1. Each data node must belong to two distinct parity stripes. 2. Two distinct parity stripes can only share one data node.
Q1
X X
Q2
P1
P2
X
D12 D24 D34 D23 P3 Q3
X X
D13
D24 D34
D14
D13
D23
P4
D14
P3
Q4
P4
Q3
Q4
Fig. 3. A small complete two-dimensional RAID level 6 array. Each parity stripe now has two parity nodes.
Fig. 4. One of six possible fatal quintuple failures.
Consider, for instance, the two-dimensional RAID array displayed in Fig. 1 and note that all its parity stripes intersect each other. As a result, its four parity nodes can protect the contents of six data nodes against all double failures. More generally, any complete two-dimensional array with parity nodes can contain up to ( − 1)⁄2 data nodes. While complete two-dimensional RAID arrays are more compact than other two-dimensional RAID array organizations, they are also more susceptible to losing data in the presence of triple node failures. As seen in Fig. 2, complete twodimensional RAID arrays will experience a data loss whenever: 1. The three failed nodes consist of a data node and the parity nodes of its two parity stripes. 2. The three failed nodes are located at the three intersections of three distinct parity stripes. This latter vulnerability is the most consequential of the two as it involves more nodes and undergoes a combinational explosion as the size of the array grows. Paris et al. noted the limitation [10] and concluded that the best way to eliminate these failures would be to double the number of parity disks and transform each parity stripe into a RAID 6 level stripe. The idea was not pursued because other two-dimensional RAID arrays could tolerate all triple node failures at a lower cost. We believe it is time to revisit the topic because we now expect higher levels of fault tolerance than twelve or thirteen years ago. As a result, what was then a mere curiosity now becomes a potential solution for real problems.
Q1
III. COMPLETE TWO-DIMENSIONAL RAID LEVEL 6 ARRAYS A complete two-dimensional RAID level 6 array consists of RAID level 6 parity stripes [3] [8] intersecting with each other and ( − 1)⁄2 data nodes located at the intersection of the parity stripes. Each of these parity stripe contains − 1 data nodes as well as two parity nodes for a total of 2 parity nodes. To give an example, the small array displayed in Fig. 3 has 4 parity nodes, 6 data nodes, and 3 data nodes per parity stripe. (We expect actual arrays to be much larger and have much lower parity overheads.) We will now consider the level of data loss protection provided by our organization. Let = 2 + ( − 1)⁄2 denote the total number of nodes in the array:
X
P1
P2
X D24 D34
X X Q 3
X D14
XQ
4
Fig. 5. The fatal failure of three data nodes on the same three parity stripes and one failed parity node in each of these three parity stripes.
1. 2.
3.
Complete two-dimensional RAID level 6 arrays tolerate the simultaneous failures of up to four nodes without any data loss. As we can see in Fig. 4, the only quintuple failures that will result in a data loss are the failure of one arbitrary data node and the four parity nodes on its two parity stripes. There are ( − 1)⁄2 such failures out of 5 possible quintuple node failures. As a result, only a fraction ( − 1) = 2 5 of all quintuple failures will result in a data loss. This fraction quickly decreases as the size of the array increases: less than 2.10-6 of all quintuple failures are fatal in arrays with more than 45 data nodes and 20 parity nodes. Three different sextuple fault configurations will result in a data loss: a. The failure of one arbitrary data node, the four data nodes on its two parity stripes and any other node: there are ( − 5) ( − 1)⁄2 such fatal sextuple failures. b. As shown on Fig. 5, the failure of three data nodes on three distinct parity stripes and one failed parity node in each of these three parity stripes: there are 2 3 similar fatal sextuple failures.
TABLE I. COMPARED NUMBERS OF FATAL QUINTUPLE AND SEX-
Q1
Q2
P1
TUPLE FAILURES OF THE TWO ORGANIZATIONS
P2
Number of nodes
X X P3
X
XX X P
Q3
4
Q4
Fig 6. The fatal failure of six data nodes occupying the six intersections of four parity stripes.
c.
As shown on Fig. 6, the failure of six data nodes occupying all six intersections of four parity stripes: there are 4 similar fatal sextuple failures. As a result, the fraction of all sextuple failures that will result in a data loss is: ( − 1) ( − 5) +2 + 2 3 4 = 6 Here too, this fraction quickly decreases as the size of the array increases: less than 3.10-5 of all sextuple failures are fatal in arrays with more than 45 data nodes and 20 parity nodes. IV. A COMPARISON STUDY We wanted to compare the level of data loss protection provided by complete two-dimensional RAID arrays with those achieved by unidimensional m-out-of-m+k organizations using the same number of parity nodes to protect the contents of the same number of data nodes against all possible quadruple node failures. We selected an organization consisting of /2 stripes each containing − 1 data nodes and four parity nodes. Each stripe thus constitutes a separate n–1-outof-n+3 This organization will tolerate without any data loss: 1. The simultaneous failures of up to four nodes. 2. The simultaneous failure of five nodes except when the five failed nodes are all located in the same stripe. −1 There are such failures out of possible 5 5 quintuple node failures. As a result, only a fraction −1 5 ′= 2 5 of all quintuple failures will result in a data loss. 3. The simultaneous failure of six nodes except when five of the six failed nodes are all located in the same −1 stripe. There are ( − 5) failures out of 5
possible sextuple node failures. As a result, only 6 a fraction:
Fatal quintuple failures
Fatal sextuple failures
2-D RAID 6
2-D RAID 6
1-D codes
1-D codes
14
6
42
87
378
27
15
378
465
8,316
44
28
1,848
1,498
72,072
65
45
6,435
3,630
386,100
90
66
18,018
7,425
1,531,530
119
91
43,316
13,559
4,938,024
152
120
93,024
22,820
13,674,528
189
153
183,141
36,108
33,69,7944
230
190
336,490
54,435
75,710,250
275
231
584,430
78,925
157,796,100
324
276
968,760
110,814
309,034,440
377
325
154,3815
151,450
574,299,180
−1 ( − 5) 5 ′= 2 6 of all sextuple failures will result in a data loss. Table I presents the results of our comparison. As we can see, the unidimensional organization has significantly more fatal quintuple and sextuple failures than our complete twodimensional RAID level 6 array. In fact, our scheme experiences between 87 and 99.99 percent fewer fatal quintuple failures and between 77 and 99.98 percent fewer fatal sextuple failures than the unidimensional organization does. V. POSSIBLE EXTENSIONS Since all fatal quintuple failures involve parity nodes, adding superparity nodes provides an easy cost-effective way to protect the array contents against all fatal quintuple failures. As their name suggests superparity nodes act as parity nodes for regular parity nodes [7]. In our case, we will use them to allow the array to recover from a failure of two pairs of parity nodes. The most cost-effective way to achieve this goal is to connect all P parity nodes or all Q parity nodes (but not both) in a n-out-of-n+2 stripe. Fig. 7 shows one such organization. Adding two superparity nodes to the array will also dramatically reduce the number of fatal sextuple failures. Recall that three possible sextuple configurations were responsible for all data loss cases in the presence of six failures: 1. The sole fatal sextuple failures involving one arbitrary data node and the four parity nodes on its two parity stripes must also involve one of the two superparity nodes. There are ( − 1) such sextuple failures.
Q1
Q2
P1
S1 S2
P2
TABLE II COMPARED
NUMBERS OF FATAL SEXTUPLE FAILURES WITH AND WITHOUT SUPERPARITY NODES.
D12 D24
D13
D34 D23
D14
P3
P4
Q3
Q4
Fig. 7. A small complete two-dimensional array with two superparity devices, S1 and S2, protecting the contents of parity nodes Q1 to Q4.
There are only 2 3 possible fatal sextuple failures involving three data nodes on the same three parity stripes and one failed parity node in each of these three parity stripes because failed parity nodes must now be either all P parities or all Q parities. 3. The failures of six data nodes occupying six intersections of four parity stripes remain fatal failures. As a result, the fraction of all sextuple failures that will still result in a data loss is: 2.
= with
2
2
+2
= 2 + ( − 1)/2 + 2.
3
+
4
6
As Table II shows, adding two superparity nodes to the array eliminates 85 percent of all fatal sextuple failures for all arrays with more than 46 nodes. Adding more superparity nodes would only have a marginal impact on the array resilience as it would still leave the array vulnerable to the simultaneous failures of six data nodes occupying six intersections of four parity stripes. The most obvious way to eliminate these fatal sextuple failures would be to replace all the array RAID 6 level stripes by m-out-of-m+3 stripes. The new array would have ( − 1)⁄2 data nodes and 3 parity nodes. It would tolerate the failure of up to six of its 3 + ( − 1)⁄2 nodes without data loss but would be still subject to some fatal sextuple failures, namely the failures of a data node and the six parity nodes on its two data stripes.
With superparity nodes
Number of nodes
Fatal sextuple failures
Number of nodes
Fatal sextuple failures
14 27 44 65 90 119 152 189 230 275 324 377
87 465 1,498 3,630 7,425 13,559 22,820 36,108 54,435 78,925 110,814 151,450
16 29 46 67 92 121 154 192 232 277 326 379
21 85 238 540 1,067 1,911 3,180 4,998 75,05 10,857 15,226 20,800
More work is still needed to evaluate how many fatal septuple failures the array can tolerate either through complete enumeration or through a Monte-Carlo method. REFERENCES [1] [2]
[3] [4]
[5]
[6]
[7]
[8]
VI. CONCLUSION We have analyzed the performance of the first twodimensional RAID arrays tolerating quadruple failures. These arrays start with RAID level 6 parity stripes with two parity sections of these stripes. Our study has shown that these arrays experience between 87 and 99.99 percent fewer fatal quintuple failures and between 77 and 99.98 fewer fatal sextuple failures than multiple n-out-of-n+k arrays with the same storage capacity and the same space overhead. In addition, adding two superparity nodes to the array eliminates all fatal quintuple failures and 85 percent of all sextuple failures.
W/o superparity nodes
[9]
I. S. Reed and G. Solomon, “Polynomial codes over certain finite fields", SIAM Journal, Vol. 8, No. 2, pp. 300–304, 1960. B. Beach, “BackBlaze Open Sources Reed-Solomon erasure coding source code,” https://www.backblaze.com/blog/reed-solomon/, June 16, 2015 [Accessed Jan 29, 2025]. T. J. E. Schwarz, “Reliability and Performance of Disk Arrays,” Ph.D. Dissertation, Dept. of CSE, University of California, San Diego, 1994. L. Hellerstein, G. Gibson, R. M. Karp, R. H. Katz, and D.A. Patterson. “Coding techniques for handling failures in large disk arrays,” Algorithmica, 12(3-4):182-208, June 1994 W. S. Lee, “Two-dimensional storage array with prompt parity in one dimension and delayed parity in a second dimension,” US Patent #6675318 B1, 2004. T. Schwarz, SJ, D. D. E. Long and J.-F. Pâris, “Reliability of Disk Arrays with Double Parity,” Proc. 19th IEEE Pacific Rim International Symposium on Dependable Computing (PRDC 2013), Vancouver, BC, Canada, Dec. 2013, pages 108–117. A. Wildani, T. J. E. Schwarz, E. L. Miller and D. D. E. Long, “Protecting against rare event failures in archival systems,” Proc. 17th IEEE International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems (MASCOTS '09), London, GB, Sep. 2009, pp. 246–256. W. A. Burkhard, J. Menon, “Disk array storage system reliability,” Proc. 23rd International Symposium on Fault-Tolerant Computing (FTCS-19) Chicago, IL, June 1993, pp. 432–441 (1993) J.-F. Pâris, T. Schwarz, SJ, A. Amer and D. D. E. Long, “Protecting RAID arrays against unexpectedly high disk failure rates,” Proc. 20th IEEE Pacific Rim International Symposium on Dependable Computing (PRDC 2014), Singapore, Nov. 2014, pp. 68–75.
Related documents
- Compact Two-dimensional RAID Level 6 Arrays Tolerating Quadruple Node Failures#1760861
- Reflectarray to Generate Four Adjacent Beams per Feed for Multispot Satellite Antennas#1299351
- On the existence of mixed orthogonal arrays of strength two with six factors#1386745
- Multicentennial resolution proxy records from splicings of MD96-2080 and MD02-2594, Agulhas Bank Splice (ABS)#453100
- Realization of rectangular artificial spin ice and direct observation of high energy topology.#1272175
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive