# US 2018/0321848 A1 · Point-in-time snap copy withdrawal management

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

- Number: US 2018/0321848 A1
- Document ID: US20180321848A1
- Status: Published application
- Kind: A1
- Application number: 15/588,237
- Filed: 2017-05-05
- Published: 2018-11-08
- Earliest claimed: 2017-05-05
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Theresa M. Brown; Nicolas M. Clayton; Joshua J. Crawford; Nedlaya Y. Francisco; Theodore T. Harris, JR.; Gregory E. McBride; Carol S. Mellgren; Edgar X. Somoza; Damian Trujillo
- Web page: https://patentgrep.com/patent/US20180321848A1

## CPC

- G06F 11/2064: {while ensuring consistency}
- G06F 11/1402: {Saving, restoring, recovering or retrying}
- G06F 11/2058: {using more than 2 mirrored copies}
- G06F 11/1446: Point-in-time backing up or restoration of persistent data
- G06F 11/1448: {Management of the data involved in backup or backup restore}
- G06F 11/1451: {by selection of backup contents}
- G06F 11/1453: {using de-duplication of the data}
- G06F 11/1456: {Hardware arrangements for backup}
- G06F 11/1458: {Management of the backup or restore process}
- G06F 11/1461: {Backup scheduling policy}
- G06F 11/1464: {for networked environments}
- G06F 11/1466: {to make the backup process non-disruptive}
- G06F 11/2074: {Asynchronous techniques}
- G06F 2201/84: Using snapshots, i.e. a logical point-in-time copy of the data
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Withdrawal of a point-in-time snap copy relationship or a portion of such a relationship, is managed in a manner which can obviate disruption of consistency groups due to the withdrawal. If the withdrawal request is directed to a subrange of the original snap copy relationship, the snap copy relationship is split by creating one or more point-in-time snap copy relationships over one or more subranges of tracks of the snap copy source. A determination is made as to whether to delay execution of the withdrawal request to temporarily preserve data of the withdrawal range. Disruptions to completion of consistency groups may be avoided by selectively delaying the withdrawal of a snap copy relationship corresponding to the withdrawal subrange. In so far as the host is involved, a host may treat the withdrawal request as immediately granted without delay. Other aspects may be realized, depending upon the particular application.

## Claims

### Claim 1

A method, comprising:
establishing a first point-in-time snap copy relationship between a snap copy source and a snap copy target as of a first point-in-time over a first range of tracks of the snap copy source wherein the first range of tracks includes a first subrange of tracks and a second subrange of tracks;
receiving a withdraw request issued as of a second point-in-time to withdraw the first subrange of tracks from the point-in-time snap copy relationship;
creating a second point-in-time snap copy relationship between the snap copy source and the snap copy target as of the first point-in-time over the second subrange of tracks of the snap copy source;
reducing the range of the first point-in-time snap copy relationship to the first subrange of tracks of the withdraw request to provide a modified first point-in-time snap copy relationship as of the first point-in-time between the snap copy source and the snap copy target over the first subrange of tracks of the withdraw request; and
determining whether to delay withdrawal of the modified first point-in-time snap copy relationship in response to the withdrawal request, to temporarily preserve data of the first subrange of tracks of the modified first point-in-time snap copy relationship.

### Claim 2 (depends on 1)

The method of claim 1 further wherein the determining whether to delay withdrawal of the modified first point-in-time snap copy relationship includes determining whether a consistency group between a consistency group source and a consistency group target was initiated as of a third point-in-time which is both a) after the first point-in-time of the relationship establishing and b) before the second point-in-time of issuance of the withdraw request.

### Claim 3 (depends on 2)

The method of claim 2 further comprising withdrawing the modified first point-in-time snap copy relationship in response to the withdrawal request in the absence of a consistency group which was initiated both a) after the first point-in-time of the relationship establishing and b) before the second point-in-time of issuance of the withdraw request.

