VMware Communities
mierdatuti
Contributor
Contributor
Jump to solution

error when I moved vmdk (hard disk)

Hi,

I moved a vmdk to other folder. I'm tring to remove hard dist that point to older path and generate the new path

And now when I try to run my virtual machine it says:

"The capacity of the parent virtual disk and the capacity of the child disk are different"

I'm trying to do rollback of my changes but always get the same error.

Is possible to fix it?

Thanks and sorry for my English!

1 Solution

Accepted Solutions
a_p_
Leadership
Leadership
Jump to solution

I will have to sign off now for today. Anyway, in case you can find the mentioned parent virtual disk, then you'll have to edit the "SUSE Linux Enterprise 11 64-bit-000001.vmdk" file, adding the absolute path to the parentFileNameHint entry, e.g.

<<< - parentFileNameHint="SUSE Linux Enterprise 11 64-bit.vmdk"

>>> - parentFileNameHint="E:\Path-to-vmdk\SUSE Linux Enterprise 11 64-bit.vmdk"

André

View solution in original post

0 Kudos
7 Replies
a_p_
Leadership
Leadership
Jump to solution

This sounds as if the virtual disk has active snapshots, and the parent has been resized!?

Please provides some more details to fully understand what's going on. What would be helpful is a complete list of files, i.e. the output of dir *.* or ls -lisa (for Linux). If the error message shows up in the VM's vmware.log file, please attach this file to a reply post too.

André

mierdatuti
Contributor
Contributor
Jump to solution

Thanks,

I can't remember what I do to obtain these error:

The vmware image has some snapshots.

The log

2015-11-30T22:29:34.457+01:00| Worker#1| I125: DISKLIB-DSCPTR: Opened [10]: "SUSE Linux Enterprise 11 64-bit-000001-s011.vmdk" (0xe)

2015-11-30T22:29:34.512+01:00| Worker#1| I125: DISKLIB-DSCPTR: Opened [11]: "SUSE Linux Enterprise 11 64-bit-000001-s012.vmdk" (0xe)

2015-11-30T22:29:34.563+01:00| Worker#1| I125: DISKLIB-DSCPTR: Opened [12]: "SUSE Linux Enterprise 11 64-bit-000001-s013.vmdk" (0xe)

2015-11-30T22:29:34.608+01:00| Worker#1| I125: DISKLIB-DSCPTR: Opened [13]: "SUSE Linux Enterprise 11 64-bit-000001-s014.vmdk" (0xe)

2015-11-30T22:29:34.608+01:00| Worker#1| I125: DISKLIB-LINK  : Opened 'E:\suse 64 11\SUSE Linux Enterprise 11 64-bit-000001.vmdk' (0xe): twoGbMaxExtentSparse, 115343360 sectors / 55 GB.

2015-11-30T22:29:34.663+01:00| Worker#1| I125: Hostinfo_OpenProcessBits: OpenProcess access bits are 1000.

2015-11-30T22:29:34.666+01:00| Worker#1| I125: FILE: FileRemoveDirectoryRetry: Non-retriable error encountered (E:\suse 64 11\SUSE Linux Enterprise 11 64-bit.vmdk.lck): Unknown error 145 (0x91) (145)

2015-11-30T22:29:34.725+01:00| Worker#1| I125: DISKLIB-DSCPTR: Opened [0]: "SUSE Linux Enterprise 11 64-bit-s001.vmdk" (0xe)

2015-11-30T22:29:34.725+01:00| Worker#1| I125: DISKLIB-LINK  : Opened 'E:\suse 64 11\SUSE Linux Enterprise 11 64-bit.vmdk' (0xe): twoGbMaxExtentSparse, 6291456 sectors / 3 GB.

2015-11-30T22:29:34.725+01:00| Worker#1| I125: DISKLIB-LINK  : DiskLinkIsAttachPossible: the capacity of each link is different (6291456 != 115343360).

2015-11-30T22:29:34.725+01:00| Worker#1| I125: DISKLIB-CHAIN : "E:\suse 64 11\SUSE Linux Enterprise 11 64-bit.vmdk" : failed to open (The capacity of the parent virtual disk and the capacity of the child disk are different).

2015-11-30T22:29:35.968+01:00| Worker#1| I125: FILE: FileRemoveDirectoryRetry: Non-retriable error encountered (E:\suse 64 11\SUSE Linux Enterprise 11 64-bit.vmdk.lck): Unknown error 145 (0x91) (145)

