Sharing violation importing an OVF
Posted: 7. May 2014, 20:19
I am trying to import a VMWare virtual machine that I converted to an OVF file using VMWare's OVFtool.
It worked on my first VM, but for some reason not this one. When I import the file, I get this:
Failed to import appliance D:\vmstorage\HoneywellTest2\Honeywelltest2.ovf.
Could not open the medium storage unit 'D:\vmstorage\vbox\vm/temp_test2-disk1.vmdk'.
VD: error VERR_SHARING_VIOLATION opening image file 'D:\vmstorage\vbox\vm/temp_test2-disk1.vmdk' (VERR_SHARING_VIOLATION).
Result Code: VBOX_E_FILE_ERROR (0x80BB0004)
Component: Appliance
Interface: IAppliance {3059cf9e-25c7-4f0b-9fa5-3c42e441670b}
I then wind up with a 11GB disk file and nothing else. The disk file is opened/locked by vboxsvc.exe (the VirtualBox backend, I think), so it's very weird.
I converted it using the command ovftool --compress=3 --name=test2 test.vmx test.ovf
I'm trying it again with just the to and from files. Should I just KISS and not fiddle with compression options?
Are there any other options I should avoid? I have a lot of VM's to convert/import... I'm looking at the cli for importing (vboxmanage import) and is there a list of the command line options other than to watch vboxmanage -import --dry_run?
It worked on my first VM, but for some reason not this one. When I import the file, I get this:
Failed to import appliance D:\vmstorage\HoneywellTest2\Honeywelltest2.ovf.
Could not open the medium storage unit 'D:\vmstorage\vbox\vm/temp_test2-disk1.vmdk'.
VD: error VERR_SHARING_VIOLATION opening image file 'D:\vmstorage\vbox\vm/temp_test2-disk1.vmdk' (VERR_SHARING_VIOLATION).
Result Code: VBOX_E_FILE_ERROR (0x80BB0004)
Component: Appliance
Interface: IAppliance {3059cf9e-25c7-4f0b-9fa5-3c42e441670b}
I then wind up with a 11GB disk file and nothing else. The disk file is opened/locked by vboxsvc.exe (the VirtualBox backend, I think), so it's very weird.
I converted it using the command ovftool --compress=3 --name=test2 test.vmx test.ovf
I'm trying it again with just the to and from files. Should I just KISS and not fiddle with compression options?
Are there any other options I should avoid? I have a lot of VM's to convert/import... I'm looking at the cli for importing (vboxmanage import) and is there a list of the command line options other than to watch vboxmanage -import --dry_run?