I have two nodes cluster setup (actually three nodes with the third used for quorum). I'm using LVM volume storage (not thin provisioning) on top of DRBD on first two nodes. The LVM storage is marked as "shared". I created an LXC container and can migrate it between nodes without any problem, including HA scenario.
Now I need to connect another storage disk (from the LVM-over-DRBD storage) to that container. For testing purposes I added
mp0: vg0:vm-100-disk-2,mp=/mnt,size=512M
to configuration of the container.
The container mounts the volume successfully. But now I can not migrate container to another node: Proxmox can not deactivate second LVM volume because there is mounted filesystem in use.
So, what are my options to automatically migrate an LXC container with extra mount point? I will try to mount the second volume from the container itself (with all the extra LXC/AppArmour settings), are there any other ways? Any difference if using KVM instead of LXC?
--
Best regards, Max.
Now I need to connect another storage disk (from the LVM-over-DRBD storage) to that container. For testing purposes I added
mp0: vg0:vm-100-disk-2,mp=/mnt,size=512M
to configuration of the container.
The container mounts the volume successfully. But now I can not migrate container to another node: Proxmox can not deactivate second LVM volume because there is mounted filesystem in use.
So, what are my options to automatically migrate an LXC container with extra mount point? I will try to mount the second volume from the container itself (with all the extra LXC/AppArmour settings), are there any other ways? Any difference if using KVM instead of LXC?
--
Best regards, Max.