# US 2021/0342294 A1 · Non-disruptive and efficient migration of data across cloud providers

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

- Number: US 2021/0342294 A1
- Document ID: US20210342294A1
- Status: Published application
- Kind: A1
- Application number: 17/375,968
- Filed: 2021-07-14
- Published: 2021-11-04
- Earliest claimed: 2020-03-25
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Neeraj Bhutani; Ramprasad Chinthekindi; Nitin Madan; Srikanth Srinivasan
- Web page: https://patentgrep.com/patent/US20210342294A1

## CPC

- G06F 16/119: {Details of migration of file systems (migration mechanisms in storage systems G06F3/0647)}
- G06F 16/901: Indexing; Data structures therefor; Storage structures (for retrieval from the web G06F16/951)
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 16/9014: {hash tables}
- G06F 11/1407: {Checkpointing the instruction stream}
- G06F 11/3075: {the data filtering being achieved in order to maintain consistency among the monitored data, e.g. ensuring that the monitored data belong to the same timeframe, to the same system or component}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An index associates fingerprints of file segments to container numbers of containers within which the file segments are stored. At a start of migration, a boundary is created identifying a current container number. At least a subset of file segments at a source storage tier are packed into a new container to be written to a destination storage tier. A new container number is generated for the new container. The index is updated to associate fingerprints of the at least subset of file segments to the new container number. A request is received to read a file segment. The index is queried with a fingerprint of the file segment to determine whether the request should be directed to the source or destination storage tier based on a container number of a container within which the file segment is stored.

## Claims

### Claim 1

A method for migrating data of a deduplication file system from a source to destination storage tier comprising:
maintaining an index associating fingerprints of file segments to container numbers of containers within which the file segments are stored;
at a start of migration, creating a boundary identifying a current container number;
packing at least a subset of file segments at the source storage tier into a new container to be written to the destination storage tier;
generating a new container number for the new container;
updating the index to associate fingerprints of the at least subset of file segments to the new container number;
receiving a request to read a file segment; and
querying the index with a fingerprint of the file segment to determine whether the request should be directed to the source or destination storage tier based on a container number of a container within which the file segment is stored.

### Claim 2 (depends on 1)

The method of claim 1 wherein container numbers are generated in a sequence, and the method further comprises:
in response to querying the index, receiving the container number of the container within which the file segment is stored;
comparing the container number to the boundary; and
directing the request to the source or destination storage tier based on the sequence, the sequence indicating an ordering of the container number with respect to the boundary.

### Claim 3 (depends on 1)

The method of claim 1 wherein the source and destination storage tiers are within a same cloud provider.

### Claim 4 (depends on 1)

The method of claim 1 wherein the source and destination storage tiers are provided by different cloud providers.

### Claim 5 (depends on 1)

The method of claim 1 further comprising:
determining whether a file segment at the source storage tier is live or dead;
migrating live file segments from the source storage tier to the destination storage tier; and
not migrating dead file segments from the source storage tier to the destination storage tier.

### Claim 6 (depends on 1)

The method of claim 1 wherein the deduplication file system is a log-structured deduplication file system in which the containers are maintained in a log and the method further comprises:
upon creating the boundary, migrating a first range of containers starting with a tail of the log and ending before the boundary;
writing a second range of containers comprising file segments from the first range of containers to a head of the log; and
updating the index to indicate that file segments associated with the first range of containers are now associated with the second range of containers.

### Claim 7

A system for migrating data of a deduplication file system from a source to destination storage tier comprising: a processor; and memory configured to store one or more sequences of instructions which, when executed by the processor, cause the processor to carry out the steps of:
maintaining an index associating fingerprints of file segments to container numbers of containers within which the file segments are stored;
at a start of migration, creating a boundary identifying a current container number;
packing at least a subset of file segments at the source storage tier into a new container to be written to the destination storage tier;
generating a new container number for the new container;
updating the index to associate fingerprints of the at least subset of file segments to the new container number;
receiving a request to read a file segment; and
querying the index with a fingerprint of the file segment to determine whether the request should be directed to the source or destination storage tier based on a container number of a container within which the file segment is stored.

### Claim 8 (depends on 7)

The system of claim 7 wherein container numbers are generated in a sequence, and the processor further carries out the steps of:
in response to querying the index, receiving the container number of the container within which the file segment is stored;
comparing the container number to the boundary; and
directing the request to the source or destination storage tier based on the sequence, the sequence indicating an ordering of the container number with respect to the boundary.

### Claim 9 (depends on 7)

The system of claim 7 wherein the source and destination storage tiers are within a same cloud provider.

### Claim 10 (depends on 7)

The system of claim 7 wherein the source and destination storage tiers are provided by different cloud providers.

### Claim 11 (depends on 7)

The system of claim 7 wherein the processor further carries out the steps of:
determining whether a file segment at the source storage tier is live or dead;
migrating live file segments from the source storage tier to the destination storage tier; and
not migrating dead file segments from the source storage tier to the destination storage tier.

### Claim 12 (depends on 7)

The system of claim 7 wherein the deduplication file system is a log-structured deduplication file system in which the containers are maintained in a log and the processor further carries out the steps of:
upon creating the boundary, migrating a first range of containers starting with a tail of the log and ending before the boundary;
writing a second range of containers comprising file segments from the first range of containers to a head of the log; and
updating the index to indicate that file segments associated with the first range of containers are now associated with the second range of containers.

### Claim 13

A computer program product, comprising a non-transitory computer-readable medium having a computer-readable program code embodied therein, the computer-readable program code adapted to be executed by one or more processors to implement a method for migrating data of a deduplication file system from a source to destination storage tier comprising:
maintaining an index associating fingerprints of file segments to container numbers of containers within which the file segments are stored;
at a start of migration, creating a boundary identifying a current container number;
packing at least a subset of file segments at the source storage tier into a new container to be written to the destination storage tier;
generating a new container number for the new container;
updating the index to associate fingerprints of the at least subset of file segments to the new container number;
receiving a request to read a file segment; and
querying the index with a fingerprint of the file segment to determine whether the request should be directed to the source or destination storage tier based on a container number of a container within which the file segment is stored.

### Claim 14 (depends on 13)

The computer program product of claim 13 wherein container numbers are generated in a sequence, and the method further comprises:
in response to querying the index, receiving the container number of the container within which the file segment is stored;
comparing the container number to the boundary; and
directing the request to the source or destination storage tier based on the sequence, the sequence indicating an ordering of the container number with respect to the boundary.

### Claim 15 (depends on 13)

The computer program product of claim 13 wherein the source and destination storage tiers are within a same cloud provider.

### Claim 16 (depends on 13)

The computer program product of claim 13 wherein the source and destination storage tiers are provided by different cloud providers.

### Claim 17 (depends on 13)

The computer program product of claim 13 further comprising:
determining whether a file segment at the source storage tier is live or dead;
migrating live file segments from the source storage tier to the destination storage tier; and
not migrating dead file segments from the source storage tier to the destination storage tier.

### Claim 18 (depends on 13)

The computer program product of claim 13 wherein the deduplication file system is a log-structured deduplication file system in which the containers are maintained in a log and the method further comprises:
upon creating the boundary, migrating a first range of containers starting with a tail of the log and ending before the boundary;
writing a second range of containers comprising file segments from the first range of containers to a head of the log; and
updating the index to indicate that file segments associated with the first range of containers are now associated with the second range of containers.
