# US 2018/0024886 A1 · Efficient method for rebuilding a set of encoded data slices

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

- Number: US 2018/0024886 A1
- Document ID: US20180024886A1
- Status: Published application
- Kind: A1
- Application number: 15/215,418
- Filed: 2016-07-20
- Published: 2018-01-25
- Earliest claimed: 2016-07-20
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Asimuddin Kazi
- Web page: https://patentgrep.com/patent/US20180024886A1

## CPC

- G06F 11/1092: {Rebuilding, e.g. when physically replacing a failing disk}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/064: {Management of blocks}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 11/1088: {Reconstruction on already foreseen single or plurality of spare disks}
- G06F 3/065: {Replication mechanisms}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 9/50: Allocation of resources, e.g. of the central processing unit [CPU]
- G06F 11/2094: {Redundant storage or storage space (G06F11/2056 takes precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method begins by a dispersed storage (DS) processing module identifying an encoded slice requiring rebuilding. The method continues by the DS processing module determining whether the encoded data slice is part of a fan-out encoded data slice group and, when it is part of a fan-out encoded data slice group determining by the DS processing module whether a valid encoded data slice of the fan-out data slice group is available. When a copy of the encoded data slice of the fan-out encoded data slice group is not available, the method continues by the DS processing module rebuilding the encoded data slice. A storage unit then stores the rebuilt encoded data slice and creates copies of the rebuilt encoded data slice to produce a rebuilt fan-out encoded data slice group.

## Claims

### Claim 1

A method comprises:
identifying, by a device of a dispersed storage network (DSN), an encoded data slice requiring rebuilding;
determining, by the device, whether the encoded data slice is part of a fan-out encoded data slice group;
when the encoded data slice is part of the fan-out encoded data slice group:
determining, by the device, whether a copy of a valid encoded data slice of the fan-out encoded data slice group is available;
when a copy of the encoded data slice of the fan-out encoded data slice group is not available, rebuilding, by the device or another device, the encoded data slice to produce a rebuilt encoded data slice;
storing, by a storage unit, the rebuilt encoded data slice;
and creating, by the storage unit, one or more copies of the rebuilt encoded data slice to produce a rebuilt fan-out encoded data slice group.

### Claim 2 (depends on 1)

The method of claim 1, further comprising propagating storage of copies of the rebuilt encoded data slice within the storage unit when the valid encoded data slice of the fan-out encoded data slice group is not available.

### Claim 3 (depends on 1)

The method of claim 1, further comprising propagating storage of copies of the rebuilt encoded data slice to other storage units with same pillar number when the valid encoded data slice of the fan-out encoded data slice group is not available.

### Claim 4 (depends on 1)

The method of claim 1, where the number of encoded data slice copies in the fan-out encoded data slice group is based on data embedded in a fan-out request, a rebuild request, and/or slice name.

### Claim 5 (depends on 1)

The method of claim 1, where the storage location of one or more rebuilt encoded data slice copies in a fan-out encoded data slice group is based on data embedded in a fan-out request, a rebuild request, and/or a slice name.

### Claim 6 (depends on 1)

The method of claim 1, further comprising rebuilding the encoded data slice without creating copies of the rebuilt encoded data slice when encoded data slice requiring rebuilding is determined not to be part of a fan-out encoded data slice group.

### Claim 7 (depends on 1)

The method of claim 1, further comprising replacing the encoded data slice requiring rebuilding with a copy of a valid encoded data slice of the fan-out encoded data slice group when the copy of a valid encoded data slice is available.

### Claim 8 (depends on 1)

The method of claim 1, wherein the requiring the rebuilding of the encoded data slice is further based on the storage unit not having received the encoded data slice and/or because the encoded data slice is corrupt.

### Claim 9 (depends on 1)

The method of claim 1, wherein rebuilding the encoded data slice to produce a rebuilt encoded data slice is completed before creating copies of the rebuilt encoded data slice to produce a rebuilt fan-out encoded data slice group.

### Claim 10 (depends on 1)

The method of claim 1, wherein the determination that an encoded data slice requiring rebuilding is part of a fan-out encoded data slice group further comprises using a look-up table, accessing the encoded data slice name, and/or accessing a rebuild message.

### Claim 11 (depends on 1)

The method of determining, by the device, whether the encoded data slice is part of a fan-out encoded data slice group of claim 1 further comprising:
determining that other copies of the encoded data slice are available;
and if other copies are available requesting a copy of the encoded data slice from the storage unit where the encoded data slice is stored; and
if other copies of the encoded data slice are not available, requesting rebuilding of the encoded data slice by the dispersed storage network (DSN) before sending copies of the encoded data slice to the fan-out encoded data slice group. slice in need of rebuilding.

### Claim 12

A computer readable memory comprises:
a first memory element that stores operational instructions that, when executed by a computing device of a dispersed storage network (DSN), causes the computing device to:
determine that an encoded data slice requires rebuilding;
determine that the encoded data slice requiring rebuilding is part of a fan-out encoded data slice group;
when the encoded data slice is determined to be part of the fan-out encoded data slice group:
determine whether a copy of a valid encoded data slice of the fan-out encoded data slice group is available;
when a copy of the valid encoded data slice of the fan-out encoded data slice group is not available, rebuild the encoded data slice to produce a rebuilt encoded data slice;
a second memory element that stores operational instructions that, when executed by a storage unit of the DSN, causes the storage unit to:
direct the memory to store the rebuilt encoded data slice; and
create copies of the rebuilt encoded data slice to produce a rebuilt fan-out encoded data slice group.

### Claim 13 (depends on 12)

The computer readable memory of claim 12 wherein the second memory element further causes the storage unit to further propagate copies of the rebuilt encoded data slice within the storage unit.

### Claim 14 (depends on 12)

The computer readable memory of claim 12 wherein the second memory element further causes the storage unit to further propagate storage of copies of the rebuilt encoded data slice to other storage units with same pillar number.

### Claim 15 (depends on 12)

The computer readable memory of claim 12 wherein the first memory element further causes the computing device to access data embedded in an encoded data slice name associated with the encoded data slice to determine the number of rebuilt encoded data slice copies in the fan-out encoded data slice group.

### Claim 16 (depends on 12)

The computer readable memory of claim 12 wherein the first memory element further causes the computing device to access data embedded in an encoded data slice name associated with the encoded data slice to determine the storage location of one or more encoded data slice copies in a fan-out encoded data slice group.

### Claim 17 (depends on 12)

The computer readable memory of claim 12, wherein when the copy of a valid encoded data slice is available the first memory element further causes the computing device to replace the encoded data slice requiring rebuilding with a copy of a valid encoded data slice.

### Claim 18 (depends on 12)

The computer readable memory of claim 12, wherein the first memory element further causes the computing device to determine that the encoded data slice requires rebuilding based on the storage unit not having received the encoded data slice and/or because the encoded data slice is corrupt.

### Claim 19 (depends on 12)

The computer readable memory of claim 12, wherein the second memory element further causes the storage unit to:
rebuild the encoded data slice to produce a rebuilt encoded data slice is completed before creating copies of the rebuilt encoded data slice to produce a rebuilt fan-out encoded data slice group.

### Claim 20 (depends on 12)

The computer readable memory of claim 12, wherein the first memory element further accesses a look-up table to determine whether an encoded data slice requiring rebuilding is part of a fan-out encoded data slice group.
