Import failed - lvcreate when importing an ESXI VM

Junk Knight

Active Member
Mar 29, 2018
3
1
43
27
I'm moving back to Proxmox after using ESXI for a while and the only VM that isn't being recreated I'm having trouble importing. I have the .ovf file along with the corresponding .vmdk file and running the command:

Code:
qm importovf 104 <vmname>.ovf local-lvm --format qcow2

results in the following message in the console:

Code:
 --virtualsize may not be zero.
import failed - lvcreate 'pve/vm-104-disk-0' error:   Run `lvcreate --help' for more information.

There's plenty of space for the VM in local-lvm, it was originally thin provisoned (I think) for up to 16Gb and there's almost 60Gb available. It's not providing an error code ether so I haven't been able to find anything through google ether.

I'm on the latest version of proxmox, and the VM was created on ESXI 6.7.
 
it looks like we fail to parse the metadata (or it is wrong). maybe you could try just creating the VM, and then importing the vmdk with qm importdisk?