[lxc-devel] NFS mounts inside a container uses/requires the host IPstack

Tim Spriggs tims at uahirise.org
Fri Mar 18 18:43:56 UTC 2011


On Fri, Mar 18, 2011 at 6:34 AM, Rob Landley <rlandley at parallels.com> wrote:
> On 03/16/2011 01:51 PM, Tim Spriggs wrote:
>> Thanks for the offer but I think I have networking under control. What
>> is not working properly is that NFS happens from a host IP instead of
>> a context IP... even though it is started from the context IP.
>
> I'm working on that.
>
> Here's the kernel patch needed to get the basic minimal NFSv3
> functionality to work.  (Note the big long mount invocation switching
> off tons of stuff.  This patch makes it work ONCE YOU'VE SWITCHED ALL
> THAT OFF.  No portmap, no lockd, no dns resolution...)
>
> Also, note that if the host and container ever try to use the same IP,
> the NFS cacheing stuff mixes stuff together and it all goes pear shaped.
>
> As I said: working on it...
>
> Rob
>

Cool! I guess the next step for me would be getting caching straight
as I will have the same mounts on several containers. What can I do to
help?




More information about the lxc-devel mailing list