# US 2018/0321851 A1 · Disk synchronization

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

- Number: US 2018/0321851 A1
- Document ID: US20180321851A1
- Status: Published application
- Kind: A1
- Application number: 16/034,510
- Filed: 2018-07-13
- Published: 2018-11-08
- Earliest claimed: 2015-09-28
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Vadim Agarkov; Sergey Storozhevykh; Maksim Vazhenin; Ilya Volzhev; Michael E. Bappe
- Web page: https://patentgrep.com/patent/US20180321851A1

## CPC

- G06F 3/065: {Replication mechanisms}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 11/0727: {in a storage system, e.g. in a DASD or network based storage system (drivers for digital recording or reproducing units G06F3/06; circuits for error detection or correction within digital recording or reproducing units G11B20/18; 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], H04L67/1097)}
- G06F 11/0751: {Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06)}
- G06F 11/079: {Root cause analysis, i.e. error or fault diagnosis (in a hardware test environment G06F11/22; in a software test environment G06F11/36)}
- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F 11/2071: {using a plurality of controllers}
- G06F 11/2082: {Data synchronisation}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments of the present disclosure relate to a system, a computer program product and a method for synchronizing data between a source disk and a target disk in a cluster by performing synchronization between a source disk and a target disk, the synchronization being performed while a plurality of application I/Os on a plurality of nodes in a cluster are configured to access the source disk; and wherein a coordinator and a plurality of workers in the cluster are configured to manage copying data from the source disk to the target disk.

## Claims

### Claim 1

A method for synchronizing data between a source disk and a target disk in a cluster, the method comprising:
performing synchronization between a source disk and a target disk, the synchronization being performed while a plurality of application I/Os on a plurality of nodes in a cluster are enabled to access the source disk; and wherein a coordinator and a plurality of workers in the cluster are configured to manage copying data from the source disk to the target disk.

### Claim 2 (depends on 1)

The method of claim 1, further comprises managing synchronization of a subsequent unsynchronized portion of the source disk and target disk.

### Claim 3 (depends on 1)

The method of claim 1, wherein the coordinator defines a selected range [S,E] to be copied from a source disk to a target disk, wherein S is associated with a start value and E is associated with an end value of the range to be copied.

### Claim 4 (depends on 3)

The method of claim 3, wherein the coordinator send a suspend status notification comprising the selected range [S,E] to be copied to the plurality of workers in the cluster.

### Claim 5 (depends on 4)

The method of claim 4, wherein the worker on receiving the suspend status notification from the coordinator is configured to determine if an (any) outstanding fully overlapping application write I/Os exists.

### Claim 6 (depends on 5)

The method of claim 5, wherein the worker is configured to check for the presence of the outstanding fully overlapping application write I/Os, and on positive determination of the outstanding fully overlapping application write I/Os, the worker further configured to
wait until the overlapping application write I/Os is completed;
clone (copy) application write I/Os to the target disk; and
send a copied status notification comprising a specified range [S1,E1], wherein S1 is associated with a start value and E1 is associated with an end value of the range corresponding to the overlapping application write I/Os.

### Claim 7 (depends on 5)

The method of claim 5, wherein the worker is further configured to check for an outstanding overlapping write I/Os and on negative determination, the worker is configured to
suspend conflicting application write I/O clones to the target disk;
wait for the conflicting outstanding application write I/O clones on target disk to drain.

### Claim 8 (depends on 7)

The method of claim 7, wherein during the wait for the outstanding conflicting application write I/O on the target disk to drain, if a new fully overlapping application write I/O is received, the worker further configured to
resume the application write I/O clones to the target disk;
issue the application write I/O to the source disk;
clone (copy) the application write I/O to the target disk; and
send a copied status notification of the specified range [S1,E1] to the coordinator, wherein S1 is associated with a start value and E1 is associated with an end value of the range corresponding to the overlapping application write I/O.

### Claim 9 (depends on 7)

The method of claim 7, wherein during the wait for the outstanding conflicting application write I/O to drain, if a new fully overlapping application write I/O is not received, the worker being further configured to
send a suspended status notification to the coordinator.

### Claim 10 (depends on 9)

The method of claim 9, wherein the coordinator on receiving the suspended status notification from all the workers in the cluster is configured to
copy the selected range [S,E];
mark the selected range [S, E] as synchronized;
send a resume status notification to all the workers in the cluster; and
wait for all the workers to respond, and when all the workers respond with a success status notification in response to the resume status notification, shift to a subsequent next range to be copied.

### Claim 11 (depends on 4)

The method of claim 4, wherein the coordinator in response to suspend status notification, on receiving the copied status notification from any of the plurality of workers in the cluster is configured to
mark specified range [S1, E1] as synchronized;
send the resume status notification to the plurality of workers in the cluster; and
wait for all workers to respond, and when all the workers respond with a success status notification in response to the resume status notification, shift to a subsequent next range to be copied.

### Claim 12 (depends on 4)

The method of claim 4, wherein the coordinator in response to suspend status notification, is configured to receive an error status notification from any of the plurality of workers in the cluster, and to interrupt synchronization between the source disk and the target disk with an error.

### Claim 13 (depends on 4)

The method of claim 4, wherein the coordinator in response to suspend status notification, is configured to receive a timeout status notification from any of the plurality of workers in the cluster, and to interrupt synchronization between the source disk and the target disk with an error.

### Claim 14 (depends on 4)

The method of claim 4, wherein the coordinator in response to resume status notification is configured to receive the error status notification, and to interrupt synchronization between the source disk and the target disk with an error.

### Claim 15 (depends on 4)

The method of claim 4, wherein the coordinator in response to resume status notification is configured to receive the timeout status notification from any of the plurality of workers in the cluster, and to interrupt synchronization between the source disk and the target disk with an error.

### Claim 16 (depends on 9)

The method of claim 9, wherein any of the plurality of workers on receiving the resume status notification from the coordinator is configured to resume a suspended I/O and send the success status notification to all the workers if all the I/Os were suspended starting from the time of the suspended status notification until the I/O is resumed.

### Claim 17 (depends on 9)

The method of claim 9, wherein any of the plurality of workers on receiving the resume status notification from the coordinator is configured to send error status notification if all the I/O were not suspended starting from the time of the suspended status notification till resume status notification.

### Claim 18

An apparatus, comprising:
electronic hardware circuitry configured to:
perform synchronization between a source disk and a target disk, the synchronization being performed while a plurality of application I/Os on a plurality of nodes in a cluster are enabled to access the source disk,
wherein a coordinator and a plurality of workers in the cluster are configured to manage copying data from the source disk to the target disk,
wherein the circuitry comprises at least one of a processor, a memory, a programmable logic device or a logic gate.

### Claim 19 (depends on 18)

The apparatus of claim 18, further comprising circuitry configured to manage synchronization of a subsequent unsynchronized portion of the source disk and target disk.

### Claim 20 (depends on 18)

The apparatus of claim 18, wherein the coordinator defines a selected range [S,E] to be copied from a source disk to a target disk, wherein S is associated with a start value and E is associated with an end value of the range to be copied.
