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

This article provides steps to edit the vmdk file to match the parent CID with the CID of the vmdk files.


Symptoms:
  • Consolidating the Virtual Machine disk fails.
  • It fails with the error similar to:

    disks: msg.disklib.CID_MISMATCH

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.


Resolution

To resolve this issue, edit the vmdk file to match the parent CID with the CID of the vmdk files.

To edit the vmdk files to match the parent CID with the CID of the vmdk files:
 
  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