LXC can't migrate and select which disk to use

You can migrate a container when the relevant storages are available on the target node. But currently, you cannot change storages during migration.

EDIT: a --target-storage option is implemented in pve-container >= 4.1-4.
 
Last edited:
if you have come here from google looking to migrate lxc container to a different host with different storage names. The cli tool support it with pct migrate <VMID> <HOST> -target-storage <STORAGE_NAME>
 

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!