# US 9,354,972 B2 · Efficiently storing data in a dispersed storage network

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

- Number: US 9,354,972 B2
- Document ID: US9354972B2
- Status: Granted
- Kind: B2
- Application number: 14/953,579
- Filed: 2015-11-30
- Published: 2016-04-07
- Granted: 2016-05-31
- Earliest claimed: 2012-01-31
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Gary W. Grube; Timothy W. Markison
- Web page: https://patentgrep.com/patent/US9354972B2

## CPC

- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/064: {Management of blocks}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 9/50: Allocation of resources, e.g. of the central processing unit [CPU]
- G06F 11/1096: {Parity calculation or recalculation after configuration or reconfiguration of the system}
- G06F 11/14: Error detection or correction of the data by redundancy in operations (error detection or correction of the data by redundancy in hardware G06F11/16)
- G06F 11/2053: {where persistent mass storage functionality or persistent mass storage control functionality is redundant (error detection or correction in information storage based on relative movement between record carrier and transducer G11B20/18)}
- G06F 11/2094: {Redundant storage or storage space (G06F11/2056 takes precedence)}
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- G06F 11/1092: {Rebuilding, e.g. when physically replacing a failing disk}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method includes determining that one or more data blocks of a permanently stored data blocks are to be deleted. In response, the method further includes obtaining a group of partial redundancy data for the permanently stored data blocks. The method further includes identifying a temporarily stored plurality of data blocks for which partial redundancy data does not yet exist. The method further includes creating a new plurality of data blocks from data blocks of the permanently stored plurality of data blocks that are to remain permanently stored and data blocks from the temporarily stored plurality of data blocks that are to be permanently stored. The method further includes permanently storing the new plurality of data blocks. The method further includes generating a new group of partial redundancy data. The method further includes sending the new group of partial redundancy data and the group of partial redundancy data.

## Claims

### Claim 1

A method for execution by a dispersed storage (DS) unit of a dispersed storage network (DSN), the method comprises:
determining that one or more data blocks of a permanently stored plurality of data blocks are to be deleted; and
in response to the determining that the one or more data blocks are to be deleted:
obtaining a group of partial redundancy data for the permanently stored plurality of data blocks;
identifying a temporarily stored plurality of data blocks for which partial redundancy data does not yet exist;
creating a new plurality of data blocks from data blocks of the permanently stored plurality of data blocks that are to remain permanently stored and data blocks from the temporarily stored plurality of data blocks that are to be permanently stored;
permanently storing the new plurality of data blocks;
generating a new group of partial redundancy data based on the new plurality of data blocks and in accordance with a dispersed storage error coding function; and
sending the new group of partial redundancy data and the group of partial redundancy data such that redundancy data DS units are able to generate redundancy data regarding the new plurality of data blocks.

### Claim 2 (depends on 1)

The method of claim 1, wherein the determining that the one or more data blocks of the permanently stored plurality of data blocks are to be deleted comprises:
determining that at least one other DS unit of a set of DS units is storing data blocks that are substantially similar to the one or more data blocks; and
in response to the determining that the at least one other DS unit is storing data blocks that are substantially similar to the one or more data blocks:
determining whether a de-duplication function is to be applied to the one or more data blocks;
when the de-duplication function is to be applied, determining that the one or more data blocks are to be deleted; and
when the de-duplication function is not to be applied, determining that the one or more data blocks are not to be deleted.

### Claim 3 (depends on 1)

The method of claim 1, wherein the determining that the one or more data blocks of the permanently stored plurality of data blocks are to be deleted comprises:
analyzing the permanently stored plurality of data blocks in accordance with data analysis criteria; and
when the analysis of the permanently stored plurality of data blocks is unfavorable, determining that the one or more data blocks of the permanently stored plurality of data blocks are to be deleted.

### Claim 4 (depends on 1)

The method of claim 1, wherein the generating the new group of partial redundancy data based on the new plurality of data blocks comprises:
generating a first partial redundancy data for a first redundancy DS unit based on at least some of the new plurality of data blocks and a first encoding parameter of the dispersed storage error coding function; and
generating a second partial redundancy data for a second redundancy DS unit based on at least another some of the new plurality of data blocks and a second encoding parameter of the dispersed storage error coding function.

### Claim 5

A dispersed storage (DS) module of a dispersed storage (DS) unit of a dispersed storage network (DSN), the DS module comprises:
a first module, when operable within a computing device, causes the computing device to:
determine that one or more data blocks of a permanently stored plurality of data blocks are to be deleted;
a second module, when operable within the computing device, causes the computing device to:
in response to the determining that the one or more data blocks are to be deleted:
obtain a group of partial redundancy data for the permanently stored plurality of data blocks;
identify a temporarily stored plurality of data blocks for which partial redundancy data does not yet exist;
create a new plurality of data blocks from data blocks of the permanently stored plurality of data blocks that are to remain permanently stored and data blocks from the temporarily stored plurality of data blocks that are to be permanently stored; and
permanently store the new plurality of data blocks; and
a third module, when operable within the computing device, causes the computing device to:
generate a new group of partial redundancy data based on the new plurality of data blocks and in accordance with a dispersed storage error coding function; and
send the new group of partial redundancy data and the group of partial redundancy data such that redundancy data DS units are able to generate redundancy data regarding the new plurality of data blocks.

### Claim 6 (depends on 5)

The DS module of claim 5, wherein the first module functions to determine that the one or more data blocks of the permanently stored plurality of data blocks are to be deleted by:
determining that at least one other DS unit of a set of DS units is storing data blocks that are substantially similar to the one or more data blocks; and
in response to the determining that the at least one other DS unit is storing data blocks that are substantially similar to the one or more data blocks:
determining whether a de-duplication function is to be applied to the one or more data blocks;
when the de-duplication function is to be applied, determining that the one or more data blocks are to be deleted; and
when the de-duplication function is not to be applied, determining that the one or more data blocks are not to be deleted.

### Claim 7 (depends on 5)

The DS module of claim 5, wherein the first module functions to determine that the one or more data blocks of the permanently stored plurality of data blocks are to be deleted by:
analyzing the permanently stored plurality of data blocks in accordance with data analysis criteria; and
when the analysis of the permanently stored plurality of data blocks is unfavorable, determining that the one or more data blocks of the permanently stored plurality of data blocks are to be deleted.

### Claim 8 (depends on 5)

The DS module of claim 5, wherein the third module functions to generate the new group of partial redundancy data based on the new plurality of data blocks by:
generating a first partial redundancy data for a first redundancy DS unit based on at least some of the new plurality of data blocks and a first encoding parameter of the dispersed storage error coding function; and
generating a second partial redundancy data for a second redundancy DS unit based on at least another some of the new plurality of data blocks and a second encoding parameter of the dispersed storage error coding function.
