NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Slow NFS



On Tuesday 27 January 2009 20:21:56 Wouter Klouwen wrote:
> raymond.meyer%rambler.ru@localhost(raymond.meyer%rambler.ru@localhost) said 
> 2009.01.27 19:05:17 
+0000:
> > Hi, I have two machines running NetBSD-5 beta, one i386 - NFS server,
> > other sparc64 - NFS client. For some reason NFS is very slow, i.e. if I
> > mount /opt/pkgsrc via NFS and then do something like:
> >
> > cd /opt/pkgsrc
> > find .
> >
> > then it seems to block, i.e. each entry printed by find takes about 10
> > seconds or longer to appear on the screen. Something is very wrong with
> > this. Any ideas what it might be?
>
> Are lockd and statd running on the server?
>
> Regards,
>       --Wouter

NFS server:

IP 192.168.0.40

/etc/rc.conf file has:
rpcbind=yes
mountd=yes
nfs_server=yes
lockd=yes
statd=yes

/etc/exports file has:
/opt -alldirs -maproot=root 192.168.0.41


NFS client:

IP 192.168.0.41

/etc/rc.conf file has:
rpcbind=yes
nfs_client=yes
lockd=yes
statd=yes

/etc/fstab has:
192.168.0.40:/opt/pkgsrc  /opt/pkgsrc  nfs  rw,noauto,intr,soft,tcp


The client can mount NFS directories under /opt, but accessing files there is 
painfully slow. I just can't figure out what is wrong...


Home | Main Index | Thread Index | Old Index