2015-11-30T22:29:35.968+01:00| Worker#1| I125: DISKLIB-LIB   : Failed to open 'E:\suse 64 11\SUSE Linux Enterprise 11 64-bit-000012.vmdk' with flags 0xa The capacity of the parent virtual disk and the capacity of the child disk are different (67).

2015-11-30T22:29:35.968+01:00| Worker#1| I125: DISK: Cannot open disk 'E:\suse 64 11\SUSE Linux Enterprise 11 64-bit-000012.vmdk': The capacity of the parent virtual disk and the capacity of the child disk are different (67).

2015-11-30T22:29:35.968+01:00| vmx| I125: FILE: FileDeletionRetry: Non-retriable error encountered (E:\suse 64 11\SUSE Linux Enterprise 11 64-bit.vmx~): Unknown error 2 (0x2) (2)

2015-11-30T22:29:36.055+01:00| vmx| I125: DISK: Opening disks took 9194 ms.

2015-11-30T22:29:36.055+01:00| vmx| I125: Module 'Disk' power on failed.

2015-11-30T22:29:36.055+01:00| vmx| I125: VMX_PowerOn: ModuleTable_PowerOn = 0

2015-11-30T22:29:36.062+01:00| vmx| I125: scsi0:2: numIOs = 1 numMergedIOs = 0 numSplitIOs = 0 ( 0.0%)

2015-11-30T22:29:36.062+01:00| vmx| I125: Closing disk 'scsi0:2'

2015-11-30T22:29:36.513+01:00| vmx| I125: scsi0:1: numIOs = 1 numMergedIOs = 0 numSplitIOs = 0 ( 0.0%)

2015-11-30T22:29:36.513+01:00| vmx| I125: Closing disk 'scsi0:1'

2015-11-30T22:29:36.607+01:00| vmx| I125: AIOWIN32C: asyncOps=7 syncOps=276 bufSize=0Kb fixedOps=0 sgOps=0 sgOn=1

2015-11-30T22:29:36.607+01:00| aioCompletion| I125: AIO thread processed 7 completions

2015-11-30T22:29:36.607+01:00| vmx| I125: Vix: [3412 mainDispatch.c:1179]: VMAutomationPowerOff: Powering off.

2015-11-30T22:29:36.607+01:00| vmx| I125: Policy_SavePolicyFile: invalid arguments to function.

2015-11-30T22:29:36.607+01:00| vmx| I125: PolicyVMX_Exit: Could not write out policies: 15.

2015-11-30T22:29:36.611+01:00| vmx| I125: WORKER: asyncOps=3 maxActiveOps=3 maxPending=2 maxCompleted=0

2015-11-30T22:29:36.611+01:00| WinNotifyThread| I125: WinNotify thread exiting

2015-11-30T22:29:36.615+01:00| vmx| I125: Vix: [3412 mainDispatch.c:4238]: VMAutomation_ReportPowerOpFinished: statevar=1, newAppState=1873, success=1 additionalError=0

2015-11-30T22:29:36.615+01:00| vmx| I125: Msg_Post: Error

2015-11-30T22:29:36.615+01:00| vmx| I125: [msg.disklib.CAPACITY_MISMATCH] The capacity of the parent virtual disk and the capacity of the child disk are different

2015-11-30T22:29:36.615+01:00| vmx| I125: [msg.disk.noBackEnd] Cannot open the disk 'E:\suse 64 11\SUSE Linux Enterprise 11 64-bit-000012.vmdk' or one of the snapshot disks it depends on.

2015-11-30T22:29:36.615+01:00| vmx| I125: [msg.moduletable.powerOnFailed] Module 'Disk' power on failed.

2015-11-30T22:29:36.615+01:00| vmx| I125: [msg.vmx.poweron.failed] Failed to start the virtual machine.

2015-11-30T22:29:36.615+01:00| vmx| I125: ----------------------------------------

2015-11-30T22:30:26.168+01:00| vmx| I125: Vix: [3412 mainDispatch.c:4238]: VMAutomation_ReportPowerOpFinished: statevar=0, newAppState=1870, success=1 additionalError=0

2015-11-30T22:30:26.168+01:00| vmx| I125: Transitioned vmx/execState/val to poweredOff

2015-11-30T22:30:26.168+01:00| vmx| I125: Vix: [3412 mainDispatch.c:4238]: VMAutomation_ReportPowerOpFinished: statevar=0, newAppState=1870, success=0 additionalError=0

