import VM from ESXi 6.0

Andrea Carnevali

Active Member
Mar 8, 2017
28
0
41
47
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.
 

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!