Subject: NFS mount problem
To: None <netbsd-help@netbsd.org>
From: Russell McManus <russell_mcmanus@yahoo.com>
List: netbsd-help
Date: 04/09/2002 20:43:46
I've got a partially working NFS mount set up, but I can't seem to
figure out where I've gone wrong.  I don't know a lot about NFS, but I
have read the relevant man pages closely.

I've got an NFS server machine running NetBSD 1.5.2 (i386), and an NFS
client machine running NetBSD 1.5.2 (hpcmips).  I've got the following
line in /etc/exports on the i386:

/u/export -mapall=export -noresvport,noresvmnt -network 192.168.1.0 -mask 255.255.255.0

On the NFS client machine, I mount the exported directory like so:

mount servermachine:/u/export /mnt

This seems to work.  On the NFS client I can do:

  echo hello > /mnt/foo

and on the NFS server, I can see that /u/export/foo has been created,
and has "hello" as it's contents.  So far so good.

But now on the NFS client I try to copy a file into /mnt, with "cp
somefile /mnt".  The cp hangs indefinitely.  No doubt I've done
something basic wrong with my NFS setup.

I wonder whether I have to have matching UIDs set up on the client and
server machine or something like that?

-russ