This issue occurs if the last snapshot file of the virtual machine is corrupted.
To resolve this issue, create a clone of the disk using an earlier snapshot and replace the existing disk with the new disk.
To replace the existing disk with a new cloned disk:
- Provision space on another datastore.
- Create a folder on the new datastore with the same name as the virtual machine
- Run this command to clone the disk from the previous snapshot:
# vmkfstools -i /vmfs/volumes/datastore1/virtualmachine/virtualmachine-0000003.vmdk /vmfs/volumes/datastore2/virtualmachine/virtualmachine.vmdk
- Edit the virtual machine settings and remove the existing disk.
- Add the new disk to the virtual machine.
- Power on the virtual machine.
- Remove the old files in the original datastore.
- Perform a Storage vMotion to move the disk to the original datastore.