Dear Andreas, In spite of this should be possible; from an abstract viewpoint it's better to mount the NFS source on the host and propagate it via a bind mount to the container. Particularly if you want to use this nfs source in more than one container on this host.
Independent from that I want to point you to the fact that you may use a relative path (here: 'home') for the location inside your container instead of the absolute (which may change) Greetings Guido >-----Original Message----- >From: Andreas Laut [mailto:andreas.l...@spark5.de] >Sent: Tuesday, October 01, 2013 2:33 PM >To: lxc-users@lists.sourceforge.net >Subject: [Lxc-users] mounting nfs not working > >Hi list. > >I've tried to mount an external nfs mount into a container. But I got >the following error message after lxc-start: >lxc-start: Invalid argument - failed to mount 'nfsserver:/srv/services' >on '/usr/lib/x86_64-linux-gnu/lxc//home' > >And my lxc.mount.entry looks like: >nfsserver:/srv/services /srv/lxc/container/rootfs/home nfs >defaults,_netdev,rsize=8192,rw 0 0 > >My lxc Version is 0.8.0~rc1-8+deb7u1. >The nfs mount is reachable from host and container. > >All help is appreciated. ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users