IP Library Granted Patent US 8,914,325
Granted Patent B2
US 8,914,325 · App. 14/260,044 · Granted Dec 16, 2014

Change tracking for multiphase deduplication

Inventor: Andrew Lynn Gardner (Oak City, UT)
Assignee: Storagecraft Technology Corporation
G06F17/30156G06F11/1453G06F17/30159G06F11/1446
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,914,325
App. No.
14/260,044
Granted
Dec 16, 2014
Kind
B2
Abstract

Change tracking for multiphase deduplication. In one example embodiment, a method of tracking changes to a source storage of a source system for multiphase deduplication includes a change tracking phase that includes performing various steps for only allocated blocks in the source storage that are changed between a prior point in time and a subsequent point in time. These steps include temporarily storing a copy of the changed block in a volatile memory of the source system prior to writing the changed block to the source storage, performing a hash function only once on the copy of the changed block, while the copy is temporarily stored in a volatile memory of the source system, to calculate a hash value, writing the changed block to the source storage, and tracking, in a change log, a location in the source storage of the changed block and the corresponding hash value.

Claims (63)

1. A non-transitory computer-readable medium storing a program that causes a processor to execute a method of tracking changes to a source storage of a source system for multiphase deduplication, the method comprising:

a change tracking phase that includes performing the following steps for only allocated blocks in the source storage that are changed between the taking of a prior snapshot at a prior point in time and the taking of a subsequent snapshot at a subsequent point in time:

temporarily storing a copy of the changed block in a volatile memory of the source system prior to writing the changed block to the source storage;

performing a hash function only once on the copy of the changed block, while the copy is temporarily stored in a volatile memory of the source system, to calculate a hash value corresponding to the changed block;

writing the changed block to the source storage; and

tracking, in a change log, a location in the source storage of the changed block and the corresponding hash value;

an analysis phase that is performed after completion of the change tracking phase and that includes comparing each unique hash value stored in the change log with hash values of blocks that are stored in a vault storage to determine if the corresponding changed block in the source storage is duplicated in the vault storage; and

a backup phase that is performed after completion of the analysis phase and that includes performing the following steps for all unique nonduplicate runs of changed blocks stored in the source storage in order to create an incremental backup of the source storage, each unique nonduplicate run including one or more nonduplicate changed blocks that are stored sequentially in the source storage:

reading the runs from the source storage;

storing the runs in the vault storage;

associating the blocks in the runs with their corresponding hash values in a vault database; and

associating a location of each run stored in the source storage with a corresponding location of the run stored in the vault storage.

2. The non-transitory computer-readable medium as recited in claim 1 , wherein:

the hash function comprises a cryptographic hash function and the hash value comprises a cryptographic hash value; or

the hash function comprises a computable check sum function and the hash value comprises a computable check sum value.

3. The non-transitory computer-readable medium as recited in claim 1 , wherein the step of performing the hash function on each changed block includes performing the hash function on each changed block just prior to, simultaneously with, or just subsequent to writing the changed block to the source storage.

4. The non-transitory computer-readable medium as recited in claim 1 , wherein the change log comprises a collection of data structures each corresponding to a run of changed blocks, each run including one or more blocks that are stored sequentially in the source storage.

5. The non-transitory computer-readable medium as recited in claim 1 , wherein:

a prior snapshot of the source storage is taken at the prior point in time and a prior backup is created based on the prior snapshot; and

a subsequent snapshot of the source storage is taken at the subsequent point in time and an incremental backup is created based on the subsequent snapshot.

6. The non-transitory computer-readable medium as recited in claim 5 , wherein the prior backup is a base backup.

7. The non-transitory computer-readable medium as recited in claim 5 , wherein the prior backup is an incremental backup.

8. The non-transitory computer-readable medium as recited in claim 1 , wherein the method further comprises a restore phase that is performed after completion of the backup phase and that includes reading, from the vault storage, and storing, in a restore storage, each changed block that was stored in the source storage at the subsequent point in time in the same position as stored in the source storage at the subsequent point in time.

9. The non-transitory computer-readable medium as recited in claim 1 , wherein the vault storage is configured to only store, during the backup phase, a single copy of each unique nonduplicate block from the source storage to prevent having any duplicate blocks in the vault storage.

10. A non-transitory computer-readable medium storing a program that causes a processor to execute a method of tracking changes to a source storage of a source system for multiphase deduplication, the method comprising:

a change tracking phase that includes performing the following steps for only allocated blocks in the source storage that are changed between the taking of a prior snapshot at a prior point in time and the taking of a subsequent snapshot at a subsequent point in time:

temporarily storing a copy of the changed block in a volatile memory of the source system prior to writing the changed block to the source storage;

performing a hash function only once on the copy of the changed block, while the copy is temporarily stored in a volatile memory of the source system, to calculate a hash value corresponding to the changed block;

writing the changed block to the source storage; and

tracking, in a change log, a location in the source storage of the changed block and the corresponding hash value;

an analysis phase that is performed after completion of the change tracking phase and that includes performing the following steps for each unique hash value stored in the change log:

comparing the hash value with hash values of blocks that are stored in a vault storage to determine if the corresponding changed block in the source storage is duplicated in the vault storage; and

associating a location of the corresponding changed block in the source storage with a location of the corresponding duplicated block stored in the vault storage if the corresponding changed block is duplicated in the vault storage; and

a backup phase that is performed after completion of the analysis phase and that includes performing the following steps for all unique nonduplicate runs of changed blocks stored in the source storage in order to create an incremental backup of the source storage, each unique nonduplicate run including one or more nonduplicate changed blocks that are stored sequentially in the source storage:

