IP Library Granted Patent US 7,640,484
Granted Patent B2
US 7,640,484 · App. 11/304,369 · Granted Dec 29, 2009

Triple parity technique for enabling efficient recovery from triple failures in a storage array

Assignee: NetApp, Inc.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,640,484
App. No.
11/304,369
Granted
Dec 29, 2009
Kind
B2
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.

Claims (27)

1. A method for enabling recovery from three or fewer concurrent failures of storage devices in a storage array, comprising:

providing the away 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;

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; and

computing and storing the anti-diagonal parity for all the diagonal parity sets except one on the anti-diagonal parity device.

2. The method of claim 1 wherein row parity blocks in a stripe are all stored on a single device.

3. The method of claim 1 wherein the first devices include a plurality of data devices, and wherein the data devices are not all present and absent data devices are treated as containing all zeroes for calculating parity.

4. The method of claim 1 wherein locations of parity blocks shift from device to device within different stripes.

5. The method of claim 1 wherein the stripes are a power of two number of bits in size.

6. The method of claim 1 , wherein all blocks belonging to diagonal parity sets of a stripe are configured in the stripe.

7. The method of claim 1 , wherein all blocks belonging to the anti-diagonal parity sets of a stripe are configured in the stripe.

8. A system to enable recovery from three or fewer concurrent failures of storage devices in a storage array, comprising:

the storage array configured 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, wherein each device is divided into blocks and the blocks are organized into stripes that contain a same number of blocks in each device, wherein each stripe comprises n−3 rows of blocks;

the diagonal parity defined along diagonal parity sets that span the first devices, wherein the diagonal parity sets wrap around within a group of n−3 rows;

the anti-diagonal parity defined 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; and

a storage operating system including a device storage layer configured to compute and store the diagonal parity for all of the diagonal parity sets except one on the diagonal parity device, and to compute and store the anti-diagonal parity for all the diagonal parity sets except one on the anti-diagonal parity device.

9. The system of claim 8 , wherein row parity blocks in a stripe are all stored on a single device.

10. The system of claim 8 , wherein the device storage layer is a RAID system and wherein the storage devices are disks.

11. The system of claim 8 , wherein the devices are one of video tape, magnetic tape, optical, DVD, bubble memory, magnetic disk, electronic random access memory and micro-electro mechanical storage devices.

12. The system of claim 8 , wherein the first devices include a plurality of data devices, and wherein the data devices are not all present and absent data devices are treated as containing all zeroes for calculating parity.

13. The system of claim 8 , wherein row parity blocks are rotated through a plurality of devices in a stripe.

14. The system of claim 8 , wherein the device storing row parity, diagonal parity, anti-diagonal parity, or data device varies from stripe to stripe.

15. The system of claim 8 , wherein all blocks belonging to diagonal parity sets of a stripe are configured in the stripe.

16. The system of claim 8 , wherein all blocks belonging to the anti-diagonal parity sets of a stripe are configured in the stripe.

Assignments (2)
CHANGE OF NAME Recorded Nov 3, 2010
From: NETWORK APPLIANCE, INC.
To: NETAPP, INC.
Reel/Frame 025238/0542 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 14, 2006
From: CORBETT, PETER F.; GOEL, ATUL
To: NETWORK APPLIANCE, INC.
Reel/Frame 017657/0969 →
Continuity (2)
Continuation In Part 1003560700 · Dec 28, 2001
Related Publication 20070089045A1 · Apr 19, 2007