Task name: Remove snapshot
Status An error occurred while deleting a snapshot:
One of the disks in this virtual machine is already in use by a virtual machine or by a snapshot.vmfs/volumes/<datastore_name>/<virtual_machine_name>/vmware.log, displayed messages are similar to the following, indicating that the same VMDK file is already opened by another snapshot:SNAPSHOT: SnapshotDiskTreeAddFromSnapshot: Trying to add snapshot ###-Snapshot2.vmsn to disk /vmfs/volumes/.../###.vmdk which already has snapshot ###-Snapshot1.vmsn.
SNAPSHOT: SnapshotGenerateDeleteDisks Failed to fetch disk tree: One of the disks in this virtual machine is already in use by a virtual machine or by a snapshot (21)
SNAPSHOT: SnapshotDeleteNode failed: One of the disks in this virtual machine is already in use by a virtual machine or by a snapshot (21) "Operation failed" Status: Failed to enumerate all disks. One of the disks in this virtual machine is already in use by a virtual machine or by a snapshotThe virtual_machine_name.vmsd file, located in /vmfs/volumes/<datastore_name>/<virtual_machine_name>/, contains entries similar to the following:
snapshot0.uid = "1"
snapshot0.filename = "Direct-###-Snapshot1.vmsn"
snapshot0.disk0.fileName = "Direct-###01.vmdk"
snapshot0.disk0.node = "scsi0:0"
snapshot1.parent = "1"
snapshot1.uid = "2"
snapshot1.filename = "Direct-###-Snapshot2.vmsn"
snapshot1.disk0.fileName = "Direct-###01.vmdk"
snapshot1.disk0.node = "scsi0:0"Important: Before proceeding, ensure a full backup of the affected virtual machine is completed.
VMDK file containing the most recent VM data.vmkfstools to preserve the latest disk state. Kindly refer to the KB 343140 for cloning a disk using the vmkfstools command.cd /vmfs/volumes/datastore_name/virtual_machine_name/.vmsd file:mv virtual_machine_name.vmsd virtual_machine_name.vmsd.bakVM > Actions > Snapshots > Consolidate