Changes

Jump to: navigation, search

NFS server inside container

22 bytes added, 02:00, 27 October 2007
Improve the grammar a little
== User-space NFS server ==
Advantage of user-space NFS server is that it can be ran without any support in the kernel.
Also if it crashes — there is no crash of a the system: just one process crashes, not the kernel!The disadvantage of user-space NFS server is its productivity: no one can be faster then than in-kernel implementation.
One well-known implementation of NFS server is "The LINUX User-Space NFS Server" by Olaf Kirch.
Some Linux distributions contain this package: Debian Sarge (<code>nfs-user-server</code>), OpenSUSE 10.0 (<code>nfs-server</code>).
For other distributions you can download sources (for example from Debian repository) and compile it.
There is a small trick you have to know about runing running <code>mountd</code> and <code>nfsd</code> (these two daemons and <code>portmap</code> constitute a user-space server). You should run them with the <code>-r</code> option:
<pre>
# portmap
# rpc.nfsd -r
</pre>
The reason is that these daemons check the major number of the device where the directory to export resides.If major equals 0 then daemons suppose assume that it is NFS and don't want to re-export it. Symptoms arethat clients will always get a "permission denied" error. Simfs (the file system on what which VE is located)is assosiated associated with so called unnamed device, in which major equals 0. So, to prevent daemons from checking for
re-exporting — just use this <code>-r</code> option.
38
edits

Navigation menu