Solved

ESXI 5.1 deploy .OVF error

Posted on 2013-05-11
6
3,456 Views
Last Modified: 2013-05-17
Hello All.  I'm using EXSi 5.1.  I performed an "export to .OVF template" on a windows 2008 R2 machine.  Now when I try to use it to Deploy OVF template I receive an error from my vSphere Client that says:

"Failed to Deploy an OVF package. Incompatible device backing specified for Device 9"

I'd like to figure out if I can fix or remove whatever component/device is hanging up the deployment and maybe edit the .ovf file.  Or worst case, if possible, use the 2 .vmdk files (1 for each disk on my virtual 2008 system) and bring my machine back from those.

What do you think?
0
Comment
Question by:ZabagaR
  • 3
  • 2
6 Comments
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
Do you still have the Windows 2008 R2 virtual machine?

I would always recommend, before deleting a virtual machine if you have Exported it to OVF, tested the Import before Deletion.

OVF deployment Import and Export is troublesome, even between VMware systems.

If you are trying to "transport" a virtual machine, I would recommend the use of VMware vCenter Converter Standalone 5.1 to complete a V2V.

see my EE Articles

HOW TO:  Synchronize changes when completing a P2V or V2V with VMware vCenter Converter Standalone 5.1
HOW TO:  P2V, V2V for FREE - VMware vCenter Converter Standalone 5.1


HOW TO:  P2V, V2V for FREE - VMware vCenter Converter Standalone 5.0

HOW TO: Improve the transfer rate of a Physical to Virtual (P2V), Virtual to Virtual Conversion (V2V) using VMware vCenter Converter Standalone 5.0

Back to your issue, if you only have the OVF and VMDKs now, the VMDKs are often compressed, and you need to re-import for them, to undergo the decompression.

Have you also tried to Import the OVF using the vSphere Web Client?
0
 
LVL 15

Accepted Solution

by:
ZabagaR earned 0 total points
Comment Utility
Hello. I appreciate your response. My actual working 2008 R2 guest VM was corrupted and unbootable (bluescreen). Thankfully, about a week ago I had exported it as an OVF template. It wasn't getting backed up at all at this point, so the .ovf was all I had.

So I figured I'd lose a little but I could just deploy it. I didn't try the web client, good idea.

I was able to figure out what the problem was. By searching around the web, I found similar people who had errors when there was a device in the .ovf file that couldn't be imported/brought back during the OVF deployment. I edited my OVF in notepad. I saw some people had problems when they created their OVF template while their guest machine had locally mapped the hosts CD rom drive. I hadn't done that. BUT - I did have the host's com1 port mapped in my guest 2008 vm.
I deleted that section out of the .ovf file. I also had to delete the .ovf checksum file - the .mf file. If you edit the .ovf file, the checksum fails on import, knowing the .ovf no longer matches the original state. Delete the .mf and you're ok.

So I'm back with my booted up Windows 2008 machine, albeit a week old.

Is there anything I potentially could have done with the 2 disk .vmdk files if all else failed?
Or are they useless by themselves?
0
 
LVL 11

Expert Comment

by:netballi
Comment Utility
0
Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
They are compressed.

Backup using VMware Converter or test your exports.

Are you using free ESXi?
0
 
LVL 15

Author Comment

by:ZabagaR
Comment Utility
I think I'm just going to close this question out since I figured out what the error was caused by and fixed it in the .ovf file.
0
 
LVL 15

Author Closing Comment

by:ZabagaR
Comment Utility
I was able to figure out what the problem was. By searching around the web, I found similar people who had errors when there was a device listed in the .ovf file that couldn't be imported/brought back during the OVF deployment. I edited my OVF in notepad. I saw some people had problems when they created their OVF template while their guest machine had locally mapped the hosts CD rom drive. I hadn't done that. BUT - I did have the host's com1 port mapped in my guest 2008 vm.
I deleted that section out of the .ovf file. I also had to delete the .ovf checksum file - the .mf file. If you edit the .ovf file, the checksum fails on import, knowing the .ovf no longer matches the original state. Delete the .mf and you're ok.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now