Hi - new to Debian and linux in general so I'm not able to intelligently Google this issue effectively.
I've got an NFS network share to which an LXC container needs persistent access. The share is mounted in the Proxmox host (in /mnt/dataElsewhere), and I enter this line:
lxc.mount.entry = /mnt/dataElsewhere /var/lib/lxc/101/rootfs/mnt/dataElsewhere none bind 0 0
into /var/lib/lxc/101/config (where 101 is the container number) config file on the host Proxmox.
Of course I also have a /mnt/dataElsewhere in the container. Works great until the container restarts, and I see the dataElsewhere directory is still there in the container but nothing in it - and the host config file no longer has the lxc.mount.entry line.
Any idea what's going on? I might be on a totally wrong track on how to solve my root issue, mounting in a container.
Thanks
I've got an NFS network share to which an LXC container needs persistent access. The share is mounted in the Proxmox host (in /mnt/dataElsewhere), and I enter this line:
lxc.mount.entry = /mnt/dataElsewhere /var/lib/lxc/101/rootfs/mnt/dataElsewhere none bind 0 0
into /var/lib/lxc/101/config (where 101 is the container number) config file on the host Proxmox.
Of course I also have a /mnt/dataElsewhere in the container. Works great until the container restarts, and I see the dataElsewhere directory is still there in the container but nothing in it - and the host config file no longer has the lxc.mount.entry line.
Any idea what's going on? I might be on a totally wrong track on how to solve my root issue, mounting in a container.
Thanks