import VM from ESXi 6.0

Andrea Carnevali

Active Member
Mar 8, 2017
28
0
41
48
Hi.
I have some virtual machine copied from an Esxi server that I woul'd like migrate in Proxmox 7.
The virtual machines are composed of various files such as:
.vmsd - .vmdk - .vmxf - .vmx - .nvram
Can you help me with the correct command for convert the VM into QCOW2 format ?

qemu-img convert -f vmdk /mnt/usb/windows-server/windows-server.vmdk -O qcow2 /var/lib/vz/images/100/windows-server.qcow2

Schermata 2022-03-25 alle 23.44.22.png
For my case I will use this command ?

qemu-img convert -f vmdk SRCDC01.vmdk -O qcow2 SRVDC01.qcow2

Thanks

Andrea
 
Hi bbgeek17.
With your advice I solved the problem of importing the vm.

The command is :
qemu-img convert -p -f vmdk SRVDC01.vmdk -O qcow2 /mnt/pve/DISCO1/images/SRVDC01.qcow2
and after :
qm importdisk <vmid> yourimage.qcow2 namestoragepool

Thanks.