From: Matthieu Racine (m.racine_at_free.fr)
Date: Wed 17 Sep 2003 - 10:15:58 BST
Hello,
I'm using NFS mounts with succes in vservers from about 4 months.
1 - Using kernelspace nfsd
2 - Lauching portmap/nfs-clients daemons on the main server
3 - when starting the vserver, doing :
chbind --ip <my_vserverip> --bcast <my_vserver_broadcast> chroot
${VSERVERS_ROOT}/${VSERVER_NAME} mount -t nfs
<myNFSserverIP>:/partage/nfs/pro /mnt/pro
working great.
Matthieu
----- Original Message -----
From: "Enrico Scholz" <enrico.scholz_at_sigma-chemnitz.de>
To: <vserver_at_solucorp.qc.ca>
Sent: Monday, September 15, 2003 6:41 PM
Subject: Re: [vserver] Using NFS mounts in a vserver
> mike.fischer_at_ipsi.fraunhofer.de (Mike Fischer) writes:
>
> > When I had the vserver running and wanted to cd to the NFS-dir,
> > the whole shell refused to work.
> > ...
> > Why this behavior?
>
> Probably, the initial 'mount' request came from another IP than
> the subsequent NFS commands. The NFS server's log should give
> more hints (e.g. permission denied).
>
>
> > How can I use an NFS-mount inside a vserver?
>
> Try to mount it with the IP of the interface which is used for
> the outgoing NFS traffic. E.g.
>
> | chbind --ip X.Y.Z.41 mount <NFS> <mountpoint>
>
>
>
>
> Enrico
>