Hello all,
I am having a problem with the ovftool.
Here's what i did.
1)I created a VM running CentOS.
2)These are the 3 files that i got.
Test.vmx
Test.vmdk (Descriptor File)
# Disk DescriptorFile
version=1
CID=5046e880
parentCID=ffffffff
createType="vmfsPreallocated"
# Extent description
RW 83886080 VMFS "Test-flat.vmdk" 0
# The Disk Data Base
#DDB
ddb.virtualHWVersion = "4"
ddb.geometry.cylinders = "83220"
ddb.geometry.heads = "16"
ddb.geometry.sectors = "63"
ddb.adapterType = "lsilogic"
Test-flat.vmdk
3) This is the command that i ran
ovftool "Test.vmx" "Test_New.ova"
4)This is the error that i got.
2012-09-05T12:24:57.817+05:30 [7F22134FE740 verbose 'Default'] [ovfTool.cpp] Done initializing libs
2012-09-05T12:24:57.817+05:30 [7F22134FE740 verbose 'Default'] [ovfTool.cpp] Determining source
2012-09-05T12:24:57.818+05:30 [7F22134FE740 verbose 'Default'] [ovfTool.cpp] Determining target
Opening VMX source: Test.vmx
2012-09-05T12:24:57.821+05:30 [7F22134FE740 verbose 'Default'] Failed to open disk: ./Test-1-0.vmdk
2012-09-05T12:24:57.821+05:30 [7F22134FE740 verbose 'Default'] Exception: Failed to open disk: ./Test-1-0.vmdk. Reason: The file specified is not a virtual disk
Error: Failed to open disk: Test-1-0.vmdk
Please help!
Thank you