Convert .vmdk to qcow2: parse Error

g.jacobse

New Member
Jun 24, 2021
2
0
1
54
After setting a fresh instance, followed directions on how to import a working .vmdk and convert to .qcow2. No errors received during convert and syntax appears to be correctly processed. However, when starting the VM I receive this error:


TASK ERROR: unable to parse lvm volume name 'server_name.qcow2'

nano /etc/pve/local/qemu-server/100.conf

boot: order=ide0;ide2;net0
cores: 1
ide0: local-lvm:server_name.qcow2
ide2: cdrom,media=cdrom
memory: 1024
name: dPi-ubnt
net0: virtio=1A:E8:3D:C6:20:4D,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsihw: virtio-scsi-pci
smbios1: uuid=d64891b9-9df2-4411-907a-69e632d0e2d9
sockets: 1
unused0: local-lvm:vm-100-disk-0
vmgenid: b85b3fb6-47aa-4bbb-8986-8b8d68b5ced8
 
Thank you for the response Dominic - Interestingly enough, that is exactly the page I followed when attempting to import the .vmdk - reading the VMWare section.

I get the error when trying to destroy the 100 instance now as well.
 
That's because
Code:
local-lvm:server_name.qcow2
is not valid syntax. It should (similar to unused0 in the VM config) be
Code:
local-lvm:vm-100-disk-1
You can manually remove the line from the VM configuration file /etc/pve/qemu-server/100.conf. Note that this will not change the underlying logical volume. You should still be able to see it using
Code:
lvs
 
Last edited:

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!