# US 11,119,689 B2 · Accelerated data removal in hierarchical storage environments

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

- Number: US 11,119,689 B2
- Document ID: US11119689B2
- Status: Granted
- Kind: B2
- Application number: 15/979,927
- Filed: 2018-05-15
- Published: 2019-11-21
- Granted: 2021-09-14
- Earliest claimed: 2018-05-15
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Kousei Kawamura; Koichi Masuda; Takahiro Tsuda; Sosuke Matsui; Takeshi Nohta; Shinsuke Mitsuma
- Web page: https://patentgrep.com/patent/US11119689B2

## CPC

- G06F 3/061: {Improving I/O performance}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/0664: {at device level, e.g. emulation of a storage device or system}
- G06F 3/0682: {Tape device}
- G06F 3/0686: {Libraries, e.g. tape libraries, jukebox}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method for maintaining a storage volume in a virtual tape system includes writing one or more logical volumes associated with a first category and one or more logical volumes associated with a second category to a primary storage in a virtual tape system. The computer-implemented method further includes performing a first automatic removal process in order to free up space on the primary storage, wherein the first automatic removal process removes logical volumes associated with the first category in priority to logical volumes associated with the second category. The computer-implemented method further includes performing a second automatic removal process, wherein the second automatic removal process dynamically alters the priority of the first automatic removal process such that one or more virtual volumes associated with the second category are removed in priority to one or more virtual volumes associated with the first category.

## Claims

### Claim 1

A computer-implemented method for maintaining a storage volume in a virtual tape system, the computer-implemented method comprising:
removing logical volumes that can be overwritten in priority to logical volumes that cannot be overwritten from a primary storage of the virtual tape system; and
switching from removing logical volumes that can be overwritten in priority to logical volumes that cannot be overwritten to removing logical volumes that cannot be overwritten in priority to logical volumes that can be overwritten based, at least in part, on:
an amount of free space on the primary storage being less than or equal to a second predetermined threshold.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the removing logical volumes that can be overwritten in priority to logical volumes that cannot be overwritten comprises:
removing logical volumes that can be overwritten in descending order of capacity; and
removing, in response to removing all of the logical volumes that can be overwritten, logical volumes that cannot be overwritten in descending order of prior access.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the second predetermined threshold is less than the first predetermined threshold.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein removing logical volumes that cannot be overwritten in priority to logical volumes that can be overwritten comprises removing logical volumes that cannot be overwritten in descending order of capacity.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein removing logical volumes that cannot be overwritten in priority to logical volumes that can be overwritten comprises removing logical volumes that cannot be overwritten in descending order of capacity.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein removing logical volumes that cannot be overwritten in priority to logical volumes that can be overwritten comprises removing logical volumes that cannot be overwritten in descending order of elapsed time of prior access.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein removing logical volumes that cannot be overwritten in priority to logical volumes that can be overwritten comprises alternating between removing logical volumes that cannot be overwritten in descending order of capacity and logical volumes that cannot be overwritten in descending order of elapsed time of prior access.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein selecting a logical volume that cannot be overwritten for removal is based, at least in part, on whether the logical volume that cannot be overwritten is replicated on a second virtual tape library.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein:
(i) the primary storage in the virtual tape system is a disk cache of a first virtual tape library and (ii) a secondary storage device in the virtual tape system is a tape drive of a tape library.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein the primary storage acts as a cache for the secondary storage in the virtual tape system.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, wherein switching from removing logical volumes that can be overwritten in priority to logical volumes that cannot be overwritten to removing logical volumes that cannot be overwritten in priority to logical volumes that can be overwritten if further based, at least in part, on:
a rate at which data is being written to the primary storage being greater than or equal to a predicted removal rate of subsequent logical volumes that can be overwritten from the primary storage.

### Claim 12 (depends on 11)

The computer-implemented method of claim 11, wherein the predicted removal rate of data for subsequent logical volumes that can be overwritten from the primary storage is further based, at least in part, on:
determining a first predicted removal rate based, at least in part, on: (i) a rate of removal of subsequent logical volumes that can be overwritten and (ii) a capacity of the largest subsequent logical volume that can be overwritten slotted for removal; and
determining a second predicted removal rate based, at least in part, on: (i) a rate of removal of subsequent logical volumes that can be overwritten and (ii) an average capacity of two or more subsequent logical volumes that can be overwritten slotted for removal.

### Claim 13

A computer program product for maintaining a storage volume in a virtual tape system, the computer program product comprising one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions including instructions to:
remove logical volumes that can be overwritten in priority to logical volumes that cannot be overwritten from a primary storage of the virtual tape system; and
switch from removing logical volumes that can be overwritten in priority to logical volumes that cannot be overwritten to removing logical volumes that cannot be overwritten in priority to logical volumes that can be overwritten based, at least in part, on:
an amount of free space on the primary storage being less than or equal to a second predetermined threshold.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein: (i) the primary storage in the virtual tape system is a disk cache of a first virtual tape library and (ii) a secondary storage device in the virtual tape system is a tape drive of a tape library.

### Claim 15 (depends on 13)

The computer program product of claim 13, wherein the primary storage acts as a cache for the secondary storage in the virtual tape system.

### Claim 16

A computer system for accelerated data removal for maintaining a storage volume in a virtual tape system, the computer system comprising:
one or more computer processors;
one or more computer readable storage media;
computer program instructions;
the computer program instructions being stored on the one or more computer readable storage media for execution by the one or more computer processors; and
the computer program instructions including instructions to:
remove logical volumes that can be overwritten in priority to logical volumes that cannot be overwritten from a primary storage of the virtual tape system; and
switch from removing logical volumes that can be overwritten in priority to logical volumes that cannot be overwritten to removing logical volumes that cannot be overwritten in priority to logical volumes that can be overwritten based, at least in part, on:
an amount of free space on the primary storage being less than or equal to a second predetermined threshold.
