Subject: Re: NFS mount problem
To: Russell McManus <russell_mcmanus@yahoo.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 04/10/2002 22:12:16
On Tue, Apr 09, 2002 at 08:43:46PM -0400, Russell McManus wrote:
> 
> 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?

No, I suspect it's a network problem (maybe just a speed problem at the
network interfaces level).
Can you try to mount with '-o -r=1024,-w=1024' ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--