### Claim 4 (depends on 2)

The method of claim 2 further comprising delaying withdrawal of the modified first point-in-time snap copy relationship in response to the withdrawal request if it is determined that a first consistency group was initiated at a third point-in-time which is both a) after the first point-in-time of the relationship establishing and b) before the second point-in-time of issuance of the withdraw request.

### Claim 5 (depends on 4)

The method of claim 4 wherein the determining whether to delay withdrawal of the modified first point-in-time snap copy relationship further includes determining whether a second consistency group between a consistency group source and a consistency group target was initiated as of a fourth point-in-time which is after the second point-in-time of issuance of the withdraw request.

### Claim 6 (depends on 5)

The method of claim 5 further comprising if it is determined that a second consistency group between a consistency group source and a consistency group target, was initiated as of a fourth point-in-time which is after the second point-in-time of issuance of the withdraw request, determining if the data for completing the second consistency group is available.

### Claim 7 (depends on 6)

The method of claim 6 further comprising withdrawing the modified first point-in-time snap copy relationship in response to the withdrawal request if it is determined that the data for completing the second consistency group is available, and delaying withdrawal of the modified first point-in-time snap copy relationship in response to the withdrawal request if it is determined that the data for completing the second consistency group is not available.

### Claim 8

A storage controller, comprising:
snap copy relationship establishment logic configured to establish a first point-in-time snap copy relationship between a snap copy source and a snap copy target as of a first point-in-time over a first range of tracks of the snap copy source wherein the first range of tracks includes a first subrange of tracks and a second subrange of tracks;
snap copy relationship withdrawal logic configured to receive a withdraw request issued as of a second point-in-time to withdraw the first subrange of tracks from the point-in-time snap copy relationship, the snap copy relationship withdrawal logic having:
snap copy relationship splitting logic configured to create a second point-in-time snap copy relationship between the snap copy source and the snap copy target as of the first point-in-time over the second subrange of tracks of the snap copy source and reduce the range of the first point-in-time snap copy relationship to the first subrange of tracks of the withdraw request to provide a modified first point-in-time snap copy relationship as of the first point-in-time between the snap copy source and the snap copy target over the first subrange of tracks of the withdraw request; and
withdrawal delay logic configured to determine whether to delay withdrawal of the modified first point-in-time snap copy relationship in response to the withdrawal request, to temporarily preserve data of the first subrange of tracks of the modified first point-in-time snap copy relationship.

### Claim 9 (depends on 8)

The storage controller of claim 8 further wherein the withdrawal delay logic is further configured to determine whether a consistency group between a consistency group source and a consistency group target was initiated as of a third point-in-time which is both a) after the first point-in-time of the relationship establishment and b) before the second point-in-time of issuance of the withdraw request.

### Claim 10 (depends on 9)

The storage controller of claim 9 wherein the snap copy relationship withdrawal logic is further configured to withdraw the modified first point-in-time snap copy relationship in response to the withdrawal request in the absence of a consistency group which was initiated both a) after the first point-in-time of the relationship establishment and b) after the second point-in-time of issuance of the withdraw request.

### Claim 11 (depends on 9)

The storage controller of claim 9 wherein the withdrawal delay logic is further configured to delay withdrawal of the modified first point-in-time snap copy relationship in response to the withdrawal request if it is determined that a first consistency group was initiated at a third point-in-time which is both a) after the first point-in-time of the relationship establishment and b) before the second point-in-time of issuance of the withdraw request.

### Claim 12 (depends on 11)

The storage controller of claim 11 wherein the withdrawal delay logic is further configured to determine whether a second consistency group between a consistency group source and a consistency group target was initiated as of a fourth point-in-time which is after the second point-in-time of issuance of the withdraw request.

### Claim 13 (depends on 12)

