Hello, all. I have to share an NFS dir from one host (server1) to three other hosts (server2-4).
I've read many different threads here on this, and I'd like some clarification.
1) Firstly, Can an LXC container share an NFS mount point to other lxc containers on the same node?
2) If not, what other options are there?
Due to the way the software is designed, there is no getting around sharing an NFS volume. Additionally, server1 is the only one of the four that has write access. The others (server2-4) are ro consumers of the data on the share. On bare-metal versions of this architecture, server1 hosts the share point and the other three mount it to consume the data.
Would I have to host the share on the node itself? If so, would there be any penalty in I/O, given that the data is, in effect, already stored somewhere on the node to begin with? If I can do that, would I be able to share that directory r/w with server1 and r/o with the other containers?
Thanks.
I've read many different threads here on this, and I'd like some clarification.
1) Firstly, Can an LXC container share an NFS mount point to other lxc containers on the same node?
2) If not, what other options are there?
Due to the way the software is designed, there is no getting around sharing an NFS volume. Additionally, server1 is the only one of the four that has write access. The others (server2-4) are ro consumers of the data on the share. On bare-metal versions of this architecture, server1 hosts the share point and the other three mount it to consume the data.
Would I have to host the share on the node itself? If so, would there be any penalty in I/O, given that the data is, in effect, already stored somewhere on the node to begin with? If I can do that, would I be able to share that directory r/w with server1 and r/o with the other containers?
Thanks.