[plug] NFS problem

Nick Bannon nick at ucc.gu.uwa.edu.au
Mon Nov 30 18:06:34 WST 1998


On Mon, Nov 30, 1998 at 10:29:55AM +0800, Matt Kemner wrote:
[...]
> Also, I found when I had the same problem you did, that killing mountd,
> and running
> /usr/sbin/rpc.mountd -F -d   # run in foreground, debug
> was very helpful to the cause.
> running strace -p `pidof rpc.mountd` can be very enlightening too.

Two general handy hints for NFS ;

1. Sometimes actually stopping and starting the daemons in question (eg
Debian "/etc/init.d/netstd_nfs stop", "/etc/init.d/netstd_nfs start")
rather than just SIGHUP-ing them ("/etc/init.d/netstd_nfs reload")
helps.

2. "/usr/sbin/showmount -e nfsserver.domainname.foo" is very handy for
telling you whether you've a client problem or a server problem. If
it tells you "RPC: Program not registered", then one of your daemons
isn't running. Otherwise it will tell you the directories it thinks it's
exporting, to which machines - though not the permissions.

Nick.

-- 
  Nick Bannon  | "I made this letter longer than usual because
nick at it.net.au | I lack the time to make it shorter." - Pascal


More information about the plug mailing list