If you are doing something with OpenVZ, like consulting, services, training course, make sure to add a note to Partners page.

NFS doesn't work

From OpenVZ Wiki

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.

Contents

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

Personal tools