Can't use LXC snapshots while a Bind Mount is setup

Junk Knight

Active Member
Mar 29, 2018
3
1
43
27
I've been moving my services over to containers and it seems like containers that have a bind mount defined in /etc/pve/lxc/10x.conf can no longer be snapshot. I know snapshots in general still work because other containers and all my VM's can still be snapshot but for the two containers that I added Bind Mounts to the option is grayed out in the GUI, even on one that's I'd previously done snapshots on and they still exist for it as well.

If anyone knows a solution for this please let me know.
 
  • Like
Reactions: user843
there is currently no mechanism to exclude mountpoints from snapshots, so if we find a mountpoint which cannot be snapshotted (e.g. a bindmount) then
we cannot do a snapshot, although we already discussed a 'nosnapshot' flag, but no code yet
 
Has anyone found a solution for this yet? This does not yet work in latest Proxmox 5.4-3 anyway.
 
Has there been any progress on this? Would be great to set a flag to ignore mountpoints from snapshots with 'nosnapshot' or simlar.
 
It would be great if we could get this functionality. I have all my containers on RBD now, but can't snapshot them unless we can get this functionality with bind mounts. For me, the data within the bind mount is on ZFS with snapshots already...so it doesn't need to be included in the container snapshot.
 
  • Like
Reactions: lonsimbt