# US 2015/0227543 A1 · Method and apparatus for replication of files and file systems using a deduplication key space

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

- Number: US 2015/0227543 A1
- Document ID: US20150227543A1
- Status: Published application
- Kind: A1
- Application number: 14/177,899
- Filed: 2014-02-11
- Published: 2015-08-13
- Earliest claimed: 2014-02-11
- Assignees: Atlantis Computing, Inc.
- Applicants: Atlantis Computing, Inc.
- Inventors: Chetan Venkatesh; Toby Jonathon Coleridge; Pu Paul Zhang; Vikram Auradkar; Seshan Parameswaran; Kartikeya Iyer; Qian Zhang; Jin Lu
- Web page: https://patentgrep.com/patent/US20150227543A1

## CPC

- G06F 16/1748: {De-duplication implemented within the file system, e.g. based on file segments (de-duplication techniques in storage systems for the management of data blocks G06F3/0641)}
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F 16/119: {Details of migration of file systems (migration mechanisms in storage systems G06F3/0647)}
- G06F 16/137: {Hash-based (content-based indexing of textual data G06F16/31)}
- G06F 16/1752: {based on file chunks}
- G06F 16/178: Techniques for file synchronisation in file systems
- G06F 16/184: {implemented as replicated file system}
- G06F 16/907: Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F 11/2094: {Redundant storage or storage space (G06F11/2056 takes precedence)}
- G06F 2201/815: Virtual
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and apparatus for rapid replication of deduplicated file system data is described. The method may include initiating replication of a file from a source deduplication system to a destination deduplication system, and transferring deduplication metadata for each block of the file from the source deduplication system to the destination deduplication system. The method may also include transferring an identifier file from the source deduplication system to the destination deduplication system that includes a block number corresponding to a block of the file and a unique identifier value generated from the block of the file. The method may also include receiving a data request file from the destination deduplication system, and transferring the blocks of data identified in the data request file to complete replication of the file on the destination deduplication system.

## Claims

### Claim 1

A method, comprising:
initiating replication of a file from a source deduplication system to a destination deduplication system;
transferring deduplication metadata from the source deduplication system to the destination deduplication system, wherein the deduplication metadata is deduplication metadata for each block of the file;
transferring an identifier file from the source deduplication system to the destination deduplication system, wherein the identifier file includes a block number corresponding to a block of the file and a unique identifier value generated from the block of the file;
receiving a data request file from the destination deduplication system that includes block numbers of any blocks of data from the file that are not stored by the destination deduplication system; and
transferring the blocks of data identified in the data request file, with corresponding block numbers to the destination deduplication system to complete replication of the file on the destination deduplication system.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
creating a local deduplication metadata file at the destination deduplication system;
for each block in a deduplication metadata file maintained at the source deduplication system, corresponding to blocks of the file, obtaining a block number and a corresponding block of deduplication metadata data;
transferring pairs of block numbers and blocks of deduplication metadata data form the source deduplication system to the destination deduplication system; and
the destination deduplication system writing received blocks of deduplication metadata data to the local deduplication metadata file at an offset pointed to by the deduplication metadata data.

### Claim 3 (depends on 2)

The method of claim 2, wherein the deduplication metadata comprises a block number, a reference to a block of data within the file, and a reference counter indicative of a number of references to the block of data.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
when the destination deduplication system determines that a block of data is available on the destination deduplication system, updating a file block in the file on the destination deduplication system to point to the locally stored block of data, and incrementing a reference counter to the locally stored block in deduplication metadata at the destination deduplication system; and
when the destination deduplication system determines that a block of data has been removed from the file by the source deduplication system, updating removing the reference pointer to the block of data and decrementing a reference counter corresponding to the locally stored block in deduplication metadata at the destination deduplication system.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
for each block number identified in the data request file, transferring the data from the identified block number, and the block number, from the source deduplication system to the destination deduplication system; and
in response to receipt of a block number and block of data pair, the destination deduplication system writing the block of data to an offset pointed to by the block number in a replicated version of the file.

### Claim 6 (depends on 4)

The method of claim 4, wherein the identifier file is a hash file, and the unique identifier value is a hash value generated from application of a hash function to the block of the file.

### Claim 7 (depends on 1)

The method of claim 1, wherein the file comprises a plurality of deduplicated virtual machine files in a deduplicated file system, the plurality of deduplicated virtual machine files corresponding to a virtual machine image.

### Claim 8 (depends on 1)

The method of claim 1, wherein the source deduplication system and the destination deduplication system are located in different real-world locations.

### Claim 9 (depends on 1)

The method of claim 1, wherein the file comprises a deduplicated virtual machine file system.

### Claim 10 (depends on 1)

The method of claim 1, wherein the source deduplication system and the destination deduplication system are in-band deduplicating file systems that perform data deduplication in real-time or near real-time.

### Claim 11 (depends on 1)

The method of claim 1, wherein the replication of the file is initiated asynchronously from one or more read or write operations performed on the data file at the source deduplication system.