2015-11-30T22:30:26.168+01:00| vmx| I125: Vix: [3412 mainDispatch.c:4277]: Error VIX_E_FAIL in VMAutomation_ReportPowerOpFinished(): Unknown error

2015-11-30T22:30:26.168+01:00| vmx| I125: Vix: [3412 mainDispatch.c:4238]: VMAutomation_ReportPowerOpFinished: statevar=0, newAppState=1870, success=1 additionalError=0

2015-11-30T22:30:26.171+01:00| vmx| I125: Transitioned vmx/execState/val to poweredOff

2015-11-30T22:30:26.171+01:00| vmx| I125: Vix: [3412 mainDispatch.c:834]: VMAutomation_LateShutdown()

2015-11-30T22:30:26.171+01:00| vmx| I125: Vix: [3412 mainDispatch.c:783]: VMAutomationCloseListenerSocket. Closing listener socket.

2015-11-30T22:30:26.171+01:00| vmx| I125: Flushing VMX VMDB connections

2015-11-30T22:30:26.171+01:00| vmx| I125: VmdbDbRemoveCnx: Removing Cnx from Db for '/db/connection/#1/'

2015-11-30T22:30:26.171+01:00| vmx| I125: VmdbCnxDisconnect: Disconnect: closed pipe for pub cnx '/db/connection/#1/' (0)

2015-11-30T22:30:26.171+01:00| vmx| I125: VigorTransport_ServerDestroy: server destroyed.

2015-11-30T22:30:26.960+01:00| vmx| I125: VMX exit (0).

2015-11-30T22:30:26.960+01:00| vmx| I125: AIOMGR-S : stat o=15 r=45 w=0 i=0 br=737280 bw=0

2015-11-30T22:30:26.960+01:00| vmx| I125: OBJLIB-LIB: ObjLib cleanup done.

The directory is:

E:\suse 64 11

30/11/2015  22:34    <DIR>          .

30/11/2015  22:34    <DIR>          ..

30/11/2015  22:34                 0 kk

01/11/2015  09:46           786.432 SUSE Linux Enterprise 11 64-bit-000001-s001.vmdk

01/11/2015  09:46           589.824 SUSE Linux Enterprise 11 64-bit-000001-s002.vmdk

01/11/2015  09:35           524.288 SUSE Linux Enterprise 11 64-bit-000001-s003.vmdk

01/11/2015  09:46           917.504 SUSE Linux Enterprise 11 64-bit-000001-s004.vmdk

01/11/2015  09:46        57.147.392 SUSE Linux Enterprise 11 64-bit-000001-s005.vmdk

01/11/2015  09:46       394.067.968 SUSE Linux Enterprise 11 64-bit-000001-s006.vmdk

01/11/2015  09:46           983.040 SUSE Linux Enterprise 11 64-bit-000001-s007.vmdk

01/11/2015  09:46       368.574.464 SUSE Linux Enterprise 11 64-bit-000001-s008.vmdk

01/11/2015  09:46        26.738.688 SUSE Linux Enterprise 11 64-bit-000001-s009.vmdk

01/11/2015  09:46         8.257.536 SUSE Linux Enterprise 11 64-bit-000001-s010.vmdk

01/11/2015  09:35           524.288 SUSE Linux Enterprise 11 64-bit-000001-s011.vmdk

01/11/2015  09:46        35.782.656 SUSE Linux Enterprise 11 64-bit-000001-s012.vmdk

01/11/2015  09:46        22.085.632 SUSE Linux Enterprise 11 64-bit-000001-s013.vmdk

01/11/2015  09:46           917.504 SUSE Linux Enterprise 11 64-bit-000001-s014.vmdk

30/11/2015  10:12             1.327 SUSE Linux Enterprise 11 64-bit-000001.vmdk

01/11/2015  10:35        30.867.456 SUSE Linux Enterprise 11 64-bit-000002-s001.vmdk

01/11/2015  10:35           589.824 SUSE Linux Enterprise 11 64-bit-000002-s002.vmdk

01/11/2015  09:46           524.288 SUSE Linux Enterprise 11 64-bit-000002-s003.vmdk

01/11/2015  10:35         1.310.720 SUSE Linux Enterprise 11 64-bit-000002-s004.vmdk

01/11/2015  10:35        36.044.800 SUSE Linux Enterprise 11 64-bit-000002-s005.vmdk

