# US 2022/0035556 A1 · Deletion of volumes in data storage systems

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

- Number: US 2022/0035556 A1
- Document ID: US20220035556A1
- Status: Published application
- Kind: A1
- Application number: 16/941,693
- Filed: 2020-07-29
- Published: 2022-02-03
- Earliest claimed: 2020-07-29
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Paul Nicholas Cashman; Gemma Izen; Ben Sasson
- Web page: https://patentgrep.com/patent/US20220035556A1

## CPC

- G06F 3/0605: {by facilitating the interaction with a user or administrator}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0664: {at device level, e.g. emulation of a storage device or system}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 3/0673: {Single storage device}
- G06F 12/10: Address translation
- G06F 2212/657: Virtual address space management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Storing data volumes in virtual and physical address spaces such that the data units are contiguous in virtual address space but fragmented in physical address space. The mapping between virtual and physical address space is managed by a storage controller that is configured to implement deletes reversibly with a so-called soft delete, the soft delete being reversible up to a later permanent or hard delete. A soft delete triggers a compaction in which the data units of the to-be-deleted volume are gathered together in physical address space. During the time between compaction and hard delete (or restore), the soft deleted volume is thus stored in a space efficient manner. Moreover, the subsequent hard delete can be performed more quickly than if the soft deleted volume were still fragmented across physical address space freeing up space quicker.

## Claims

### Claim 1

A computer-implemented method comprising:
determining to permanently delete a data volume in a virtualized data storage system, the data volume being stored in a virtual address space, the data volume being mapped to a physical address space;
performing a soft delete of the data volume by marking for deletion a set of data units associated with the data volume;
taking a compacting action on the set of data units, the set of data units being gathered together in the physical address space by the compacting action;
determining to restore the data volume instead of permanently deleting the data volume; and
restoring the data volume to the virtualized data storage system including unmarking the set of data units for deletion.

### Claim 2 (depends on 1)

The method of claim 1, wherein data units of set of data units are contiguous in the virtual address space but are at least partially fragmented in the physical address space.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
determining to proceed with deleting the data volume including the set of data units gathered together in the physical address space; and
performing a permanent delete action on the data units by de-allocating the virtual address space and the physical address space, wherein the physical address space is available for reuse;
wherein the permanent delete action includes wiping a physical storage associated with the physical address space, thereby precluding a physical recovery of the set of data units.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
responsive to taking the compacting action on the set of data units, starting a counter for a time delay, the counter running from a start value to an end value;
wherein:
determining to restore the data volume is responsive to receiving the restore command prior to the counter reaching the end value.

### Claim 5 (depends on 4)

The method of claim 4, wherein:
the counter runs according to a counter speed; and
the counter speed is varied according to a measure of spare capacity of the virtualized data storage system.

### Claim 6 (depends on 1)

The method of claim 1, wherein the soft delete includes blocking input/output to the data volume.

### Claim 7 (depends on 1)

The method of claim 1, wherein taking the compacting action is integrated with a garbage collection action, the taking the compacting action being triggered when the garbage collection action encounters the soft-deleted data volume.

### Claim 8

(canceled)

### Claim 9

A computer program product comprising a computer-readable storage medium having a set of instructions stored therein which, when executed by a processor, causes the processor to perform operations on a data volume by:
determining to permanently delete the data volume in a virtualized data storage system, the data volume being stored in a virtual address space, the data volume being mapped to a physical address space;
performing a soft delete of the data volume by marking for deletion a set of data units associated with the data volume;
taking a compacting action on the set of data units, the set of data units being gathered together in the physical address space by the compacting action;
determining to restore the data volume instead of permanently deleting the data volume; and
restoring the data volume to the virtualized data storage system including unmarking the set of data units for deletion.

### Claim 10 (depends on 9)

The computer program product of claim 9, wherein data units of set of data units are contiguous in the virtual address space but are at least partially fragmented in the physical address space.

### Claim 11 (depends on 9)

The computer program product of claim 9, further causing the processor to perform operations on the data volume by:
determining to proceed with deleting the data volume including the set of data units gathered together in the physical address space; and
performing a permanent delete action on the data units by de-allocating the virtual address space and the physical address space, wherein the physical address space is available for reuse;
wherein the permanent delete action includes wiping a physical storage associated with the physical address space, thereby precluding a physical recovery of the set of data units.

### Claim 12 (depends on 9)

The computer program product of claim 9, further causing the processor to perform operations on the data volume by:
responsive to taking the compacting action on the set of data units, starting a counter for a time delay, the counter running from a start value to an end value;
wherein:
determining to restore the data volume is responsive to receiving the restore command prior to the counter reaching the end value.

### Claim 13 (depends on 12)

The computer program product of claim 12, wherein:
the counter runs according to a counter speed; and
the counter speed is varied according to a measure of spare capacity of the virtualized data storage system.

### Claim 14

(canceled)

### Claim 15 (depends on 9)

The computer program product of claim 9, wherein taking the compacting action is integrated with a garbage collection action, the taking the compacting action being triggered when the garbage collection action encounters the soft-deleted data volume.

### Claim 16

(canceled)

### Claim 17

A computer system comprising:
a processor(s) set; and
a computer readable storage medium having program instructions stored therein;
wherein:
the processor(s) set executes the program instructions that cause the processor set to perform operations on a data volume by:
determining to permanently delete the data volume in a virtualized data storage system, the data volume being stored in a virtual address space, the data volume being mapped to a physical address space;
performing a soft delete of the data volume by marking for deletion a set of data units associated with the data volume;
taking a compacting action on the set of data units, the set of data units being gathered together in the physical address space by the compacting action;
determining to restore the data volume instead of permanently deleting the data volume; and
restoring the data volume to the virtualized data storage system including unmarking the set of data units for deletion.

### Claim 18 (depends on 17)

The computer system of claim 17, further causing the processor to perform operations on the data volume by:
responsive to taking the compacting action on the set of data units, starting a counter for a time delay, the counter running from a start value to an end value;
wherein:
determining to restore the data volume is responsive to receiving the restore command prior to the counter reaching the end value.

### Claim 19 (depends on 17)

The computer system of claim 17, wherein taking the compacting action is integrated with a garbage collection action, the taking the compacting action being triggered when the garbage collection action encounters the soft-deleted data volume.

### Claim 20

(canceled)
