Editing NFS doesn't work

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
Often [[NFS]] in container does not work because of misconfiguration.  
+
Often NFS in VE doesn't work because off misconfiguration.  
This article contains known reasons of such problems as well as solutions for those.
+
This article contents known reasons of NFS related problems, that are not bugs,
 
+
but misconfigurations.
== Mount hangs ==
 
 
 
===  Symptoms ===
 
<tt>mount</tt>  command hangs or takes a very long time to complete:
 
  
 +
== Reason #1 ==
 +
===  Symptomps ===
 +
<tt>mount</tt>  command hangs:
 
<pre>
 
<pre>
 
# mount <ip address>:/pub /data
 
# mount <ip address>:/pub /data
Line 12: Line 11:
 
</pre>
 
</pre>
  
=== Reasons ===
+
=== Reason ===
* Lockd is not running on the NFS server
+
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)
 
  
=== Solution ===
+
=== Workaround ===
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 ===
* {{Bug|620}}
+
* http://bugzilla.openvz.org/show_bug.cgi?id=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://workaround.org/node/265]
 
 
 
  
 
[[Category:Troubleshooting]]
 
[[Category:Troubleshooting]]

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: