Import failed - lvcreate when importing an ESXI VM

Junk Knight

Active Member
Mar 29, 2018
3
1
43
25
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?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!