The storage controller of claim 12 wherein the withdrawal delay logic is further configured to, if it is determined that a second consistency group between a consistency group source and a consistency group target, was initiated as of a fourth point-in-time which is after the second point-in-time of issuance of the withdraw request, to determine if the data for completing the second consistency group is available.

### Claim 14 (depends on 13)

The storage controller of claim 13 wherein the snap copy relationship withdrawal logic is further configured to withdraw the modified first point-in-time snap copy relationship in response to the withdrawal request if it is determined that the second consistency group has completed, and wherein the withdrawal delay logic is further configured to delay withdrawal of the modified first point-in-time snap copy relationship in response to the withdrawal request if it is determined that the data for completing the second consistency group is not available.

### Claim 15

A computer program product for use with a host and a primary storage system at a first location, the primary storage system having a primary storage controller and at least one storage unit controlled by the primary storage controller and configured to store a plurality of data units in tracks, wherein the computer program product comprises a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor a storage system to cause processor operations, the processor operations comprising:
establishing a first point-in-time snap copy relationship between a snap copy source of a storage unit and a snap copy target of a storage unit as of a first point-in-time over a first range of tracks of the snap copy source wherein the first range of tracks includes a first subrange of tracks and a second subrange of tracks;
receiving a withdraw request issued as of a second point-in-time to withdraw the first subrange of tracks from the point-in-time snap copy relationship;
creating a second point-in-time snap copy relationship between the snap copy source and the snap copy target as of the first point-in-time over the second subrange of tracks of the snap copy source;
reducing the range of the first point-in-time snap copy relationship to the first subrange of tracks of the withdraw request to provide a modified first point-in-time snap copy relationship as of the first point-in-time between the snap copy source and the snap copy target over the first subrange of tracks of the withdraw request; and
determining whether to delay withdrawal of the modified first point-in-time snap copy relationship in response to the withdrawal request, to temporarily preserve data of the first subrange of tracks of the modified first point-in-time snap copy relationship.

### Claim 16 (depends on 15)

The computer program product of claim 15 further wherein the determining whether to delay withdrawal of the modified first point-in-time snap copy relationship includes determining whether a consistency group between a consistency group source and a consistency group target was initiated as of a third point-in-time which is both a) after the first point-in-time of the relationship establishing and b) before the second point-in-time of issuance of the withdraw request.

### Claim 17 (depends on 16)

The computer program product of claim 16 wherein the operations further comprise withdrawing the modified first point-in-time snap copy relationship in response to the withdrawal request in the absence of a consistency group which was initiated both a) after the first point-in-time of the relationship establishing and b) before the second point-in-time of issuance of the withdraw request.

### Claim 18 (depends on 16)

The computer program product of claim 16 wherein the operations further comprise delaying withdrawal of the modified first point-in-time snap copy relationship in response to the withdrawal request if it is determined that a first consistency group was initiated at a third point-in-time which is both a) after the first point-in-time of the relationship establishing and b) before the second point-in-time of issuance of the withdraw request.

### Claim 19 (depends on 18)

The computer program product of claim 18 wherein the determining whether to delay withdrawal of the modified first point-in-time snap copy relationship further includes determining whether a second consistency group between a consistency group source and a consistency group target was initiated as of a fourth point-in-time which is after the second point-in-time of issuance of the withdraw request.

### Claim 20 (depends on 19)

The computer program product of claim 19 wherein the operations further comprise if it is determined that a second consistency group between a consistency group source and a consistency group target, was initiated as of a fourth point-in-time which is after the second point-in-time of issuance of the withdraw request, determining if the data for completing the second consistency group is available.

### Claim 21 (depends on 20)

The computer program product of claim 20 wherein the operations further comprise withdrawing the modified first point-in-time snap copy relationship in response to the withdrawal request if it is determined that the data for completing the second consistency group is available, and delaying withdrawal of the modified first point-in-time snap copy relationship in response to the withdrawal request if it is determined that the data for completing the second consistency group is not available.
