[Lxc-users] [NFS] nfs server

Kirill A. Shutemov kirill at shutemov.name
Tue Aug 9 13:27:30 UTC 2011


On Tue, Aug 09, 2011 at 03:10:44PM +0200, Daniel Lezcano wrote:
> On 08/09/2011 10:03 AM, Jeremy MAURO wrote:
> > Hi everyone,
> >
> > Any updates about this request, because I am unable to setup a nfs 
> > server on the container without a nfs-server on the main server.
> > Once the nfs-kernel-server is setup on the main server, I am still 
> > unable to mount the nfs exports:
> > On the main server:
> > [root at server]:/var/lib/lxc/nfsroot/rootfs/var/lib # showmount -e localhost
> > Export list for localhost:
> > [root at server]:/var/lib/lxc/nfsroot/rootfs/var/lib #
> >
> > On the container:
> > [root at nfsroot]:~ # showmount -e localhost
> > Export list for localhost:
> > /var/nfsroot 10.10.0.0/16
> > [root at nfsroot]:~ # showmount -e 10.10.200.31
> > Export list for 10.10.200.31:
> > /var/nfsroot 10.10.0.0/16
> >
> > And when trying to mount the export, the clients just hangs
> > [root at client-server]:/ # mount 10.10.200.31:/var/nfsroot /mnt/
> >
> > Any idea?
> 
> I think the nfs server is not yet supported by the kernel.
> AFAIR Kirill had a patchset to be merged mainline but I don't know what
> is the status.

AFAIK, upstream has no objections on this patchset, but they don't merge
it. I don't know why.

Anyway, it's only a small part of work which need to be done to get nfs work
properly in containers.

Rob, do you have any status update? I don't follow nfs maillist currently.

-- 
 Kirill A. Shutemov




More information about the lxc-users mailing list