Importing VMDK and configuring conf file

AustinPowers

New Member
Jan 3, 2022
2
2
3
54
Hi ,

im new to proxmox and i use version 7.1
in order of importing a VMDK to proxmox,

i followed this - https://pve.proxmox.com/wiki/Migration_of_servers_to_Proxmox_VE
especially this :
qemu-img convert -f vmdk /mnt/usb/windows-server/windows-server.vmdk -O qcow2 /var/lib/vz/images/100/windows-server.qcow2

Final Steps

Once the conversion is complete, we need to edit the configuration file for the VM.
nano /etc/pve/local/qemu-server/100.conf
In the line with ide0: we want to change vm-100-disk-1.raw,size=32G to windows-server.qcow2


i stumble these issues :

1. when i edit the relevent conf file with the disk name it fails to fined it (ide0 : local-lvm:vm-106-disk.qcow2)
2. when i try to point the full path it fails with error illegal characters (/var/lib/vz/images/200/vm-106-disk.qcow2)
3. i also tried a relative path 200/vm-106-disk.qcow2 (some forum replay mentioned it)
4.i even copied the qcow2 file into /dev/pve and changed the conf file to ide0 : local-lvm:vm-106-disk.qcow2 but then i get the error "no such logical volume"


can anyone help please ?
thanks,
 
local-lvm is the LVM based local storage. You cannot add a qcow2 image there.

local is the storage that usually uses /var/lib/vz as backend and handles qcow2 images.

You need to change the storage id in the VM configuration from local-lvm to just local.
 
sorry for my translator's English... this weekend I had to move several vm from vmware to proxmox in this case the 7.1-7 ... part of that guide I followed only the part of converting vmdk to qcow2 ... but in the case to copy the "disks" ... just did a "qm rescan" ... to appear available to configure .. same test with direct import with ovf changing to sata no problems after reset everything to virtio scsi ( virtio )
 
Last edited:
the solution was changing the storage settings under "local" and adding Disk Image:
Datacenter --> local --> Edit --> Disk Image
1641288707544.png

just because i moved the disk file i had to move it back into original location /var/lib/vz/images/200/vm-106-disk.qcow2
 

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!