VMware Cloud Community
hmanvmware
Contributor
Contributor
Jump to solution

Cannot create snapshot, corrupted delta files

I use Veeam to backup our servers, it has been running smoothly for years. Veeam creates a snapshot of the VM and than backs up this snapshot. After completion the backup job deletes the snapshot. Due to an aborted backup job, the some of the snapshot files were not deleted. I tried to consolidate the snapshot, that runs through but it doesn't delete the old delta.vmdk files. I tried to create a snapshot, but that fails with msg.snapshot.error-NOTFOUND When I connect to the ESXi I can see the delta files dated from June 8th, I think that might be the problem why I cannot create a snapshot:

A8gnL.jpg

I ran throught different articles in the knowledge base of Vmware but I couldn't find an answer.

Can anybody help me with this issue?

Thanks

Kind regards

0 Kudos
1 Solution

Accepted Solutions
hmanvmware
Contributor
Contributor
Jump to solution

OK I think I solved the problem. I recreated the vmdk files as a copy of the main vmdk file.

This is explained here:

Recreating a missing virtual disk (VMDK) descriptor file for delta disks (1026353)

What is important is that the CID, parentCID and parentFileNameHint match.

How to change the CID and parentCID is explained here:

The parent virtual disk has been modified since the child was created" error (1007969)

After these steps I could create a snapshot. And you were right I can delete those
old delta files, but I will first consolidate.

---------------------------------------------------------------------------------------------------------

Was it helpful? Let us know by completing this short survey here.

View solution in original post

0 Kudos
6 Replies
continuum
Immortal
Immortal
Jump to solution

> I tried to create a snapshot, but that fails with msg.snapshot.error-NOTFOUND
Which file can not be found ?
Once you know that check where this file is configured.

According to your screenshot 4 vmdk descriptorfiles are missing.


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
RajeevVCP4
Expert
Expert
Jump to solution

Remove this vm from backup ( veam) , ask backup administrator to remove any snapshot from veam

then create and delete snap shot by command line

then consolidate

If issue not resolved shut down vm

unregister and re-register vm

then consolidate

Rajeev Chauhan
VCIX-DCV6.5/VSAN/VXRAIL
Please mark help full or correct if my answer is use full for you
0 Kudos
hmanvmware
Contributor
Contributor
Jump to solution

Thank you for your reply.

When I try to create a snapshot the VMSN file is the file that is missing:

Fehlgeschlagen- Detected an invalid snapshot configuration.

  • An error occurred while saving the snapshot: A required file was not found.
  • An error occurred while saving snapshot file "/vmfs/volumes/57458307-0e1b5c49-cf99-3497f6013d67/Server5 Webhoster Debian 8/Server5 Webhoster Debian 8-Snapshot287.vmsn".
  • An error occurred while taking a snapshot: A required file was not found.

I will try to recreate the missing vmdk files to see if that helps.

0 Kudos
continuum
Immortal
Immortal
Jump to solution

Your 4 delta-files are so small and were create in such a short time that I think you can simply discard them.

For the dead reference to a vmsn-file inspect the vmx-file.

There should be a reference to the vmsn that you can remove.


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
hmanvmware
Contributor
Contributor
Jump to solution

I inspected the vmx file and also the vmx~ file but there is no reference to a vmsn file at all.

0 Kudos
hmanvmware
Contributor
Contributor
Jump to solution

OK I think I solved the problem. I recreated the vmdk files as a copy of the main vmdk file.

This is explained here:

Recreating a missing virtual disk (VMDK) descriptor file for delta disks (1026353)

What is important is that the CID, parentCID and parentFileNameHint match.

How to change the CID and parentCID is explained here:

The parent virtual disk has been modified since the child was created" error (1007969)

After these steps I could create a snapshot. And you were right I can delete those
old delta files, but I will first consolidate.

---------------------------------------------------------------------------------------------------------

Was it helpful? Let us know by completing this short survey here.

0 Kudos