# US 11,119,856 B2 · Method and system for multi-dimensional RAID

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,119,856 B2
- Document ID: US11119856B2
- Status: Granted
- Kind: B2
- Application number: 17/060,946
- Filed: 2020-10-01
- Published: 2021-02-18
- Granted: 2021-09-14
- Earliest claimed: 2012-03-23
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Jeffrey S. Bonwick
- Web page: https://patentgrep.com/patent/US11119856B2

## CPC

- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/064: {Management of blocks}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 11/108: {Parity data distribution in semiconductor storages, e.g. in SSD}
- G06F 11/1096: {Parity calculation or recalculation after configuration or reconfiguration of the system}
- G06F 2211/1057: Parity-multiple bits-RAID6, i.e. RAID 6 implementations
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for storing data. The method includes receiving data to write to persistent storage, calculating parity values for a grid using the data, where each of the parity values is associated with one selected from of the Row Q Parity Group, the Row P Parity Group, the Column Q Parity Group, the Column P Parity Group, and the Intersection Parity Group. The method further includes writing the data to a data grid in the persistent storage, where the data grid is part of the grid, and writing the parity values for the grid to a portion of the grid, where the portion of the grid comprises physical locations associated with a Row Q Parity Group, a Row P Parity Group, a Column Q Parity Group, a Column P Parity Group, and an Intersection Parity Group, wherein the portion of the grid is distinct from the data grid.

## Claims

### Claim 1

A method for managing data in a storage array comprising persistent storage, the method comprising:
receiving, by a controller, the data to write to the storage array;
in response to the receiving, temporarily storing the data in a grid in a memory operatively connected to the controller until parity values associated with the data are calculated;
calculating the parity values for the grid using the data,
wherein the grid comprises a data grid and a parity portion;
wherein the grid comprises a plurality of grid locations,
wherein a first portion of the grid locations is associated with the data grid;
wherein a second portion of the grid locations is associated with the parity portion;
wherein each of the plurality of grid locations is associated with a physical location in the storage array, wherein each physical location in the storage array is associated with a tuple specifying at least two independent fault domains in the storage array;
wherein the parity portion comprises a Row Q Parity Group, a Row P Parity Group, a Column Q Parity Group, a Column P Parity Group, and an Intersection Parity Group,
wherein each of the parity values is associated with one selected from a group consisting of the Row Q Parity Group, the Row P Parity Group, the Column Q Parity Group, the Column P Parity Group, and the Intersection Parity Group, and
wherein the parity values associated with the Intersection Parity Group are calculated using the parity values from at least one selected from a group consisting of the Row Q Parity Group, the Row P Parity Group, the Column Q Parity Group, and the Column P Parity Group;
after the parity values are calculated:
writing, using the controller, the data that is stored in the memory to the first portion of the grid locations,
wherein each of the grid locations associated with the first portion of the grid locations comprises a portion of the data,
wherein writing the data to the first portion of the grid locations comprises using the tuples associated with the first portion of the grid locations; and
writing, using the controller, the parity values for the grid to the second portion of the grid locations,
wherein the grid locations in the second portion of the grid are associated with physical locations in the storage array associated with the Row Q Parity Group, the Row P Parity Group, the Column Q Parity Group, the Column P Parity Group, and the Intersection Parity Group,
wherein writing the parity values to the second portion of the grid locations comprises using the tuples associated with the second portion of the grid locations.

### Claim 2 (depends on 1)

The method of claim 1, wherein the storage array comprises a plurality of storage modules, wherein each of the plurality of storage modules comprises solid state memory, and wherein a first independent fault domain of the at least two independent fault domains is the plurality of storage modules and a second independent fault domain of the at least two independent fault domains is a plurality of channels in each of the plurality of storage modules.

### Claim 3 (depends on 2)

The method of claim 2, wherein a third independent fault domain of the at least two independent fault domains is a plurality NAND dies in the plurality of storage modules.

### Claim 4 (depends on 1)

The method of claim 1, wherein the storage array comprises solid state memory.

### Claim 5 (depends on 4)

The method of claim 4, wherein the solid state memory comprises NAND flash.

### Claim 6 (depends on 1)

The method of claim 1, wherein the parity values associated with the Intersection Parity Group are not calculated using any of the data.

### Claim 7 (depends on 1)

The method of claim 1, wherein the grid comprises a plurality of rows, wherein a location of a parity value from the Row P Parity Group in a first row of the plurality of rows is in a different relative location as compared to a location of a parity value from the Row P Parity Group in a second row of the plurality of rows.

### Claim 8 (depends on 1)

The method of claim 1,
wherein the grid comprises a plurality of rows, wherein a row of the plurality of rows in the grid is associated with at least one parity value from the Row P Parity Group and the Row Q Parity Group;
wherein the grid comprises further comprises a plurality of columns, wherein a column of the plurality of columns in the grid is associated with at least one parity value from the Column P Parity Group and the Column Q Parity Group.

