# US 2016/0253109 A1 · Peer to peer volume extension in a shared storage environment

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

- Number: US 2016/0253109 A1
- Document ID: US20160253109A1
- Status: Published application
- Kind: A1
- Application number: 14/633,081
- Filed: 2015-02-26
- Published: 2016-09-01
- Earliest claimed: 2015-02-26
- Assignees: Red Hat, Inc.
- Applicants: Red Hat, Inc.
- Inventors: Adam Litke; Federico Simoncelli
- Web page: https://patentgrep.com/patent/US20160253109A1

## CPC

- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0665: {at area level, e.g. provisioning of virtual or logical volumes}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 11/14: Error detection or correction of the data by redundancy in operations (error detection or correction of the data by redundancy in hardware G06F11/16)
- G06F 11/1448: {Management of the data involved in backup or backup restore}
- G06F 11/1458: {Management of the backup or restore process}
- G06F 11/3034: {where the computing system component is a storage system, e.g. DASD based or network based (digital input from or digital output to record carriers G06F3/06; digital recording or reproducing G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097)}
- G06F 11/004: {Error avoidance (G06F11/07 and subgroups take precedence)}
- G06F 2201/81: Threshold
- G06F 2201/84: Using snapshots, i.e. a logical point-in-time copy of the data
- G06F 2201/875: Monitoring of systems including the internet
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A processing device receives a request to delete a snapshot of a virtual machine. The processing device identifies a volume chain of a virtual disk in a shared storage that includes a destination storage volume and a source storage volume. The snapshot is associated with the source storage volume or the destination storage volume. The processing device instructs a host machine to perform a merge operation to merge data of the source storage volume with data of the destination storage volume and to delete the snapshot. The processing device monitors a set of writable storage volumes that comprises the destination storage volume to determine whether a storage threshold for any storage volume of the set of writable storage volumes is met during the merge operation. In response to the storage threshold being met during the merge operation, the processing device causes the performance of an extension operation to extend the allocated disk space of at least one storage volume of the set of writable storage volumes.

## Claims

### Claim 1

A method comprising:
monitoring, by a processing device, a set of writable storage volumes that comprises a destination storage volume to determine whether a storage threshold for any storage volume of the set of writable storage volumes is met during a merge operation; and
in response to the storage threshold being met during the merge operation, performing an extension operation to extend an allocated disk space of at least one storage volume of the set of writable storage volumes.

### Claim 2 (depends on 1)

The method of claim 1, wherein monitoring the set of writable storage volumes that comprises the destination storage volume to determine whether a storage threshold for any storage volume of the set of writable storage volumes is met during the merge operation comprises:
identifying a current volume usage for the destination storage volume; and
comparing the current volume usage with the storage threshold.

### Claim 3 (depends on 1)

The method of claim 1, wherein the merge operation is performed while a virtual machine writes new data to an active volume of a virtual disk.

### Claim 4 (depends on 3)

The method of claim 3, wherein the set of writable storage volumes comprises an active volume, wherein the extension operation is performed on the active volume during the merge operation.

### Claim 5 (depends on 1)

The method of claim 1, wherein performing the extension operation comprises:
instructing a storage manager to extend the at least one storage volume in a shared storage; and
receiving an indication from the storage manager that the at least one storage volume has been extended.

### Claim 6 (depends on 5)

The method of claim 5 further comprising verifying that the at least one storage volume has been extended.

### Claim 7 (depends on 1)

The method of claim 1, wherein the writable storage volumes are part of a volume chain that comprises a series of snapshots associated with a virtual disk.

### Claim 8

A system comprising:
a memory; and
a processing device operatively coupled with the memory to:
monitoring a set of writable storage volumes that comprises a destination storage volume to determine whether a storage threshold for any storage volume of a set of writable storage volumes is met during a merge operation; and
in response to the storage threshold being met during the merge operation, instruct a storage manager to perform an extension operation to extend an allocated disk space of at least one storage volume of the set of writable storage volumes.

### Claim 9 (depends on 8)

The system of claim 8, wherein when monitoring the set of writable storage volumes that comprises the destination storage volume to determine whether a storage threshold for any storage volume of the set of writable storage volumes is met during the merge operation, the processing device is to:
identify a current volume usage for the destination storage volume; and
compare the current volume usage with the storage threshold.

### Claim 10 (depends on 8)

The system of claim 8, the processing device further to:
request volume chain information for a virtual disk from a host machine in response to receiving an indication from the host machine that data of a source storage volume has been merged into the destination storage volume; and
determine that the data of the source storage volume was merged with data of the destination storage volume when the volume chain information does not include a source storage volume.

### Claim 11 (depends on 8)

The system of claim 8, the processing device further to identify a volume chain of a virtual disk in a shared storage that comprises the destination storage volume and a source storage volume.

### Claim 12 (depends on 8)

The system of claim 8, wherein the merge operation is performed while a virtual machine writes new data to an active volume of a virtual disk.

### Claim 13 (depends on 12)

The system of claim 12, wherein the set of writable storage volumes comprises the active volume, wherein the extension operation is performed on the active volume during the merge operation.

### Claim 14 (depends on 8)

The system of claim 8, wherein the writable storage volumes are part of a volume chain comprises a series of snapshots associated with a virtual disk.

### Claim 15

A non-transitory machine-readable storage medium including instructions that, when executed by a processing device, cause the processing device to: monitoring a set of writable storage volumes that comprises a destination storage volume to determine whether a storage threshold for any storage volume of the set of writable storage volumes is met during a merge operation; and
in response to the storage threshold being met during the merge operation, instruct a storage manager to perform an extension operation to extend an allocated disk space of at least one storage volume of the set of writable storage volumes.

### Claim 16 (depends on 15)

The non-transitory machine-readable storage medium of claim 15, wherein when monitoring the set of writable storage volumes that comprises the destination storage volume to determine whether a storage threshold for any storage volume of the set of writable storage volumes is met during the merge operation, the instructions to cause the processing device further to:
identify a current volume usage for the destination storage volume; and
compare the current volume usage with the storage threshold.

### Claim 17 (depends on 15)

The non-transitory machine-readable storage medium of claim 15, the instructions to cause the processing device further to:
request volume chain information for a virtual disk from a host machine in response to receiving an indication from the host machine that data of a source storage volume has been merged into the destination storage volume; and
determine that the data of the source storage volume was merged with data of the destination storage volume when the volume chain information does not include a source storage volume.

### Claim 18 (depends on 15)

The non-transitory machine-readable storage medium of claim 15, the instructions to cause the processing device further to identify a volume chain of a virtual disk in a shared storage that comprises the destination storage volume and a source storage volume.

### Claim 19 (depends on 15)

The non-transitory machine-readable storage medium of claim 15, wherein the merge operation is performed while a virtual machine writes new data to an active volume of a virtual disk.

### Claim 20 (depends on 19)

The non-transitory machine-readable storage medium of claim 19, wherein the set of writable storage volumes comprises the active volume, wherein the extension operation is performed on the active volume during the merge operation.
