Committing snapshots generates a content ID mismatch error
Symptoms
Performing a commit of a snapshot fails
The virtual machine shuts down abruptly during snapshot commit
Performing a snapshot commit generates the error:
Content ID mismatch
Powering on the virtual machine generates the error:
Content ID mismatch
The virtual machine log contains the following:
Sep 11 03:01:45.328: vmx| DISKLIB-LINK : Attach: Content ID mismatch (d504c2f0 != 62e0e8bf). Sep 11 03:01:45.331: vmx| DISKLIB-CHAIN : "/vmfs/volumes/48a1b01c-67422c6d-f5aa-00188b50e0ff/test/w2k3-lsi-64.vmdk" : failed to open (The parent virtual disk has been modified since the child was created). Sep 11 03:01:45.336: vmx| DISKLIB-VMFS : "/vmfs/volumes/48a1b01c-67422c6d-f5aa-00188b50e0ff/186-testing/w2k3-lsi-64-000001-delta.vmdk" : closed. Sep 11 03:01:45.342: vmx| DISKLIB-VMFS : "/vmfs/volumes/48a1b01c-67422c6d-f5aa-00188b50e0ff/186-testing/w2k3-lsi-64-000013-delta.vmdk" : closed. Sep 11 03:01:45.348: vmx| DISKLIB-VMFS : "/vmfs/volumes/48a1b01c-67422c6d-f5aa-00188b50e0ff/test/w2k3-lsi-64-flat.vmdk" : closed. Sep 11 03:01:45.352: vmx| DISKLIB-LIB : Failed to open '/vmfs/volumes/48a1b01c-67422c6d-f5aa-00188b50e0ff/186-testing/w2k3-lsi-64-000001.vmdk' with flags 0xa (The parent virtual disk has been modified since the child was created). Sep 11 03:01:45.355: vmx| DISK: Cannot open disk "/vmfs/volumes/48a1b01c-67422c6d-f5aa-00188b50e0ff/186-testing/w2k3-lsi-64-000001.vmdk": The parent virtual disk has been modified since the child was created (18).
The CID of the disk being combined into is updated
The virtual disk is updated with changes.
The CIDs of the children (that are not being removed) are updated.
If a failure occurs during the combine process (I/O errors or running out of disk space), the combine process aborts. The CIDs of the supporting children files never get updated, resulting in mismatch.
Warning: Do not perform a Go To and do not Revert to the parent snapshot.
You must correct the snapshot parent/child relationship.
To correct the parent/child relationship:
Log in to the ESX Server console and verify the CID of all the virtual disks. The current snapshot disks are identified in the virtual machine configuration file (.vmx).
Examine the virtual disk header files to verify the CID and ParentCID of each member to ensure that they match all the way up the tree.
When the one that does not match is found, update the ParentCID of the child to match the CID of the file next up the chain.
The virtual machine powers on normally at this point.
You can safely continue to use the snapshot or perform the commit operation again. VMware recommends to perform the commit operation so that all changes found in the delta are written down to the next level of snapshot or base disk (if there was only one level of snapshot).