Difference between revisions of "NFS doesn't work"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(initial edition)
 
(various small fixes)
Line 1: Line 1:
Often NFS in VE doesn't work because off misconfiguration.  
+
Often [[NFS]] in VE does not work because of misconfiguration.  
This article contents known reasons of NFS related problems, that are not bugs,
+
This article contains known reasons of such problems as well as solutions for those.
but misconfigurations.
 
  
== Reason #1 ==
+
== Mount hangs ==
===  Symptomps ===
+
 
 +
===  Symptoms ===
 
<tt>mount</tt>  command hangs:
 
<tt>mount</tt>  command hangs:
 
<pre>
 
<pre>
Line 12: Line 12:
  
 
=== Reason ===
 
=== Reason ===
Lockd is not running on the NFS server
+
Lockd is not running on the NFS server.
  
=== Workaround ===
+
=== Solution ===
 +
Two options are possible:
 
* run <tt>lockd</tt> on the server
 
* run <tt>lockd</tt> on the server
 
* mount with <tt>nolock</tt> option
 
* mount with <tt>nolock</tt> option
  
 
=== Links ===
 
=== Links ===
* http://bugzilla.openvz.org/show_bug.cgi?id=620
+
* {{Bug|620}}
  
 
[[Category:Troubleshooting]]
 
[[Category:Troubleshooting]]

Revision as of 11:31, 22 June 2007

Often NFS in VE does not work because of misconfiguration. This article contains known reasons of such problems as well as solutions for those.

Mount hangs

Symptoms

mount command hangs:

# mount <ip address>:/pub /data
(...hangs here...)

Reason

Lockd is not running on the NFS server.

Solution

Two options are possible:

  • run lockd on the server
  • mount with nolock option

Links