01/11/2015  10:35       326.500.352 SUSE Linux Enterprise 11 64-bit-000002-s006.vmdk

01/11/2015  10:35       550.240.256 SUSE Linux Enterprise 11 64-bit-000002-s007.vmdk

01/11/2015  10:35     1.907.425.280 SUSE Linux Enterprise 11 64-bit-000002-s008.vmdk

01/11/2015  10:35        17.498.112 SUSE Linux Enterprise 11 64-bit-000002-s009.vmdk

01/11/2015  10:35         5.701.632 SUSE Linux Enterprise 11 64-bit-000002-s010.vmdk

01/11/2015  09:46           524.288 SUSE Linux Enterprise 11 64-bit-000002-s011.vmdk

01/11/2015  10:35       319.422.464 SUSE Linux Enterprise 11 64-bit-000002-s012.vmdk

01/11/2015  10:35         1.114.112 SUSE Linux Enterprise 11 64-bit-000002-s013.vmdk

01/11/2015  10:35           983.040 SUSE Linux Enterprise 11 64-bit-000002-s014.vmdk

01/11/2015  09:46             1.348 SUSE Linux Enterprise 11 64-bit-000002.vmdk

03/11/2015  00:35        20.447.232 SUSE Linux Enterprise 11 64-bit-000003-s001.vmdk

03/11/2015  00:35        88.211.456 SUSE Linux Enterprise 11 64-bit-000003-s002.vmdk

03/11/2015  00:35           786.432 SUSE Linux Enterprise 11 64-bit-000003-s003.vmdk

03/11/2015  00:35           589.824 SUSE Linux Enterprise 11 64-bit-000003-s004.vmdk

03/11/2015  00:35         3.211.264 SUSE Linux Enterprise 11 64-bit-000003-s005.vmdk

03/11/2015  00:35         9.633.792 SUSE Linux Enterprise 11 64-bit-000003-s006.vmdk

03/11/2015  00:35        15.532.032 SUSE Linux Enterprise 11 64-bit-000003-s007.vmdk

03/11/2015  00:35       811.139.072 SUSE Linux Enterprise 11 64-bit-000003-s008.vmdk

03/11/2015  00:35     1.764.229.120 SUSE Linux Enterprise 11 64-bit-000003-s009.vmdk

03/11/2015  00:35         1.638.400 SUSE Linux Enterprise 11 64-bit-000003-s010.vmdk

02/11/2015  23:57           524.288 SUSE Linux Enterprise 11 64-bit-000003-s011.vmdk

03/11/2015  00:35         4.587.520 SUSE Linux Enterprise 11 64-bit-000003-s012.vmdk

03/11/2015  00:35         2.359.296 SUSE Linux Enterprise 11 64-bit-000003-s013.vmdk

03/11/2015  00:35       449.249.280 SUSE Linux Enterprise 11 64-bit-000003-s014.vmdk

02/11/2015  23:57             1.348 SUSE Linux Enterprise 11 64-bit-000003.vmdk

01/11/2015  15:05     2.038.956.032 SUSE Linux Enterprise 11 64-bit-000004-s001.vmdk

01/11/2015  15:05       709.951.488 SUSE Linux Enterprise 11 64-bit-000004-s002.vmdk

01/11/2015  15:05       304.807.936 SUSE Linux Enterprise 11 64-bit-000004-s003.vmdk

01/11/2015  15:05       353.107.968 SUSE Linux Enterprise 11 64-bit-000004-s004.vmdk

01/11/2015  15:05       201.129.984 SUSE Linux Enterprise 11 64-bit-000004-s005.vmdk

01/11/2015  15:05        68.419.584 SUSE Linux Enterprise 11 64-bit-000004-s006.vmdk

01/11/2015  15:05        74.252.288 SUSE Linux Enterprise 11 64-bit-000004-s007.vmdk

01/11/2015  15:05       229.048.320 SUSE Linux Enterprise 11 64-bit-000004-s008.vmdk

01/11/2015  15:05       141.885.440 SUSE Linux Enterprise 11 64-bit-000004-s009.vmdk

01/11/2015  15:05       330.039.296 SUSE Linux Enterprise 11 64-bit-000004-s010.vmdk

01/11/2015  15:05       404.684.800 SUSE Linux Enterprise 11 64-bit-000004-s011.vmdk

01/11/2015  15:05     1.632.567.296 SUSE Linux Enterprise 11 64-bit-000004-s012.vmdk

