Re: [Vserver] NFS recommendations?

From: Tim Mecking <>
Date: Fri 29 Sep 2006 - 13:21:37 BST
Message-ID: <>

Hi Peter,

Peter Sabaini wrote:
> * NFS on hosts: export / mount network drives on hosts, have vservers use them
> * NFS on host and vservers: export on host, mount in vserver
> * NFS between vservers: export / mount in vservers
> * Userspace NFS? I usually use nfs-kernel-server, but maybe for linux-vserver
> the userspace NFS daemon is the more adequate approach?

The kernel-space NFS server isn't available in the vservers for obvious
reasons. So I suggest to use the kernel-space nfs server in the root server.

Mounting directories from the root server into a vserver running on the
same physical machine can be done by using the bind feature. So a
network file system isn't necessary. Just add the following line to

<root servers dir path> <vservers mount point path> none bind,rw 0 0
/home /home none bind,rw 0 0

Remote directories are mounted into the each vserver which needs access
using nfs. This is done by adding the following line to

<nfs server>:<path> <vservers mount point path> nfs defaults,rw 0 0
e.g. /home nfs defaults,rw 0 0

Vserver mailing list
Received on Fri Sep 29 13:23:00 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 29 Sep 2006 - 13:23:10 BST by hypermail 2.1.8