# US 10,956,271 B2 · Point-in-time copy on a remote system

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

- Number: US 10,956,271 B2
- Document ID: US10956271B2
- Status: Granted
- Kind: B2
- Application number: 16/735,415
- Filed: 2020-01-06
- Published: 2020-05-07
- Granted: 2021-03-23
- Earliest claimed: 2017-08-07
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Andrea Sipka; John P. Wilkinson
- Web page: https://patentgrep.com/patent/US10956271B2

## CPC

- G06F 11/1446: Point-in-time backing up or restoration of persistent data
- G06F 3/0611: {in relation to response time}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/065: {Replication mechanisms}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 11/2071: {using a plurality of controllers}
- G06F 16/125: {characterised by the use of retention policies (retention policies for HSM systems G06F16/185)}
- G06F 16/128: {Details of file system snapshots on the file-level, e.g. snapshot creation, administration, deletion (error detection or correction of the data by redundancy in operations or in hardware G06F11/14, G06F11/16)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method, according to one embodiment, includes: receiving existing data at a secondary storage volume in a secondary system from a primary storage volume in a primary system. In response to receiving a write request at the secondary system: a determination is made as to whether data corresponding to the write request will fully overwrite one or more of the regions in the secondary storage volume. A request is sent to the primary system for existing data corresponding to the secondary storage volume in response to determining that the data corresponding to the write request will not overwrite a portion of a region in the secondary storage volume. The requested existing data is received, and merged with the data corresponding to the write request. The merged data is further written to the one or more respective regions in the secondary storage volume.

## Claims

### Claim 1

A computer-implemented method, comprising:
receiving existing data at a secondary storage volume in a secondary system from a primary storage volume in a primary system, wherein the existing data received by the secondary storage volume is a point-in-time copy of the primary storage volume;
maintaining a secondary record which corresponds to regions in the secondary storage volume,
wherein maintaining the secondary record includes indicating which of the regions in the secondary storage volume have been written to; and
in response to receiving a write request at the secondary system:
determining whether data corresponding to at least a portion of the write request will fully overwrite one or more of the regions in the secondary storage volume;
performing the at least a portion of the write request in response to determining that the data corresponding to the at least a portion of the write request will fully overwrite one or more of the regions in the secondary storage volume;
sending a request to the primary system for existing data corresponding to a portion of one or more respective regions in the secondary storage volume in response to determining that the data corresponding to at least a portion of the write request will not overwrite a portion of the one or more respective regions in the secondary storage volume;
receiving the requested existing data from the primary system;
merging the requested existing data with the data corresponding to the at least a portion of the write request determined will not overwrite the portion of the one or more respective regions in the secondary storage volume;
writing the merged data to the one or more respective regions in the secondary storage volume;
updating the secondary record; and
sending a message to the primary system indicating the update to the secondary record, the message being for updating a primary record which indicates which portions of the point-in-time copy of the primary storage volume have been implemented in the secondary storage volume.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the secondary system is remote from the primary system.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the primary and secondary records are bitmaps, wherein each bit of the bitmaps corresponds to a single region of the respective primary and secondary volumes.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein each of the bitmaps is stored on two or more nodes in a clustered system.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein upon detecting that the primary storage volume has gone offline before the whole point-in-time copy of the primary storage volume is received by the secondary storage volume, causing the secondary storage volume to go offline also.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein upon detecting that the primary storage volume has gone offline before the whole point-in-time copy of the primary storage volume is received by the secondary storage volume, postponing all read and write requests received by the secondary storage volume which correspond to portions of the point-in-time copy of the primary storage volume which have not yet been received by the secondary storage volume.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein write requests are received at the secondary system by a single node in a clustered system.

### Claim 8

A system, comprising:
a processor; and
logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, the logic being configured to:
receive, by the processor, existing data at a secondary storage volume in a secondary system from a primary storage volume in a primary system, wherein the existing data received by the secondary storage volume is a point-in-time copy of the primary storage volume;
maintain, by the processor, a secondary record which corresponds to regions in the secondary storage volume,
wherein maintaining the secondary record includes indicating which of the regions in the secondary storage volume have been written to; and
in response to receiving a write request at the secondary system:
determine, by the processor, whether data corresponding to at least a portion of the write request will fully overwrite one or more of the regions in the secondary storage volume,
perform, by the processor, the at least a portion of the write request in response to determining that the data corresponding to the at least a portion of the write request will fully overwrite one or more of the regions in the secondary storage volume,
send, by the processor, a request to the primary system for existing data corresponding to a portion of one or more respective regions in the secondary storage volume in response to determining that the data corresponding to at least a portion of the write request will not overwrite a portion of the one or more respective regions in the secondary storage volume,
receive, by the processor, the requested existing data from the primary system,
merge, by the processor, the requested existing data with the data corresponding to the at least a portion of the write request determined will not overwrite the portion of the one or more respective regions in the secondary storage volume,
write, by the processor, the merged data to the one or more respective regions in the secondary storage volume,
update, by the processor, the secondary record, and
send, by the processor, a message to the primary system indicating the update to the secondary record, the message being for updating a primary record which indicates which portions of the point-in-time copy of the primary storage volume have been implemented in the secondary storage volume.

### Claim 9 (depends on 8)

The system of claim 8, wherein the secondary system is remote from the primary system.

### Claim 10 (depends on 8)

The system of claim 8, wherein the primary and secondary records are bitmaps, wherein each bit of the bitmaps corresponds to a single region of the respective primary and secondary volumes.

### Claim 11 (depends on 10)

The system of claim 10, wherein each of the bitmaps is stored on two or more nodes in a clustered system.

### Claim 12 (depends on 8)

The system of claim 8, wherein upon detecting that the primary storage volume has gone offline before the whole point-in-time copy of the primary storage volume is received by the secondary storage volume, causing the secondary storage volume to go offline also.

### Claim 13 (depends on 8)

The system of claim 8, wherein upon detecting that the primary storage volume has gone offline before the whole point-in-time copy of the primary storage volume is received by the secondary storage volume, postponing all read and write requests received by the secondary storage volume which correspond to portions of the point-in-time copy of the primary storage volume which have not yet been received by the secondary storage volume.

### Claim 14 (depends on 8)

The system of claim 8, wherein write requests are received at the secondary system by a single node in a clustered system.

### Claim 15

A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions readable and/or executable by a processor to cause the processor to:
receive, by the processor, existing data at a secondary storage volume in a secondary system from a primary storage volume in a primary system, wherein the existing data received by the secondary storage volume is a point-in-time copy of the primary storage volume;
maintain, by the processor, a secondary record which corresponds to regions in the secondary storage volume,
wherein maintaining the secondary record includes indicating which of the regions in the secondary storage volume have been written to; and
in response to receiving a write request at the secondary system:
determine, by the processor, whether data corresponding to at least a portion of the write request will fully overwrite one or more of the regions in the secondary storage volume;
perform, by the processor, the at least a portion of the write request in response to determining that the data corresponding to the at least a portion of the write request will fully overwrite one or more of the regions in the secondary storage volume;
send, by the processor, a request to the primary system for existing data corresponding to a portion of one or more respective regions in the secondary storage volume in response to determining that the data corresponding to at least a portion of the write request will not overwrite a portion of the one or more respective regions in the secondary storage volume;
receive, by the processor, the requested existing data from the primary system;
merge, by the processor, the requested existing data with the data corresponding to the at least a portion of the write request determined will not overwrite the portion of the one or more respective regions in the secondary storage volume;
write, by the processor, the merged data to the one or more respective regions in the secondary storage volume;
update, by the processor, the secondary record; and
send, by the processor, a message to the primary system indicating the update to the secondary record, the message being for updating a primary record which indicates which portions of the point-in-time copy of the primary storage volume have been implemented in the secondary storage volume.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the secondary system is remote from the primary system.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the primary and secondary records are bitmaps, wherein each bit of the bitmaps corresponds to a single region of the respective primary and secondary volumes.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein upon detecting that the primary storage volume has gone offline before the whole point-in-time copy of the primary storage volume is received by the secondary storage volume, causing the secondary storage volume to go offline also.

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein upon detecting that the primary storage volume has gone offline before the whole point-in-time copy of the primary storage volume is received by the secondary storage volume, postponing all read and write requests received by the secondary storage volume which correspond to portions of the point-in-time copy of the primary storage volume which have not yet been received by the secondary storage volume.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein write requests are received at the secondary system by a single node in a clustered system.
