Patent ID: 9740544
Date: 2017-08-22
CPC Classifications: G06F

Claim:
1. A method comprising: detecting, by a processing device of a first computer system, that a second computer system running a virtual machine has issued one or more commands to create a first snapshot of a first virtual disk of the virtual machine and a second snapshot of a second virtual disk of the virtual machine; determining, by the processing device of the first computer system, whether the creating of the first snapshot of the first virtual disk completed successfully; determining, by the processing device of the first computer system, whether the creating of the second snapshot of the second virtual disk on the second computer system failed; and in response to a determination by the first computer system that the creating of the second snapshot of the second virtual disk on the second computer system failed and that the creating of the first snapshot of the first virtual disk completed successfully, issuing, by the first computer system, one or more commands to the second computer system to destroy the first snapshot of the first virtual disk on the second computer system and deallocate an area of a storage device that stores the first snapshot, wherein the first snapshot is of the first virtual disk of the virtual machine on the second computer system.