reading the runs from the source storage;

storing the runs in the vault storage;

associating the blocks in the runs with their corresponding hash values in a vault database; and

associating a location of each run stored in the source storage with a corresponding location of the run stored in the vault storage.

11. The non-transitory computer-readable medium as recited in claim 10 , wherein storing the runs in the vault storage includes storing at least some runs in the vault storage in the same sequence as stored in the source storage at the subsequent point in time.

12. The non-transitory computer-readable medium as recited in claim 10 , wherein the vault storage is configured to only store, during the backup phase, a single copy of each unique nonduplicate block from the source storage to prevent having any duplicate blocks in the vault storage.

13. The non-transitory computer-readable medium as recited in claim 10 , wherein the method further comprises a restore phase that is performed after completion of the backup phase and that includes performing the following steps for each changed block that was stored in the source storage at the subsequent point in time:

reading the block from the vault storage; and

storing the block in a restore storage in the same position as stored in the source storage at the subsequent point in time.

14. The non-transitory computer-readable medium as recited in claim 10 , wherein the step of performing the hash function only once on the copy of the changed block includes performing the hash function only once on the copy of the changed block just prior to, simultaneously with, or just subsequent to writing the changed block to the source storage.

15. A non-transitory computer-readable medium storing a program that causes a processor to execute a method of multiphase deduplication of a source storage of a source system, the method comprising:

a change tracking phase that includes performing the following steps for only allocated block in the source storage that are changed between the taking of a prior snapshot at a prior point in time and upon which a prior base or incremental backup is based and the taking of a subsequent snapshot at a subsequent point in time and upon which a subsequent incremental backup is based:

temporarily storing a copy of the changed block in a volatile memory of the source system prior to writing the changed block to the source storage;

performing a hash function only once on the copy of the changed block, while the copy is temporarily stored in a volatile memory of the source system, to calculate a hash value corresponding to the changed block;

writing the changed block to the source storage; and

tracking, in a change log, a location in the source storage of the changed block and the corresponding hash value;

an analysis phase that is performed after completion of the change tracking phase and that includes performing the following steps for each unique hash value stored in the change log:

comparing the hash value with hash values of blocks that are stored in a vault storage to determine if the corresponding changed block in the source storage is duplicated in the vault storage; and

associating a location of the corresponding changed block in the source storage with a location of the corresponding duplicated block stored in the vault storage if the corresponding changed block is duplicated in the vault storage; and

a backup phase that is performed after completion of the analysis phase and that includes performing the following steps for all unique nonduplicate runs of changed blocks stored in the source storage in order to create an incremental backup of the source storage, each unique nonduplicate run including one or more nonduplicate changed blocks that are stored sequentially in the source storage:

reading the runs from the source storage;

storing the runs in the vault storage in the same sequence as stored in the source storage at the subsequent point in time;

associating the blocks in the runs with their corresponding hash values in a vault database; and

associating a location of each run stored in the source storage with a corresponding location of the run stored in the vault storage.

16. The non-transitory computer-readable medium as recited in claim 15 , wherein the method further comprises a restore phase that is performed after completion of the backup phase and that includes performing the following steps for all runs of changed blocks stored in the source storage at the subsequent point in time:

reading the runs from the vault storage; and

storing the runs in a restore storage in the same position as stored in the source storage at the subsequent point in time.

17. The non-transitory computer-readable medium as recited in claim 15 , wherein the step of performing a hash function only once on the copy of the changed block includes performing a hash function only once on the copy of the changed block just prior to, simultaneously with, or just subsequent to writing the changed block to the source storage.

18. The non-transitory computer-readable medium as recited in claim 15 , wherein the vault storage is configured to only store, during the backup phase, a single copy of each unique nonduplicate block from the source storage to prevent having any duplicate blocks in the vault storage.

Assignments (6)
CHANGE OF NAME Recorded Aug 16, 2024
From: STORAGECRAFT TECHNOLOGY CORPORATION
To: STORAGECRAFT TECHNOLOGY LLC
Reel/Frame 068660/0176 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 16, 2024
From: MONROE CAPITAL MANAGEMENT ADVISORS, LLC; ARCSTOR MIDCO LLC; ARCSERVE ACQUISITION COMPANY LLC; ARCSERVE (USA) LLC; STORAGECRAFT TECHNOLOGY, LLC
To: STORAGECRAFT, LLC
Reel/Frame 068660/0208 →
SECURITY INTEREST Recorded Mar 16, 2021
From: ARCSERVE (USA) LLC; STORAGECRAFT TECHNOLOGY LLC; ZETTA, LLC
To: MONROE CAPITAL MANAGEMENT ADVISORS, LLC, AS COLLATERAL AGENT
Reel/Frame 055603/0219 →
TERMINATION AND RELEASE OF PATENT SECURITY AGREEMENT Recorded Mar 16, 2021
From: SILICON VALLEY BANK, AS ADMINISTRATIVE AGENT
To: STORAGECRAFT TECHNOLOGY CORPORATION
Reel/Frame 055614/0607 →
SECURITY AGREEMENT Recorded Apr 18, 2016
From: STORAGECRAFT TECHNOLOGY CORPORATION
To: SILICON VALLEY BANK, AS ADMINISTRATIVE AGENT
Reel/Frame 038449/0943 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 23, 2014
From: GARDNER, ANDREW LYNN
To: STORAGECRAFT TECHNOLOGY CORPORATION
Reel/Frame 032745/0275 →
Continuity (2)
Continuation 13782807 · Mar 1, 2013
Related Publication 20140250080A1 · Sep 4, 2014