How to properly migrate a VM from local to NFS storage?

pxmxadm

New Member
Oct 22, 2024
4
0
1
Hi,

I have a local VM with multiple disks (including the efidisk) in raw format. I'd like to migrate the whole VM together to NFS storage. If I migrate the disks one by one, I don't see a way to migrate the efidisk because it does not show in the Web UI. If I migrate at the VM level and select the NFS storage, it does not provide an option to convert it to qcow2 format so it ends up with the raw format on the NFS storage with the following warning:

Code:
WARN: no efidisk configured! Using temporary efivars disk.

Is there a way to migrate all the disks together to the NFS storage and convert it to qcow2 at the same time?

Thanks.
 
I haven't tried it, but from your description it sounds like in GUI you can migrate data disks one by one and then finish with full VM move, which should take care of EFI disk.

You can also use CLI:
qm disk move <vmid> <disk> [<storage>] [OPTIONS]

where one of the options:
--format <qcow2 | raw | vmdk>
Target Format.

good luck


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: pxmxadm

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!