Hello.
I am preparing my migration from Proxmox 3.4 to 4.1 and LXC.
I have ~10 OpenVZ containers that host multiple web apps and some of them require access to a shared file system to read, copy or delete files. I configured a NFS gateway for that purpose mounted on every container requiering access to the file share. It works great especially with OpenVZ as I can resize disk dynamically via Proxmox web GUI.
Now moving to LXC, it seems I can create a NFS server in a container but I cannot reduce disk size (from the GUI) nor (apprently) mount NFS shares in another container. It looks like I need to mount the file share on the host and use bind mounts to access it from the container (https://pve.proxmox.com/wiki/LXC_Bind_Mounts).
I don't know if there is any other way to achieve file sharing between containers. I am looking for something simple to setup and maintain so feel free to share tips or suggest something
I am preparing my migration from Proxmox 3.4 to 4.1 and LXC.
I have ~10 OpenVZ containers that host multiple web apps and some of them require access to a shared file system to read, copy or delete files. I configured a NFS gateway for that purpose mounted on every container requiering access to the file share. It works great especially with OpenVZ as I can resize disk dynamically via Proxmox web GUI.
Now moving to LXC, it seems I can create a NFS server in a container but I cannot reduce disk size (from the GUI) nor (apprently) mount NFS shares in another container. It looks like I need to mount the file share on the host and use bind mounts to access it from the container (https://pve.proxmox.com/wiki/LXC_Bind_Mounts).
I don't know if there is any other way to achieve file sharing between containers. I am looking for something simple to setup and maintain so feel free to share tips or suggest something