### Claim 12 (depends on 1)

The method of claim 1, wherein initiating replication of a file occurs in response to the source deduplication system identifying a replication event.

### Claim 13 (depends on 1)

The method of claim 1, wherein the source deduplication system and the destination deduplication system comprise the same deduplication system.

### Claim 14 (depends on 1)

The method of claim 1, wherein the source deduplication system and the destination deduplication system comprise different deduplication systems that perform replication of the file in parallel.

### Claim 15 (depends on 1)

The method of claim 1, replication of the file on the destination deduplication system occurs in a random access memory of the source deduplication system and a random access memory of the destination deduplication system prior to storage of a replicated file in a primary storage at the destination deduplication system.

### Claim 16

A non-transitory computer readable storage medium including instructions that, when executed by a processor, cause the processor to perform a method comprising:
initiating replication of a file from a source deduplication system to a destination deduplication system;
transferring deduplication metadata from the source deduplication system to the destination deduplication system, wherein the deduplication metadata is deduplication metadata for each block of the file;
transferring an identifier file from the source deduplication system to the destination deduplication system, wherein the identifier file includes a block number corresponding to a block of the file and a unique identifier value generated from the block of the file;
receiving a data request file from the destination deduplication system that includes block numbers of any blocks of data from the file that are not stored by the destination deduplication system; and
transferring the blocks of data identified in the data request file, with corresponding block numbers to the destination deduplication system to complete replication of the file on the destination deduplication system.

### Claim 17 (depends on 16)

The computer readable storage medium of claim 16, further comprising:
creating a local deduplication metadata file at the destination deduplication system;
for each block in a deduplication metadata file maintained at the source deduplication system, corresponding to blocks of the file, obtaining a block number and a corresponding block of deduplication metadata data;
transferring pairs of block numbers and blocks of deduplication metadata data form the source deduplication system to the destination deduplication system; and
the destination deduplication system writing received blocks of deduplication metadata data to the local deduplication metadata file at an offset pointed to by the deduplication metadata data.

### Claim 18 (depends on 16)

The computer readable storage medium of claim 16, further comprising:
when the destination deduplication system determines that a block of data is available on the destination deduplication system, updating a file block in the file on the destination deduplication system to point to the locally stored block of data, and incrementing a reference counter to the locally stored block in deduplication metadata at the destination deduplication system; and
when the destination deduplication system determines that a block of data has been removed from the file by the source deduplication system, updating removing the reference pointer to the block of data and decrementing a reference counter corresponding to the locally stored block in deduplication metadata at the destination deduplication system.

### Claim 19 (depends on 18)

The computer readable storage medium of claim 18, further comprising:
for each block number identified in the data request file, transferring the data from the identified block number, and the block number, from the source deduplication system to the destination deduplication system; and
in response to receipt of a block number and block of data pair, the destination deduplication system writing the block of data to an offset pointed to by the block number in a replicated version of the file.

### Claim 20 (depends on 16)

The computer readable storage medium of claim 16, wherein the file comprises a plurality of deduplicated virtual machine files in a deduplicated file system, the plurality of deduplicated virtual machine files corresponding to a virtual machine image.

### Claim 21

A system comprising:
a memory of a source deduplication system to store deduplication metadata and a file; and
a source replication manager to initiate replication of a file from a source deduplication system to a destination deduplication system,
a source metadata processor to transfer deduplication metadata from the source deduplication system to the destination deduplication system, wherein the deduplication metadata is deduplication metadata for each block of the file;
a source file processor to
transfer an identifier file from the source deduplication system to the destination deduplication system, wherein the identifier file includes a block number corresponding to a block of the file and a unique identifier value generated from the block of the file,
receive a data request file from the destination deduplication system that includes block numbers of any blocks of data from the file that are not stored by the destination deduplication system, and
transfer the blocks of data identified in the data request file, with corresponding block numbers to the destination deduplication system to complete replication of the file on the destination deduplication system.

### Claim 22 (depends on 21)

The system of claim 21, further comprising:
the source metadata processor to transfer pairs of block numbers and blocks of deduplication metadata data form the source deduplication system to the destination deduplication system; and
a destination metadata processor to create a local deduplication metadata file at the destination deduplication system, for each block in a deduplication metadata file maintained at the source deduplication system, corresponding to blocks of the file, obtain a block number and a corresponding block of deduplication metadata data, and write received blocks of deduplication metadata data to the local deduplication metadata file at an offset pointed to by the deduplication metadata data.

### Claim 23 (depends on 21)

The system of claim 21, further comprising:
a destination file processor to determine that a block of data is available on the destination deduplication system, and
the destination metadata processor to update a file block in the file on the destination deduplication system to point to the locally stored block of data, and incrementing a reference counter to the locally stored block in deduplication metadata at the destination deduplication system.

### Claim 24 (depends on 21)

The system of claim 21, wherein the file comprises a plurality of deduplicated virtual machine files in a deduplicated file system, the plurality of deduplicated virtual machine files corresponding to a virtual machine image.
