VMware Communities
brianjacobpage
Contributor
Contributor

ovftool does not create vmdk file

When I use the ovftool to create an ovf from an existing virtual machine the only output created are the .mf and .ovf files. I was expecting a .vmdk file as well. There are no console errors and the ovftool exits with no errors. I read through the ovftool guide and did not see anything special I should be doing. I am trying to do a simple .vmx>.ovf conversion with no options. Am I missing something?

Command:

/Applications/VMware\ Fusion.app/Contents/Library/VMware\ OVF\ Tool/ovftool  /Users/bpage/Documents/Virtual\ Machines.localized/Windows\ Server\ 2008\ R2\ x64.vmwarevm/Windows\ Server\ 2008\ R2\ x64.vmx /Users/bpage/Documents/Virtual\ Machines.localized/AsigraDemo/AsigraDemo.ovf

Fusion Version:

6.0.1

Mac OS X Version:

10.8.5

0 Kudos
3 Replies
admin
Immortal
Immortal

Thx for using Fusion!

I've tried in my environment, the vmdk file has been created when the ovf file was created. When used your command,there should be a file named 'AsigraDemo-disk1.vmdk' in folder '/Users/bpage/Documents/Virtual\ Machines.localized/AsigraDemo'.

Or you can use command like '/Applications/VMware\ Fusion.app/Contents/Library/VMware\ OVF\ Tool/ovftool  /Users/bpage/Documents/Virtual\ Machines.localized/Windows\ Server\ 2008\ R2\ x64.vmwarevm/Windows\ Server\ 2008\ R2\ x64.vmx /Users/bpage/Documents/Virtual\ Machines.localized/AsigraDemo',and it will create the accordingly folder that contains all .mf .ovf and .vmdk files.

Pls let us know if you have any further questions. Nice day.

0 Kudos
brianjacobpage
Contributor
Contributor

I tried again and the .vmdk file is still nat being created when I run the command. Only the .mf and .ovf files are being created. The command completes in about 2 seconds with the following output:

Archer:VMware OVF Tool bpage$ /Applications/VMware\ Fusion.app/Contents/Library/VMware\ OVF\ Tool/ovftool  /Users/bpage/Documents/Virtual\ Machines.localized/Windows\ Server\ 2008\ R2\ x64.vmwarevm/Windows\ Server\ 2008\ R2\ x64.vmx /Users/bpage/Documents/Virtual\ Machines.localized/AsigraDemo

Opening VMX source: /Users/bpage/Documents/Virtual Machines.localized/Windows Server 2008 R2 x64.vmwarevm/Windows Server 2008 R2 x64.vmx

Opening OVF target: /Users/bpage/Documents/Virtual Machines.localized/AsigraDemo

Writing OVF package: /Users/bpage/Documents/Virtual Machines.localized/AsigraDemo/Windows Server 2008 R2 x64/Windows Server 2008 R2 x64.ovf

Transfer Completed

Completed successfully

Shouldn't the output also be showing the .vmdk being created?

0 Kudos
manman13
Enthusiast
Enthusiast

Thx for using Fusion!

You need to modify a parameter in your .vmx file.

In my environment,the disk type in my VM is IDE, so there are sentences such as 'ide0:0.present = "TRUE" ide0:0.fileName = "Windows Server 2003-0.vmdk"' in my .vmx file, then I can create the .vmdk file. And when 'ide0:0.present = "FALSE"',the .vmdk file can't be created.

So you need to modify '****(your disk name).present="TRUE"' in your .vmx file firstly, then, try your command line,there will be the .vmdk file in your target folder.

Pls let us know if you have any further questions.

0 Kudos