Triple parity technique for enabling efficient recovery from triple failures in a storage array
First Claim
1. A method for enabling recovery from three or fewer concurrent failures of storage devices in a storage array, the method comprising the steps of:
- providing the array with a predetermined number of storage devices, including a plurality of first devices configured to store data and row parity, one diagonal parity device configured to store diagonal parity and one anti-diagonal parity device configured to store anti-diagonal parity, wherein the predetermined number of storage devices n is p+2 and wherein p is a prime number;
dividing each device into blocks;
organizing the blocks into stripes that contain a same number of blocks in each device, wherein each stripe comprises n−
3 rows of blocks;
defining the diagonal parity along diagonal parity sets that span the first devices, wherein the diagonal parity sets wrap around within a group of n−
3 rows so that all blocks belonging to diagonal parity sets of a stripe are stored in the stripe;
computing and storing the diagonal parity for all of the diagonal parity sets except one on the diagonal parity device. defining the anti-diagonal parity along anti-diagonal parity sets that span the first devices, wherein the anti-diagonal parity set wraps around within a group of n−
3 rows so that all blocks belonging to the anti-diagonal parity sets of a stripe are stored in the stripe; and
computing and storing the anti-diagonal parity for all the diagonal parity sets except one on the anti-diagonal parity device.
2 Assignments
0 Petitions
Accused Products
Abstract
A triple parity (TP) technique reduces overhead of computing diagonal and anti-diagonal parity for a storage array adapted to enable efficient recovery from the concurrent failure of three storage devices in the array. The diagonal parity is computed along diagonal parity sets that collectively span all data disks and a row parity disk of the array. The parity for all of the diagonal parity sets except one is stored on the diagonal parity disk. Similarly, the anti-diagonal parity is computed along anti-diagonal parity sets that collectively span all data disks and a row parity disk of the array. The parity for all of the anti-diagonal parity sets except one is stored on the anti-diagonal parity disk. The TP technique provides a uniform stripe depth and an optimal amount of parity information.
137 Citations
35 Claims
-
1. A method for enabling recovery from three or fewer concurrent failures of storage devices in a storage array, the method comprising the steps of:
-
providing the array with a predetermined number of storage devices, including a plurality of first devices configured to store data and row parity, one diagonal parity device configured to store diagonal parity and one anti-diagonal parity device configured to store anti-diagonal parity, wherein the predetermined number of storage devices n is p+2 and wherein p is a prime number;
dividing each device into blocks;
organizing the blocks into stripes that contain a same number of blocks in each device, wherein each stripe comprises n−
3 rows of blocks;
defining the diagonal parity along diagonal parity sets that span the first devices, wherein the diagonal parity sets wrap around within a group of n−
3 rows so that all blocks belonging to diagonal parity sets of a stripe are stored in the stripe;
computing and storing the diagonal parity for all of the diagonal parity sets except one on the diagonal parity device. defining the anti-diagonal parity along anti-diagonal parity sets that span the first devices, wherein the anti-diagonal parity set wraps around within a group of n−
3 rows so that all blocks belonging to the anti-diagonal parity sets of a stripe are stored in the stripe; and
computing and storing the anti-diagonal parity for all the diagonal parity sets except one on the anti-diagonal parity device. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A system configured to enable recovery from three or fewer concurrent failures of two storage devices, the system comprising:
-
an array having a predetermined number of storage devices, including a plurality of first devices configured to store data and row parity, one diagonal parity device configured to store diagonal parity and one anti-diagonal parity device configured to store anti-diagonal parity, wherein the predetermined number of storage devices n is p+2 and wherein p is a prime number;
a storage operating system including a device storage layer configured to implement a triple parity (TP) technique that (i) computes the diagonal parity along diagonal parity sets that span the first devices, (ii) stores the diagonal parity for all of the diagonal parity sets except one on the diagonal parity device, (iii) computes the anti-diagonal parity along anti-diagonal parity sets that span the first devices, and (iv) stores the anti-diagonal parity for all of the anti-diagonal parity sets except one on the anti-diagonal parity device; and
a processing element configured to execute the storage operating system to thereby invoke storage access operations to and from the array in accordance with the TP parity technique. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13)
-
-
14. An apparatus for enabling recovery from three or fewer concurrent failures of two storage devices in a storage array, the apparatus comprising:
-
means for providing the array with a predetermined number of storage devices, including a plurality of first devices configured to store data and row parity, one diagonal parity device configured to store diagonal parity and one anti-diagonal parity device configured to store anti-diagonal parity, wherein the predetermined number of storage devices n is p+2 and wherein p is a prime number;
means for dividing each device into blocks;
means for organizing the blocks into stripes that contain a same number of blocks in each device, wherein each stripe comprises n−
3 rows of blocks;
means for defining the diagonal parity along diagonal parity sets that span the first devices, wherein the diagonal parity sets wrap around within a group of n−
3 rows so that all blocks belonging to diagonal parity sets of a stripe are stored in the stripe;
means for computing and storing the diagonal parity for all of the diagonal parity sets except one on the diagonal parity device;
means for defining the anti-diagonal parity along anti-diagonal parity sets that span the first devices, wherein the anti-diagonal parity set wraps around within a group of n−
3 rows so that all blocks belonging to the anti-diagonal parity sets of a stripe are stored in the stripe; and
means for computing and storing the anti-diagonal parity for all the anti-diagonal parity sets except one on the anti-diagonal parity device. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21)
-
-
22. A computer readable medium containing executable program instructions for enabling recovery from two or fewer concurrent failures of two storage devices in a storage array, the executable program instructions comprising program instructions for:
-
providing the array with a predetermined number of storage devices, including a plurality of first devices configured to store data and row parity, one diagonal parity device configured to store diagonal parity and one anti-diagonal parity device configured to store anti-diagonal parity, wherein the predetermined number of storage devices n is p+2 and wherein p is a prime number;
dividing each device into blocks;
organizing the blocks into stripes that contain a same number of blocks in each device, wherein each stripe comprises n−
3 rows of blocks;
defining the diagonal parity along diagonal parity sets that span the first devices, wherein the diagonal parity sets wrap around within a group of n−
3 rows so that all blocks belonging to diagonal parity sets of a stripe are stored in the stripe;
computing and storing the diagonal parity for all of the diagonal parity sets except one on the diagonal parity device;
defining the anti-diagonal parity along anti-diagonal parity sets that span the first devices, wherein the anti-diagonal parity set wraps around within a group of n−
3 rows so that all blocks belonging to the anti-diagonal parity sets of a stripe are stored in the stripe; and
computing and storing the anti-diagonal parity for all the diagonal parity sets except one on the anti-diagonal parity device. - View Dependent Claims (23)
-
-
24. A method for enabling recovery from three or fewer concurrent failures of three storage devices in a storage array, the method comprising the steps of:
-
providing the array with a predetermined number of storage devices, including a plurality of first devices configured to store data and row parity, one diagonal parity device configured to store diagonal parity and one anti-diagonal parity device configured to store anti-diagonal parity;
computing the diagonal parity along diagonal parity sets that span the first devices;
storing the diagonal parity for all of the diagonal parity sets except one on the diagonal parity device;
computing the anti-diagonal parity along anti-diagonal parity sets that span the first devices; and
storing the anti-diagonal parity for all of the anti-diagonal parity sets except one on the anti-diagonal parity device. - View Dependent Claims (25, 26, 27)
-
-
28. A method for enabling recovery from three concurrent failures of storage devices in a storage array, the method comprising the steps of:
-
computing a dropped diagonal parity and anti-diagonal parity;
computing an algebraic operation on missing blocks on each of a set of failed storage devices along a row, a diagonal and an anti-diagonal; and
computing a set of 4-tuple sums on a middle failed storage device. - View Dependent Claims (29, 30, 31, 32, 33, 34, 35)
-
Specification