Hi!
On a freshly installed cluster (Proxmox 5.2), I can't migrate between nodes if mount point is active.
I have a 2 nodes cluster (so, HA not available for me, can't wait for my company to allow me buying a 3rd server!).
So I use replication + migration to switch LXC between the 2 nodes.
Here is the conf of mount point:
In the LXC, I got this mount points:
When I tries to migrate between 2 nodes, I got this:
I've read the documentation and forums threads: the "shared=1" flag was exactly what I excepted... But it's not working...
NB: Source folder exists on the 2 nodes, with same content (rsync'ed).
Any ideas?
Thanks.
On a freshly installed cluster (Proxmox 5.2), I can't migrate between nodes if mount point is active.
I have a 2 nodes cluster (so, HA not available for me, can't wait for my company to allow me buying a 3rd server!).
So I use replication + migration to switch LXC between the 2 nodes.
Here is the conf of mount point:
Code:
mp0: /var/bigfiles,mp=/var/bigfiles,shared=1,replicate=0
Code:
rpool/data/subvol-100-disk-1 on / type zfs (rw,noatime,xattr,posixacl)
rpool/ROOT/pve-1 on /var/bigfiles type zfs (rw,relatime,xattr,noacl)
When I tries to migrate between 2 nodes, I got this:
Code:
2018-10-27 13:02:01 shutdown CT 100
2018-10-27 13:02:09 starting migration of CT 100 to node 'sheldon' (xx.xx.xx.xx)
2018-10-27 13:02:09 ignoring shared 'bind' mount point 'mp0' ('/var/bigfiles')
2018-10-27 13:02:09 found local volume 'local-zfs:subvol-100-disk-1' (in current VM config)
2018-10-27 13:02:09 start replication job
2018-10-27 13:02:09 end replication job with error: unable to replicate mountpoint type 'bind'
2018-10-27 13:02:09 ERROR: unable to replicate mountpoint type 'bind'
2018-10-27 13:02:09 aborting phase 1 - cleanup resources
2018-10-27 13:02:09 start final cleanup
2018-10-27 13:02:09 start container on source node
2018-10-27 13:02:10 ERROR: migration aborted (duration 00:00:09): unable to replicate mountpoint type 'bind'
TASK ERROR: migration aborted
I've read the documentation and forums threads: the "shared=1" flag was exactly what I excepted... But it's not working...
NB: Source folder exists on the 2 nodes, with same content (rsync'ed).
Any ideas?
Thanks.