### Claim 9 (depends on 8)

The method of claim 8,
wherein at least one of the plurality of rows only consists of parity values from the Row P Parity Group and the Intersection Parity Group; and
wherein at least one of the plurality of rows only consists of parity values from the Row Q Parity Group and the Intersection Parity Group.

### Claim 10

A system, comprising:
a controller;
a memory operatively connected to the controller;
a non-transitory computer readable medium operatively connected to the controller;
a storage array operatively connected to the controller and comprising a plurality of storage modules;
wherein the non-transitory computer readable medium comprises instructions which when executed by the controller performs a method, the method comprising:
receiving data to write to the storage array;
in response to the receiving, temporarily storing the data in a grid in the memory until parity values associated with the data are calculated;
calculating the parity values for the grid using the data,
wherein the grid comprises a data grid and a parity portion;
wherein the grid comprises a plurality of grid locations,
wherein a first portion of the grid locations is associated with the data grid;
wherein a second portion of the grid locations is associated with the parity portion;
wherein each of the plurality of grid locations is associated with a physical location in the storage array, wherein each physical location in the storage array is associated with a tuple specifying at least two independent fault domains in the storage array;
wherein the parity portion comprises a Row Q Parity Group, a Row P Parity Group, a Column Q Parity Group, a Column P Parity Group, and an Intersection Parity Group,
wherein each of the parity values is associated with one selected from a group consisting of the Row Q Parity Group, the Row P Parity Group, the Column Q Parity Group, the Column P Parity Group, and the Intersection Parity Group, and
wherein the parity values associated with the Intersection Parity Group are calculated using the parity values from at least one selected from a group consisting of the Row Q Parity Group, the Row P Parity Group, the Column Q Parity Group, and the Column P Parity Group;
after the parity values are calculated:
writing the data that is stored in the memory to the first portion of the grid locations,
wherein each of the grid locations associated with the first portion of the grid locations comprises a portion of the data,
wherein writing the data to the first portion of the grid locations comprises using the tuples associated with the first portion of the grid locations; and
writing the parity values for the grid to the second portion of the grid locations,
wherein the grid locations in the second portion of the grid are associated with physical locations in the storage array associated with the Row Q Parity Group, the Row P Parity Group, the Column Q Parity Group, the Column P Parity Group, and the Intersection Parity Group,
wherein writing the parity values to the second portion of the grid locations comprises using the tuples associated with the second portion of the grid locations.

### Claim 11 (depends on 10)

The system of claim 10, further comprising:
a field programmable gate array (FPGA) operatively connected to the controller,
wherein calculating at least one of the parity values using the data comprises using the FPGA to calculate at least one of the parity values.

### Claim 12 (depends on 10)

The system of claim 10, wherein the controller stores a grid geometry for the grid.

### Claim 13 (depends on 12)

The system of claim 12, wherein the grid geometry comprises a size of the grid and specifies the at least two independent fault domains associated with the grid.

### Claim 14 (depends on 13)

The system of claim 13, wherein a first independent fault domain of the at least two independent fault domains is the plurality of storage modules and a second independent fault domain of the at least two independent fault domains is a plurality of channels in each of the plurality of storage modules.

### Claim 15 (depends on 10)

The system of claim 10, wherein the controller is configured to track locations of parity values in the grid.

### Claim 16 (depends on 10)

The system of claim 10, wherein the controller is configured to reconstruct a corrupted datum in the storage array using the parity values in the Intersection Parity Group.

### Claim 17 (depends on 10)

The system of claim 10, wherein at least one physical location in the portion of the grid is associated with a first independent fault domain and a second independent fault domain.

### Claim 18 (depends on 10)

The system of claim 10, wherein the grid comprises a plurality of rows, wherein a location of a parity value from the Row P Parity Group in a first row of the plurality of rows is in a different relative location as compared to a location of a parity value from the Row P Parity Group in a second row of the plurality of rows.

### Claim 19 (depends on 10)

The system of claim 10,
wherein the grid comprises a plurality of rows, wherein a row of the plurality of rows in the grid is associated with at least one parity value from the Row P Parity Group and the Row Q Parity Group;
wherein the grid comprises further comprises a plurality of columns, wherein a column of the plurality of columns in the grid is associated with at least one parity value from the Column P Parity Group and the Column Q Parity Group.

### Claim 20 (depends on 19)

The system of claim 19,
wherein at least one of the plurality of rows only consists of parity values from the Row P Parity Group and the Intersection Parity Group; and
wherein at least one of the plurality of rows only consists of parity values from the Row Q Parity Group and the Intersection Parity Group.
