US 11,789,636 B2
Ensuring sufficient space is available on target volumes before performing a point-in-time copy job
David C. Reed, Tucson, AZ (US); David Michael Shackelford, Tucson, AZ (US); Donna Weaver, Lake Mary, FL (US); and Susan Van Berkel, Ottawa (CA)
Assigned to International Business Machines Corporation, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Sep. 13, 2021, as Appl. No. 17/473,738.
Prior Publication US 2023/0083038 A1, Mar. 16, 2023
Int. Cl. G06F 12/00 (2006.01); G06F 13/00 (2006.01); G06F 3/06 (2006.01)
CPC G06F 3/065 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0644 (2013.01); G06F 3/0647 (2013.01); G06F 3/0659 (2013.01); G06F 3/0673 (2013.01)] 24 Claims
OG exemplary drawing
 
1. A computer-implemented method, comprising:
prior to executing a point-in-time copy job from a source site to a target site, running a space checker program to generate a list that includes: source data sets of the source site that will be used in the point-in-time copy job and a pool of potential target volumes of the target site that are eligible to be used for the point-in-time copy job;
compute, based on the generated list, a total amount of space required on the potential target volumes to successfully perform the point-in-time copy job, wherein a predetermined amount of over-allocation is added to the computed total amount of space, wherein the predetermined amount of over-allocation is an average of sizes of data additions and/or deletions to source data sets of the source site that have occurred between running the space checker program and performing a point-in-time copy job for a predetermined number of previous point-in-time copy jobs;
determining that the computed total amount of space is not available on the potential target volumes to successfully perform the point-in-time copy job;
in response to the determination that the computed total amount of space is not available on the potential target volumes to successfully perform the point-in-time copy job, issuing an on-demand migration against at least one target volume of the pool of potential target volumes for ensuring that the computed total amount of space is available on the at least one target volume associated with the issued on-demand migration to successfully perform the point-in-time copy job; and
performing the point-in-time copy job.