Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

NFS doesn't work

523 bytes added, 21:28, 6 June 2012
mention rpcbind
Often [[NFS ]] in VE doesn't container does not work because off of misconfiguration. This article contents contains known reasons of NFS related such problems, that are not bugs,as well as solutions for those. == Mount hangs == === Symptoms ===but misconfigurations.<tt>mount</tt> command hangs or takes a very long time to complete:
== Reason #1 ==
=== Symptomps ===
<tt>mount</tt> command hangs:
<pre>
# mount <ip address>:/pub /data
</pre>
=== Reason Reasons ===* Lockd is not running on the NFS server* Portmap (older) or rpcbind (newer) is not running on the NFS client* Networking is broken (e.g. scripts brought up default route but not IP address yet)
=== Workaround Solution ===Two options are possible:
* run <tt>lockd</tt> on the server
* mount with <tt>nolock</tt> option
=== Links ===
* {{Bug|620}} == Permission denied after mount == === Symptoms === After a successful mount it is not possible to enter the mounted directory.  === Reasons and Solution === * Possible the wrong authentification method for NFS is used. Try to add the mount option <code>sec=sys</code> to use the system mount option [http://bugzilla.openvzworkaround.org/show_bug.cgi?id=620node/265] 
[[Category:Troubleshooting]]
1
edit