Issue with import vmware VM with LVM partition

ivannet

New Member
Sep 6, 2022
2
0
1
Hi all, i just have a nice issue with the import of a VM from vmware [ovf] into proxmox, i imported the VM with this:
qm importovf 200 <VM name>.ovf local-lvm
the new created VM boot up and load the first partition, the boot one is ext4, grub allows me to choose which kernel to boot the machine with, but this fails every time as it doesn't find root partition; in fatc the second and the last partition in a LVM volume[root and swap], I believe that the problem is in the failure to mount the lvm partitions, but /etc/fastab and the grub files looks good. any suggestion?
 
i think you need to import the disk.vmdk in raw format, something like this:
Bash:
qm importdisk <vmid> <disk>.vmdk <storage> --format raw
after that in the VM settings attach it like a ide or scsi device.
 
Haha I know this is old but I see the same issue I imported the vmdk disk I have multiple disks with the same LV name and 2 diffrent VG.
 

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!