Changes

Jump to: navigation, search

NFS

926 bytes added, 12:58, 17 June 2016
no edit summary
For NFS mounts to work in the containers with the RHEL5-based kernels you must enable kernel threads in the container by setting <code>kernel.ve_allow_kthreads=1</code> in <code>/etc/sysctl.conf</code>.
 
RHEL7-based kernels support [https://www.centos.org/docs/5/html/Deployment_Guide-en-US/ch-nfs.html three different NFS protocol versions]:
<pre>
NFS version 2 (NFSv2) is older and is widely supported.
NFS version 3 (NFSv3) has more features, including 64bit file handles, Safe Async writes and more robust error handling.
NFS version 4 (NFSv4) works through firewalls and on the Internet, no longer requires portmapper, supports ACLs, and utilizes stateful operations.
Red Hat Enterprise Linux supports NFSv2, NFSv3, and NFSv4 clients, and when mounting a file system via NFS, Red Hat Enterprise Linux uses NFSv3 by default, if the server supports it.
</pre>
There are three kernel modules accordingly: <code>nfs</code> (for NFSv2), <code>nfsv3</code>, <code>nfsv4</code>. As [[NFS server inside container]] by this moment supports only NFSv3, it's very likely that you'll need to load <code>nfsv3</code> module for clients.
# modprobe nfs
1
edit

Navigation menu