01/11/2015  15:05     3.661.037.568 SUSE Linux Enterprise 11 64-bit-000004-s013.vmdk

01/11/2015  15:05     3.183.607.808 SUSE Linux Enterprise 11 64-bit-000004-s014.vmdk

01/11/2015  14:23             1.348 SUSE Linux Enterprise 11 64-bit-000004.vmdk

03/11/2015  00:35       477.364.224 SUSE Linux Enterprise 11 64-bit-000005-s001.vmdk

02/11/2015  23:58               451 SUSE Linux Enterprise 11 64-bit-000005.vmdk

02/11/2015  23:57        68.354.048 SUSE Linux Enterprise 11 64-bit-000006-s001.vmdk

02/11/2015  23:57        76.611.584 SUSE Linux Enterprise 11 64-bit-000006-s002.vmdk

02/11/2015  23:57           655.360 SUSE Linux Enterprise 11 64-bit-000006-s003.vmdk

02/11/2015  23:57         1.376.256 SUSE Linux Enterprise 11 64-bit-000006-s004.vmdk

02/11/2015  23:57        12.320.768 SUSE Linux Enterprise 11 64-bit-000006-s005.vmdk

02/11/2015  23:57        15.532.032 SUSE Linux Enterprise 11 64-bit-000006-s006.vmdk

02/11/2015  23:57           786.432 SUSE Linux Enterprise 11 64-bit-000006-s007.vmdk

02/11/2015  23:57        77.725.696 SUSE Linux Enterprise 11 64-bit-000006-s008.vmdk

02/11/2015  23:57        15.794.176 SUSE Linux Enterprise 11 64-bit-000006-s009.vmdk

02/11/2015  23:57         2.818.048 SUSE Linux Enterprise 11 64-bit-000006-s010.vmdk

02/11/2015  23:30           524.288 SUSE Linux Enterprise 11 64-bit-000006-s011.vmdk

02/11/2015  23:57         9.371.648 SUSE Linux Enterprise 11 64-bit-000006-s012.vmdk

02/11/2015  23:57         2.162.688 SUSE Linux Enterprise 11 64-bit-000006-s013.vmdk

02/11/2015  23:57        72.482.816 SUSE Linux Enterprise 11 64-bit-000006-s014.vmdk

02/11/2015  23:31             1.294 SUSE Linux Enterprise 11 64-bit-000006.vmdk

02/11/2015  23:57         7.077.888 SUSE Linux Enterprise 11 64-bit-000007-s001.vmdk

02/11/2015  23:33               390 SUSE Linux Enterprise 11 64-bit-000007.vmdk

30/11/2015  09:44             1.348 SUSE Linux Enterprise 11 64-bit-000008 - copia.vmdk

0 Kudos
a_p_
Leadership
Leadership
Jump to solution

There are files referenced in the log file which do not show up in the list. Please ensure that you post the complete file list.

In addition to the file list, please compress/zip the vmware.log, the VM's .vmx file as well as all the .vmdk descriptor files (the small text files without "...-s00X.vmdk" in their file names. Once done use the Attach link at the bottom of the edit box to attach the .zip file.

André

0 Kudos
mierdatuti
Contributor
Contributor
Jump to solution

Thanks

These is what I see

0 Kudos
a_p_
Leadership
Leadership
Jump to solution

This is kind of tricky, because the VM has two virtual disks with the same base name "SUSE Linux Enterprise 11 64-bit.vmdk", which must have been located in separate folders. Do you still have the other "SUSE Linux Enterprise 11 64-bit.vmdk" along with its s001.vmdk - s014.vmdk files? If so, we should be able to properly chain the .vmdk files again.

André

0 Kudos
a_p_
Leadership
Leadership
Jump to solution

I will have to sign off now for today. Anyway, in case you can find the mentioned parent virtual disk, then you'll have to edit the "SUSE Linux Enterprise 11 64-bit-000001.vmdk" file, adding the absolute path to the parentFileNameHint entry, e.g.

<<< - parentFileNameHint="SUSE Linux Enterprise 11 64-bit.vmdk"

>>> - parentFileNameHint="E:\Path-to-vmdk\SUSE Linux Enterprise 11 64-bit.vmdk"

André

0 Kudos
mierdatuti
Contributor
Contributor
Jump to solution

I change that you say and works Ok. I have the same file in folder e:\. I dont kwow what daeamon I do but it works. No I'm cloning vmware guest and I make a backup jejeje

Many thanks for your help!

0 Kudos