Consolidate error

Detected an invalid snapshot configuration : msg.snapshot.error-NOTFOUND.

Shares

I was informed this issue as an unexpected Powered off situation of the Virtual Machine and it was requesting a disk consolidation in the summary tab. When I was trying to Consolidate the VMDKs it was throwing the below error message.

After checking the recent Tasks and Events I was able to identified that there was a Virtual Machine level backup and it was closed due to an error. There was no proper reason other than saying the “Backup failed” error message.

Consolidate error

There was no any pending or created snapshot in the Snapshot Manager. I had a thought of creating a new snapshot and perform the “Delete All” task as it was helping me to fix most of the Snapshot related backup issues. Bad luck.. it didn’t help me either at this time. I can confirm that offline Storage vMotion also got failed after throwing the same error message.

I identified the Datastores which were keeping the VMDKs and the Configuration files and it was similar to this. I’m really sorry I had to blur the image details.

Browser

Then I checked the configuration file of the Virtual Machine I opened the .vmx configuration file from the Notepad. See my below output.

Disk edit

It was pointing to  vmdks which contain “<virtual_machine_disk_name>-000002.vmdk (snapshot delta vmdks)” for each and every disks, there were no actual VMDKs as it was pointing in the .vmx file.

Then I had to manually edit the .vmx file as I had no other choice, we were not able to restore this Virtual Machine at that time.

Note: Manually editing the .vmx file can be lead to a Virtual Machine corruption or data loss, edit it with your own risk.

I have removed the “virtual_machine_disk_name>-000002.vmdk” entries and added the existing disks to the configuration file. Virtual Machine Powering on was successful and I got the confirmation as there was no data loss. In my case,luckily there were no actual delta vmdks with data and I did not end up with a data loss. If you are removing the Existing delta file entries, double check the size of the disk and decide whether there can be a data loss or not before you proceed.

Again, Do it with your own Risk!

If you found this post as useful please rate the post and share it!

Shares
Detected an invalid snapshot configuration : msg.snapshot.error-NOTFOUND.
5 (100%) 1 vote

Leave a Reply