Migrate LXC to another node fails on unknown storage

Polyphemus

Member
Nov 18, 2021
46
9
13
44
Hi,

I just created a second node (hostname 'pve-ryzen') and created a cluster. When trying to migrate an LXC to the newly added node, it fails because of the following:

2024-03-04 09:38:28 ERROR: migration aborted (duration 00:00:00): storage 'ssd-1tb-870' is not available on node 'pve-ryzen'
TASK ERROR: migration aborted

That is correct, because on my new node (pve-ryzen), the local storage is called 'ssd-2tb'. I understand that Proxmox does not find the 'ssd-1tb-870' storage on the new node, and isn't aware of this, I think. But how do I resolve this?
 
1. usually you'd use a single storage.cfg entry (assuming both ssd-2tb and ssd-1tb-870 are the same type, and the only difference is the size of the underlying disk?)
2. if you really want to change the storage on migration, you need to tell PVE (targetstorage)