Consolidating the VM disk fails with error: disks: msg.disklib.CID_MISMATCH
search cancel

Consolidating the VM disk fails with error: disks: msg.disklib.CID_MISMATCH

book

Article ID: 301128

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

  • Consolidating the Virtual Machine disk fails.

  • Disk errors:

    disks: msg.disklib.CID_MISMATCH

 

Environment

ESX

Cause

VMDK CID and ParentCID do not match according to the descriptors causing the snapshot chain to be inconsistent.

Resolution

Edit the VMDK files to match the parentCID and CID.
 
High-level steps (Full procedure):
  1. cat both the .vmdk files in the snapshot chain.
  2. Ensure that the CID and ParentCID match according to the descriptors on the snapshot chain.
  3. Edit the descriptors to match these up and make the snapshot chain consistent.
  4. Reload the vmx of the virtual machine.
  5. Power on the virtual machine.



Additional Information