Hello,
I have encountered what appears to be an issue with LXC migration on Proxmox VE 9.2.6.
After several hours of troubleshooting, I reduced the problem to a minimal reproducible example.
The following NFS export is mounted on both nodes:
192.168.178.25:/volume1/Media
The following NFS export is mounted on both nodes:
192.168.178.25:/volume1/Media
Mount point:
/mnt/nas_media
Verification:
findmnt /mnt/nas_media
Both nodes report the same NFS source.
I created a brand new Debian 12 LXC container (CT999).
Configuration:
arch: amd64
cores: 1
hostname: test-migrate
memory: 1024
mp0: /mnt/nas_media,mp=/mnt/test
net0: name=eth0,bridge=vmbr0,ip=dhcp,type=veth
rootfs: NAS_Media:999/vm-999-disk-0.raw,size=4G
unprivileged: 1
The bind mount works correctly.
Example:
pct exec 999 -- ls /mnt/test
returns the contents of the NAS.
After stopping the container:
pct migrate 999 pve2
Result:
ERROR: migration aborted (duration 00:00:00):
cannot migrate local bind mount point 'mp0'
migration aborted
The migration aborts immediately.
According to the Proxmox documentation, adding shared=1 to the bind mount should allow migration of shared bind mounts.
However, if I use:
mp0: /mnt/nas_media,mp=/mnt/test,shared=1
the configuration is rejected with:
shared: property is not defined in schema
Thank you for your time.
Kind regards,
Steefie
I have encountered what appears to be an issue with LXC migration on Proxmox VE 9.2.6.
After several hours of troubleshooting, I reduced the problem to a minimal reproducible example.
Environment
- Proxmox VE 9.2.6
- pve-container 6.1.12
- Two-node cluster
- QDevice configured and working correctly
- Synology NAS using NFS
- Both nodes run identical package versions
Shared NFS mount
The following NFS export is mounted on both nodes:
192.168.178.25:/volume1/Media
Shared NFS mount
The following NFS export is mounted on both nodes:
192.168.178.25:/volume1/Media
Mount point:
/mnt/nas_media
Verification:
findmnt /mnt/nas_media
Both nodes report the same NFS source.
Minimal reproducible example
I created a brand new Debian 12 LXC container (CT999).
Configuration:
arch: amd64
cores: 1
hostname: test-migrate
memory: 1024
mp0: /mnt/nas_media,mp=/mnt/test
net0: name=eth0,bridge=vmbr0,ip=dhcp,type=veth
rootfs: NAS_Media:999/vm-999-disk-0.raw,size=4G
unprivileged: 1
The bind mount works correctly.
Example:
pct exec 999 -- ls /mnt/test
returns the contents of the NAS.
Migration
After stopping the container:
pct migrate 999 pve2
Result:
ERROR: migration aborted (duration 00:00:00):
cannot migrate local bind mount point 'mp0'
migration aborted
The migration aborts immediately.
Additional observation
According to the Proxmox documentation, adding shared=1 to the bind mount should allow migration of shared bind mounts.
However, if I use:
mp0: /mnt/nas_media,mp=/mnt/test,shared=1
the configuration is rejected with:
shared: property is not defined in schema
What has been verified
- Two-node cluster is healthy.
- QDevice works correctly.
- Quorum is healthy.
- Both nodes run identical versions.
- Same kernel on both nodes.
- Same NFS export.
- Same mount point on both nodes.
- Bind mount works correctly inside the container.
- Problem is reproducible with a completely fresh Debian 12 container.
Questions
- Is this expected behaviour in Proxmox VE 9.2.6?
- Has anything changed regarding bind mount migration?
- Why is shared=1 rejected although it is documented?
- Could this be a regression?
Thank you for your time.
Kind regards,
Steefie