Howto import Proxmox VM’s to the LXD

Hi,

I am planning to move all VM’s running on bare metal server with Proxmox VE to the LXD based solution. Only concern I have is the ability to properly run Proxmox VM’s saved in QCOW2 format. Because I don’t have spare hardware to properly test it, I am not sure with the procedure. Do I need to export QCOW2 images to the RAW format?

qemu-img convert -f qcow2 -O raw /path/to/disk.qcow2 /path/to/disk.raw

And then create LXD VM, create new disk in storage pool and configure new VM to use converted qcow2 disk as new / disk? Or is the procedure different?

Any concrete example?

Many thanks for any help.

Lumir

Hi Lumir, please have a look at the lxd-migrate tool here https://documentation.ubuntu.com/lxd/en/latest/howto/import_machines_to_instances/. Hope this helps!