I exported a VM to OVF using Workstation 11. If I immediately try to import from that same OVF it gives the error:
Error: Failed to create disk: C:\Users\user\tmp\test\test-disk2.vmdk. Reason: One of the parameters supplied is invalid
I switched to the command line and ran:
ovftool.exe --X:logLevel=verbose --X:logToConsole test.ovf "C:\Users\user\tmp"
From the output it looks like the first disk is created but the 2nd fails:
Opening VMX target: C:\Users\user\tmp
2015-06-09T19:11:12.003+01:00 verbose [03876] [Originator@6876 sub=Default] Creating disk C:\Users\user\tmp\test\\test-disk1.vmdk, 2097152 sectors, lsilogic
2015-06-09T19:11:12.065+01:00 verbose [03876] [Originator@6876 sub=Default] Creating disk C:\Users\user\tmp\test\\test-disk2.vmdk, 16775118848 sectors, lsilogic
2015-06-09T19:11:12.128+01:00 verbose [03876] [Originator@6876 sub=Default] Backtrace:
-->
--> [backtrace begin] product: VMware Workstation, version: e.x.p, build: build-2058119, tag:
--> backtrace[00] vmacore.dll[0x0016B723]
--> backtrace[01] vmacore.dll[0x0004F1D4]
--> backtrace[02] vmacore.dll[0x00050291]
--> backtrace[03] vmacore.dll[0x0001229A]
--> backtrace[04] ovftool.exe[0x00048FB3]
--> backtrace[05] ovftool.exe[0x000792D4]
--> backtrace[06] ovftool.exe[0x000DFA7D]
--> backtrace[07] ovftool.exe[0x00080536]
--> backtrace[08] ovftool.exe[0x0010451E]
--> backtrace[09] ovftool.exe[0x00047C1C]
--> backtrace[10] ovftool.exe[0x00048BB2]
--> backtrace[11] ovftool.exe[0x00048E64]
--> backtrace[12] ovftool.exe[0x00061617]
--> backtrace[13] ovftool.exe[0x0006231B]
--> backtrace[14] ovftool.exe[0x0026945F]
--> backtrace[15] KERNEL32.DLL[0x00013224]
--> backtrace[16] ntdll.dll[0x0005FA14]
--> backtrace[17] ntdll.dll[0x0005F9DF]
--> [backtrace end]
-->
Error: Failed to create disk: C:\Users\user\tmp\test\\test-disk2.vmdk. Reason: One of the parameters supplied is invalid
2015-06-09T19:11:12.128+01:00 verbose [03876] [Originator@6876 sub=Default] Deleting file: C:\Users\user\tmp\test\\test-disk1.vmdk
Deleting directory tree below: C:\Users\user\tmp\test
Completed with errors
The disk section from the .ovf file:
--> <References>
--> <File ovf:href="test-disk1.vmdk" ovf:id="file1" ovf:size="19985920"/>
--> <File ovf:href="test-disk2.vmdk" ovf:id="file2" ovf:size="240265728"/>
--> </References>
--> <DiskSection>
--> <Info>Virtual disk information</Info>
--> <Disk ovf:capacity="1" ovf:capacityAllocationUnits="byte * 2^30" ovf:diskId="vmdisk1" ovf:fileRef="file1" ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized" ovf:populatedSize="23658496"/>
--> <Disk ovf:capacity="7999" ovf:capacityAllocationUnits="byte * 2^30" ovf:diskId="vmdisk2" ovf:fileRef="file2" ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized" ovf:populatedSize="942407680"/>
--> </DiskSection>