VMware
 

Knowledge Base

Search the Knowledge Base:

Products:
Search In:
 

After cold migration on ESX Server, virtual disk with snapshot has the wrong CID

Details

If a virtual machine has a snapshot, cold migrating it with VirtualCenter from one ESX Server host to another changes the context ID (CID) of the parent virtual disk. The change causes a boot failure, with the error message A general system error occurred: Internal error. The vmware.log file contains the message The parent virtual disk has been modified since the child was created. (The parent is the virtual disk before snapshot, while the child disk is the snapshot.)
 
The cause is that although the CID and parent CID of the child disk (the snapshot) are migrated correctly, the CID of the parent disk is not, so the migrated snapshot cannot locate its parent VMDK.

Solution

You can manually correct the parent CID by modifying its VMDK file with a text editor.
 
The child snapshots have sequence numbers. Verify that each child refers correctly to the previously numbered snapshot. The first snapshot, WinXP-0001.vmdk for example, contains a line such as parentCID=c9753ea9. Note this number. With the migrated virtual machine powered down, edit the parent disk, WinXP.vmdk in this example. Change its CID= line to match the number you noted above. The parent VMDK always displays parentCID=ffffffff to indicate it is the base disk. Do not change that line.
 
If the virtual machine has multiple snapshot disks, check and correct the CID of all parent disks.

Keywords

VMFS virtual disk corruption wrong CID parentCID=ffffffff

Feedback

Rating: 1 - Lowest 2 3 4 5 - Highest (2 Ratings)   

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (2000 or fewer characters)
Submit
Rating: 1 - Lowest 2 3 4 5 - Highest (2 Ratings)   
Actions