NFS doesn't work

From OpenVZ Virtuozzo Containers Wiki
Revision as of 11:03, 11 March 2008 by Botinki Kira (talk | contribs) (Robot: Automated text replacement (-VE +container))
Jump to: navigation, search

Often NFS in container 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