# US 2021/0286673 A1 · Coexisting Differing Erasure Codes

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

- Number: US 2021/0286673 A1
- Document ID: US20210286673A1
- Status: Published application
- Kind: A1
- Application number: 17/327,250
- Filed: 2021-05-21
- Published: 2021-09-16
- Earliest claimed: 2014-06-04
- Assignees: Pure Storage, Inc.
- Applicants: Pure Storage, Inc.
- Inventors: John Martin Hayes; John Colgrove; Robert Lee; Igor Ostrovsky; Joshua P. Robinson
- Web page: https://patentgrep.com/patent/US20210286673A1

## CPC

- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 11/108: {Parity data distribution in semiconductor storages, e.g. in SSD}
- G06F 11/1088: {Reconstruction on already foreseen single or plurality of spare disks}
- G06F 11/1096: {Parity calculation or recalculation after configuration or reconfiguration of the system}
- G06F 11/1415: {at system level}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for proactively rebuilding user data in a plurality of storage nodes of a storage cluster is provided. The method includes distributing user data and metadata throughout the plurality of storage nodes such that the plurality of storage nodes can read the user data, using erasure coding, despite loss of two of the storage nodes. The method includes determining that one of the storage nodes is unreachable and determining to rebuild the user data for the one of the storage nodes that is unreachable. The method includes reading the user data across a remainder of the plurality of storage nodes, using the erasure coding and writing the user data across the remainder of the plurality of storage nodes, using the erasure coding. A plurality of storage nodes within a single chassis that can proactively rebuild the user data stored within the storage nodes is also provided.

## Claims

### Claim 1

A storage system, comprising:
a plurality of storage nodes configured to communicate together;
each of the plurality of storage nodes having nonvolatile solid-state memory for data storage;
the plurality of storage nodes configured to recover data written according to a first erasure coding scheme; and
the plurality of storage nodes configured to write the recovered data according to a second erasure coding scheme.

### Claim 2 (depends on 1)

The storage cluster of claim 1, wherein the solid-state memory includes flash memory.

### Claim 3 (depends on 1)

The storage cluster of claim 1, wherein two differing erasure codes coexist in one of the plurality of storage nodes.

### Claim 4 (depends on 1)

The storage cluster of claim 1, wherein data recovery is initiated responsive to a.

### Claim 5 (depends on 1)

The storage cluster of claim 1, further comprising:
the plurality of storage nodes configured to initiate data recovery based on lack of a heartbeat of one of the plurality of storage nodes that is unreachable.

### Claim 6 (depends on 1)

The storage cluster of claim 1, wherein data recovery is initiated independent of an attempt to read the data.

### Claim 7 (depends on 1)

The storage cluster of claim 1, wherein to recover the data comprises:
reading a redundant copy of the data in accordance with the first erasure coding scheme.

### Claim 8 (depends on 1)

The storage cluster of claim 1, wherein recovery of the data written according to the first erasure coding scheme is responsive to one of the plurality of storage nodes being unreachable.

### Claim 9 (depends on 1)

The storage cluster of claim 1, wherein segments of the data are owned by differing authorities.

### Claim 10

A method, comprising:
reading data distributed across a plurality of storage nodes, using a first erasure coding scheme responsive to a determination to rebuild the data for one of the plurality of storage nodes; and
writing the read data across the plurality of storage nodes, using a second erasure coding scheme, wherein each storage node of the plurality of storage nodes is configured to decide whether the second erasure coding scheme is one of a same erasure coding scheme or a differing erasure coding scheme from the first erasure coding scheme.

### Claim 11 (depends on 10)

The method of claim 10, wherein reading the data across the plurality of storage nodes using a first erasure coding scheme comprises:
recovering the data in accordance with a data striping scheme governed by the first erasure coding scheme.

### Claim 12 (depends on 10)

The method of claim 10, further comprising:
determining that the one of the plurality of storage nodes is unreachable based on a timeout associated with a read of the data.

### Claim 13 (depends on 10)

The method of claim 10, further comprising:
determining that the one of the plurality of storage nodes is unreachable is independent of a request from outside the plurality of storage nodes to read the data.

### Claim 14 (depends on 10)

The method of claim 10, wherein the plurality of storage nodes are distributed across a plurality of chassis.

### Claim 15 (depends on 10)

The method of claim 10, further comprising:
reassigning, to one of the remainder of the plurality of storage nodes, entities owned by the unreachable storage node, wherein the entities include units of data.

### Claim 16 (depends on 10)

The method of claim 10, wherein segments of the data are owned by differing authorities.

### Claim 17

A tangible, non-transitory, computer-readable media having instructions thereupon which, when executed by a processing device, cause the processing device to:
read data distributed across a plurality of storage nodes, using a first erasure coding scheme responsive to a determination to rebuild the data for one of the plurality of storage nodes; and
write the read data across the plurality of storage nodes, using a second erasure coding scheme.

### Claim 18 (depends on 17)

The computer readable media of claim 17, wherein reading the data across the plurality of storage nodes using a first erasure coding scheme comprises:
recovering the data in accordance with a data striping scheme governed by the first erasure coding scheme.

### Claim 19 (depends on 17)

The computer readable media of claim 17, wherein the first erasure coding scheme is different than the second erasure coding scheme.

### Claim 20 (depends on 17)

The computer readable media of claim 17, wherein the processor is further configured to:
determine that the one of the plurality of storage nodes is unreachable is independent of a request from outside the plurality of storage nodes to read the data.
