"Detected an invalid snapshot configuration" error creating a snapshot
book
Article ID: 318905
calendar_today
Updated On:
Products
VMware vCenter ServerVMware vSphere ESXi
Issue/Introduction
Cannot take snapshot from this virtual machine.
Attempting to take a snapshot fails with:
Detected an invalid snapshot configuration. An error occurred while taking a snapshot: A required file was not found.
Snapshot based backup will not complete successfully.
Environment
VMware vSphere ESXi
VMware vCenter Server
Cause
This issue occurs when there are snapshots that are not part of a snapshot chain (orphaned snapshots) in the virtual machine directory while the VM is not running on snapshots.
Resolution
Verify the VM is running on the base disk by editing the VM settings.
Select the VM that is having this issue and click the hard disk and verify the disk mounted:
Snapshot will look likeVMName-00000x.vmdk (For exampleVMName-000001.vmdk)
Base disks will look likeVMName.vmdk
Remove any existing snapshots.
Verify VM is now running on the base disks. If not, STOP IMMEDIATLY. DO NOT CONTINUE.
Make a note of the datastore where the VM is stored.
Connect to the ESXi host with an SSH session.
Navigate to the datastore from step 4.
cd /vmfs/volumes/DATASTORE/VM_Name/
Note: Alternatively, the vCenter or Host UI can be used to perform the following steps.
List all the files in the folder:
ls -l
Look for snapshot files similar toVMName-00000x.vmdk
Create a temporary directory to store the snapshots:
mkdir delete_me
Move the snapshot files to the temporary directory: