LXC container migration using Proxmox Datacenter Manager

SysMik

Member
Feb 8, 2023
2
0
6
Hello,

I have two Proxmox VE servers: one is running version 8.4 and the other 9.2. I am testing LXC container migration using Proxmox Datacenter Manager.
On my 8.4 server, the partition is formatted as ext4 and I use a storage of type "directory". On the second server (9.2), I am using ZFS storage.

If I declare storage of type "directory" on the second server, I am able to migrate the LXC container successfully.
However, when I try to migrate the LXC container directly to the ZFS storage, I run into mount point issues.

What is the best way to migrate from directory/ext4 to ZFS?
Is it better to first migrate to a "directory" storage type and then move it locally to ZFS afterwards?
I have trouble converting the LXC so that it works properly on ZFS.

Has anyone encountered this situation or has any advice on the best method to achieve this migration?

Thanks,

SysMik
 
what is the error you get? it might be that currently not all source storage type -> target storage type migrations are supported, this must be implemented on the pve side
 
Hello Dominik,
Thank you for your answer.
I get this error message :
TASK ERROR: unable to restore CT 100 - zfs error: cannot mount 'data/subvol-100-disk-0': no mountpoint set
I have the same error when I try a backup / restore without Proxmox Datacenter Manager.
With PDM, I can migrate the VMs without issues, only LXC is impacted.

Best Regards,
SysMik
 
can you post the container config? (pct config ID on the pve node)