NFS Mount command hangs if Portmap is not running

  • 3006009
  • 22-May-2006
  • 30-Apr-2012

Environment

Novell SUSE Linux Enterprise Server 9
Novell Open Enterprise Server (OES)
Novell Open Enterprise Server (Linux based)

Situation

Symptoms:
NFS Mount command hangs for several minutes
NFS mount is eventually successful

Changes:
Portmap service was not allowed to start during boot as a security precaution




Resolution

This is expected behavior for the NFS client as it requires the nfslock service to be registered with portmap.  If portmap is not allowed to start at boot time, nfslock can not register.  When the NFS client attempts to mount an external file system export, it will make sure the nfslock is registered with portmap.  It will try several times to do so, eventually timing out anywhere from 3 to 11 minutes after the Mount command is issued.

Workaround:
If, as a security precaution, portmap needs to not be running on the server, this problem can be avoided by allowing both the portmap and nfslock services to start at boot time and then stopping the portmap service after the server is up.  This can be accomplished through the use of a shell script to issue the"rcportmap stop" command.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.