# US 2021/0286687 A1 · Data recovery mechanisms in deduplication-enabled storage facilities

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

- Number: US 2021/0286687 A1
- Document ID: US20210286687A1
- Status: Published application
- Kind: A1
- Application number: 16/819,225
- Filed: 2020-03-16
- Published: 2021-09-16
- Earliest claimed: 2020-03-16
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Dominic Tomkins; Eric John Bartlett; Miles Mulholland; Alex Dicks
- Web page: https://patentgrep.com/patent/US20210286687A1

## CPC

- G06F 11/1453: {using de-duplication of the data}
- G06F 11/1469: {Backup restoration techniques}
- G06F 11/1471: involving logging of persistent data for recovery
- G06F 11/2056: {by mirroring}
- G06F 11/2087: {with a common controller}
- G06F 16/215: Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
- G06F 2201/82: Solving problems relating to consistency
- G06F 2201/84: Using snapshots, i.e. a logical point-in-time copy of the data
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data recovery method recovers corrupted data after a disaster event in a storage facility operating with deduplication in which copies of data are maintained between volumes through a copy services relationship. The deduplication operates with referencing domains, each having a source grain containing a reference pointing to a location where data is stored and referrers pointing to the source. The data recovery method identifies any source that is pointing to data which is corrupt and then establishes whether a copy services relationship exists between the referencing domain of the source with corrupted data and another referencing domain, in which case the other referencing domain will have a copy of the corrupted data. Provided that the copy is valid, it is written across to replace the corrupted data. The method allows corrupted source data to be recovered without having to perform a full resync or restore.

## Claims

### Claim 1

A method comprising:
identifying a first source in a data storage facility that, following a disaster event, is pointing to data which is corrupt;
determining that a first copy services relationship exists between a first referencing domain of the first source and a second referencing domain, wherein the first copy services relationship indicates the second referencing domain will have a second copy of the corrupted data;
determining whether the second copy is valid; and
responsive to a determination that the second copy is valid, writing the second copy to replace the corrupted data.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining that the first copy services relationship exists between the first referencing domain and the second referencing domain includes checking for a first copy services relationship directly between the first source and another referencing domain.

### Claim 3 (depends on 1)

The method of claim 1, wherein determining that the first copy services relationship exists between the first referencing domain and the second referencing domain includes scanning references to the first source to check whether a first copy services relationship exists between any referrer of the first source and another referencing domain.

### Claim 4 (depends on 3)

The method of claim 3, wherein:
the data storage facility implements deduplication in that the references consist only of forward references, a forward reference being held by each referrer to point to its source; and
scanning the references to crawl over the referencing domain includes reversing the forward references and following the reversed forward references.

### Claim 5 (depends on 3)

The method of claim 3, wherein:
the data storage facility implements deduplication in that the references include both forward and backward references, a forward reference being held by each referrer to point to its source, and backward references being held by each source to point to its referrers; and
scanning the references to crawl over the referencing domain includes following the backward references.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
determining, responsive to a determination that the second copy is not valid, that a second copy services relationship exists between the second referencing domain and a third referencing domain, wherein the second copy services relationship indicates the third referencing domain will have a third copy of the corrupted data;
determining whether the third copy is valid;
responsive to a determination that the third copy is valid, writing the third copy to replace the corrupted data of both the second copy and the first source; and
repairing source references to point to the written copies.

### Claim 7 (depends on 1)

The method of claim 1, further comprising repairing the source reference to point to the written copy.

### Claim 8 (depends on 1)

The method of claim 1, wherein the checking that the second copy is valid comprises checking that address ranges that are referred to by the second referencing domain are valid.

### Claim 9

A system comprising:
a memory; and
a central processing unit (CPU) including one or more CPU cores configured to:
identify a first source in a data storage facility that, following a disaster event, is pointing to data which is corrupt;
determine that a first copy services relationship exists between a first referencing domain of the first source and a second referencing domain, wherein the first copy services relationship indicates the second referencing domain will have a second copy of the corrupted data;
determine whether the second copy is valid; and
responsive to a determination that the second copy is valid, write the second copy to replace the corrupted data.

### Claim 10 (depends on 9)

The system of claim 9, wherein determining that the first copy services relationship exists between the first referencing domain and the second referencing domain includes checking for a first copy services relationship directly between the first source and another referencing domain.

### Claim 11 (depends on 9)

The system of claim 9, wherein determining that the first copy services relationship exists between the first referencing domain and the second referencing domain includes scanning references to the first source to check whether a first copy services relationship exists between any referrer of the first source and another referencing domain.

### Claim 12 (depends on 11)

The system of claim 11, wherein:
the data storage facility implements deduplication in that the references consist only of forward references, a forward reference being held by each referrer to point to its source; and
scanning the references to crawl over the referencing domain includes reversing the forward references and following the reversed forward references.

### Claim 13 (depends on 11)

The system of claim 11, wherein:
the data storage facility implements deduplication in that the references include both forward and backward references, a forward reference being held by each referrer to point to its source, and backward references being held by each source to point to its referrers; and
scanning the references to crawl over the referencing domain includes following the backward references.

### Claim 14 (depends on 9)

The system of claim 9, wherein the CPU is further configured to:
determine, responsive to a determination that the second copy is not valid, that a second copy services relationship exists between the second referencing domain and a third referencing domain, wherein the second copy services relationship indicates the third referencing domain will have a third copy of the corrupted data;
determine whether the third copy is valid;
responsive to a determination that the third copy is valid, write the third copy to replace the corrupted data of both the second copy and the first source; and
repair source references to point to the written copies.

### Claim 15

A computer program product, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to:
identify a first source in a data storage facility that, following a disaster event, is pointing to data which is corrupt;
determine that a first copy services relationship exists between a first referencing domain of the first source and a second referencing domain, wherein the first copy services relationship indicates the second referencing domain will have a second copy of the corrupted data;
determine whether the second copy is valid; and
responsive to a determination that the second copy is valid, write the second copy to replace the corrupted data.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein determining that the first copy services relationship exists between the first referencing domain and the second referencing domain includes checking for a first copy services relationship directly between the first source and another referencing domain.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein determining that the first copy services relationship exists between the first referencing domain and the second referencing domain includes scanning references to the first source to check whether a first copy services relationship exists between any referrer of the first source and another referencing domain.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein:
the data storage facility implements deduplication in that the references consist only of forward references, a forward reference being held by each referrer to point to its source; and
scanning the references to crawl over the referencing domain includes reversing the forward references and following the reversed forward references

### Claim 19 (depends on 17)

The computer program product of claim 17, wherein:
the data storage facility implements deduplication in that the references include both forward and backward references, a forward reference being held by each referrer to point to its source, and backward references being held by each source to point to its referrers; and
scanning the references to crawl over the referencing domain includes following the backward references.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein the instructions further cause the computer to:
determine, responsive to a determination that the second copy is not valid, that a second copy services relationship exists between the second referencing domain and a third referencing domain, wherein the second copy services relationship indicates the third referencing domain will have a third copy of the corrupted data;
determine whether the third copy is valid;
responsive to a determination that the third copy is valid, write the third copy to replace the corrupted data of both the second copy and the first source; and
repair source references to point to the written copies.
