Changes

Jump to: navigation, search

NFS server inside container

162 bytes removed, 14:42, 4 May 2011
Kernel NFS server: how to
== Kernel NFS server ==
Binary RPMs that are provided by OpenVZ community contain kernels compiledwithout Kernel-space NFS server supportis supported by latest RHEL5 and RHEL6 based kernels and since vzctl-3. Thus you have to[[Kernel build|recompile the kernel]] with <code>CONFIG_NFSD=m</code>0.24. After booting in this kernel you'll be ableto use NFS server on [[HN]].In-kernel order to run an NFS server runs kernel threads to service requests of clients.inside a container, make sure:But for security reasons * nfsd kernel threads are prohibited in [[module is loaded on host system before starting a container]]s! So you won'tbe able to run NFS server inside [[* nfsd feature for a container]] without patching the kernel.is turned on (<code>vzctl set $CTID --feature nfsd:on --save</code>)
== User-space NFS server ==

Navigation menu