how to import vmdk storage to local-lvm storage

COMPUCAL

New Member
Jun 30, 2018
2
0
1
45
Hello,
I want import a VMDK file to local-lvm storage.
How to do ?
Have you got a "Howto" ?

Thank for your help.
 
I resurrect this topic because i googled it. My proxmox is 6.0-4

I tried to import Windows10 90 days trial virtual disk. I downloaded vmware (vmdk) image
https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/

I followed instructions from this link
https://pve.proxmox.com/wiki/Migration_of_servers_to_Proxmox_VE#VMware_Converter

I converted disk from vmdk to qcow2 successfully.
Code:
root@pve:~# qemu-img convert -f vmdk MSEdge-Win10-VMware/MSEdge-Win10-VMware-disk1.vmdk win10-90trial.qcow2 -O qcow2
root@pve:~# ls
MSEdge-Win10-VMware  MSEdge.Win10.VMware.zip  backup.log  backup.sh  backup_logs  win10-90trial.qcow2
I moved it to /var/lib/vz/images/106/ and proxox see it in GUI
Code:
root@pve:~# ls -la /var/lib/vz/images/106/
total 13593488
drwxr-xr-x 2 root root        4096 Jan 16 11:17 .
drwxr-xr-x 3 root root        4096 Jan 16 11:17 ..
-rw-r--r-- 1 root root 13919780864 Jan 16 11:08 win10-90trial.qcow2
root@pve:~#
win10-trial-problem1.png

win10-trial-problem2.png

But whether im trying to start VM or move ide0 disk to lvm im getting error

Unable to parse directory volume name 'win10-90trial.qcow2'

win10-trial-problem3.png


SOLVED: I just added second drive and saw that storage paths are different. Now this work OK. I can move it to LVM-thin.

win10-trial-problem4.png
 
Last edited: