NFS, hung processes

Jean-Francois Lamy lamy at ai.utoronto.ca
Sun Jul 30 05:48:36 AEST 1989


Under SunOS 3.x, religiously enforce the following policy: never mount
two partitions from two different machines in the same directory.  That way
the mount point for the partition you are in will always be found before
getwd has to look at the directory entry for a dead machine.  You can most
simply acheive this by mounting all remote partitions on
/nfs/machine/partition and making symlinks to preserve the illusion.

Under SunOS 4.x, getwd caches results.  Poking around with trace reveals that
if all NFS mounts refer to symlinks pointing to the actual mount point you
won't see the NFS hang problem.

Jean-Francois Lamy               lamy at ai.utoronto.ca, uunet!ai.utoronto.ca!lamy
AI Group, Department of Computer Science, University of Toronto, Canada M5S 1A4



More information about the Comp.unix.wizards mailing list