When attempting to take a snapshot of a virtual machine, you may see the following errors in vCenter:
In the vmware.log file for the virtual machine, you see the following errors:
In(05) vcpu-0 ########-#######-auto-######-##:########-##-##-#### DISKLIB-LIB : Failed to open '/vmfs/volumes/########-########-####-############/<VMname>/<VMname>-digest.vmdk' with flags 0x20a The system cannot find the file specified (25).
In(05) vcpu-0 ########-#######-auto-######-##:########-##-##-#### SnapshotVMXTakeSnapshotComplete: Snapshot 0 failed: One of the parameters supplied is invalid (5).
VMware vSphere ESXi 8.x
A digest disk being referenced by the base disk is missing.
To resolve the issue:
Power off the VM
Navigate to the VM's folder on the datastore:
cd /vmfs/volumes/<datastore-name>/<vm-folder>/
Create backup copies of critical files:
cp <VMname>.vmdk <VMname>.vmdk.backup cp <VMname>.vmx <VMname>.vmx.backup
Edit the VMDK descriptor file to remove digest references:
vi <VMname>.vmdk
ddb.digestFilename = "<VMname>-digest.vmdk"
ddb.digestType = "file"
Edit the VMX configuration file to remove digest setting:
vi <VMname>.vmx
scsi0:0.digest = "TRUE"
Power on the VM
Attempt to create a new snapshot to verify the issue is resolved