j0ep
Contributor
Contributor

The parent virtual disk has been modified since the child was created. after resize vmdk

I messed up a VM. I needed to resize one of the disks from 10GB to 20GB. I ran the command "vmkfstools -X 20248m SQL03.vmdk". After that, the VM doesn't start anymore with the well known error message. I tried to search for the error and found many hits, most of them regarding the ParentCID. For as much I can see those are correct. Please help me out with this problem. If additional information is needed, please let me know.

Relevant files

SQL03.vmdk

SQL03-flat.vmdk

SQL03-000002.vmdk

SQL03-000002-delta.vmdk

VMware.log:

Aug 11 04:22:35.320: vmx| DISK: OPEN scsi0:0 '/vmfs/volumes/476946a7-d20ca5d4-106d-001b78929354/SQL03/SQL03-000002.vmdk' persistent R[(null)]

Aug 11 04:22:35.321: vmx| DISKLIB-VMFS : "/vmfs/volumes/476946a7-d20ca5d4-106d-001b78929354/SQL03/SQL03-000002-delta.vmdk" : open successful (10) size = 7784628224, hd = 4116. Type 8

Aug 11 04:22:35.321: vmx| DISKLIB-DSCPTR: Opened : "SQL03-000002-delta.vmdk" (0xa)

Aug 11 04:22:35.321: vmx| DISKLIB-LINK : Opened '/vmfs/volumes/476946a7-d20ca5d4-106d-001b78929354/SQL03/SQL03-000002.vmdk' (0xa): vmfsSparse, 20971520 sectors / 10240 Mb.

Aug 11 04:22:35.322: vmx| DISKLIB-VMFS : "/vmfs/volumes/476946a7-d20ca5d4-106d-001b78929354/SQL03/SQL03-flat.vmdk" : open successful (14) size = 21231566848, hd = 3093. Type 3

Aug 11 04:22:35.322: vmx| DISKLIB-DSCPTR: Opened : "SQL03-flat.vmdk" (0xe)

Aug 11 04:22:35.322: vmx| DISKLIB-LINK : Opened '/vmfs/volumes/476946a7-d20ca5d4-106d-001b78929354/SQL03/SQL03.vmdk' (0xe): vmfs, 41467904 sectors / 20248 Mb.

Aug 11 04:22:35.322: vmx| DISKLIB-LINK : Attach: the capacity of each link is different (41467904 != 20971520).

Aug 11 04:22:35.322: vmx| DISKLIB-CHAIN : "/vmfs/volumes/476946a7-d20ca5d4-106d-001b78929354/SQL03/SQL03.vmdk" : failed to open (The parent virtual disk has been modified since the child was created.).

Aug 11 04:22:35.322: vmx| DISKLIB-VMFS : "/vmfs/volumes/476946a7-d20ca5d4-106d-001b78929354/SQL03/SQL03-000002-delta.vmdk" : closed.

Aug 11 04:22:35.322: vmx| DISKLIB-VMFS : "/vmfs/volumes/476946a7-d20ca5d4-106d-001b78929354/SQL03/SQL03-flat.vmdk" : closed.

Aug 11 04:22:35.322: vmx| DISKLIB-LIB : Failed to open '/vmfs/volumes/476946a7-d20ca5d4-106d-001b78929354/SQL03/SQL03-000002.vmdk' with flags 0xa (The parent virtual disk has been modified since the child was created.).

Aug 11 04:22:35.322: vmx| DISK: Cannot open disk "/vmfs/volumes/476946a7-d20ca5d4-106d-001b78929354/SQL03/SQL03-000002.vmdk": The parent virtual disk has been modified since the child was created. (18).

Aug 11 04:22:35.322: vmx| DISK: Failed to open disk '/vmfs/volumes/476946a7-d20ca5d4-106d-001b78929354/SQL03/SQL03-000002.vmdk' : The parent virtual disk has been modified since the child was created. (18) 3191

Aug 11 04:22:35.322: vmx| Msg_Post: Error

Aug 11 04:22:35.322: vmx| http://msg.disk.noBackEnd Cannot open the disk '/vmfs/volumes/476946a7-d20ca5d4-106d-001b78929354/SQL03/SQL03-000002.vmdk' or one of the snapshot disks it depends on.

Aug 11 04:22:35.322: vmx| http://msg.disk.configureDiskError Reason: The parent virtual disk has been modified since the child was created.----


Aug 11 04:22:35.388: vmx| Module DiskEarly power on failed.

From the SQL03.vmx:

scsi0:0.present = "true"

scsi0:0.fileName = "SQL03-000002.vmdk"

scsi0:0.deviceType = "scsi-hardDisk"

SQL03.vmdk:

  1. Disk DescriptorFile

version=1

CID=51187be6

parentCID=ffffffff

createType="vmfs"

  1. Extent description

RW 41467904 VMFS "SQL03-flat.vmdk"

  1. The Disk Data Base

#DDB

ddb.virtualHWVersion = "4"

ddb.geometry.cylinders = "2581"

ddb.geometry.heads = "255"

ddb.geometry.sectors = "63"

ddb.adapterType = "lsilogic"

ddb.toolsVersion = "7202"

SQL03-000002.vmdk:

  1. Disk DescriptorFile

version=1

CID=9db6bb39

parentCID=51187be6

createType="vmfsSparse"

parentFileNameHint="SQL03.vmdk"

  1. Extent description

RW 20971520 VMFSSPARSE "SQL03-000002-delta.vmdk"

  1. The Disk Data Base

#DDB

ddb.toolsVersion = "7202

0 Kudos
3 Replies
j0ep
Contributor
Contributor

Fixed by modifying the SQL03-000002.vmdk

0 Kudos
RizzyRong
Contributor
Contributor

What was the change you had made? I'm having the same problem with one of my VMs.

0 Kudos
continuum
Immortal
Immortal

read my notes about the CID-chain

http://sanbarrow.com/vmdk-basics.html#cidchain

in most cases "parent has been changed ..." is a CID-chain error

but in this case the snapshot size does not match

check the extent description line - I guess he changed that value to match that of the parent






___________________________________

VMX-parameters- WS FAQ -[ MOAcd|http://sanbarrow.com/moa241.html] - VMDK-Handbook

Do you need support with a recovery problem ? - send a message via skype "sanbarrow"
0 Kudos