Changes

Jump to: navigation, search

NFS

49 bytes added, 11:03, 11 March 2008
m
Robot: Automated text replacement (-VE +container)
This page describes how to mount NFS partition inside VEcontainer.
== NFS server ==
Currently OpenVZ kernel doesn't include kernel NFS server support. However you are still able to use user space [[NFS server inside VEcontainer]].
== NFS client ==
# [http://openvz.org/download/kernel/ kernel] version 2.6.18-028test006 or higher (2.6.18-028stab* will do), or any recent RHEL5-based or 2.6.20-based kernel.
Note: In all the kernels earlier than 028stab038, kernel NFS support can be given to a VE container by setting:
sunrpc.ve_allow_rpc = 1
==== Prepare the HN ====
For NFS mounts to work in the containers with the RHEL5-based kernels you must enable kernel threads in the VE container by setting "kernel.ve_allow_kthreads=1" in /etc/sysctl.conf
<pre>
</pre>
==== Prepare the VE container ====To allow a VE container use NFS filesystem, you will need to start it with "nfs" feature enabled. If the VE container is running while you set the --features "nfs:on", you will need to reboot it.
<pre>
# vzctl set 101 --features "nfs:on" --save
2,253
edits

Navigation menu