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

Re: nfsd veeery slow & unreliable



On Friday 20 July 2001 11:43, Louis Sabet wrote:
> Hi,
>
> I recently set up a new OpenBSD fileserver system (2.8) to replace an
> ageing RedHat fileserver.
>
> On the new server however NFS file transfers take an age (the same
> files copied using SMB take hardly any time at all) - both tests were
> conducted over the same 100Mbps switch.
>
> I am trying to copy from a RedHat 7.0 system (which worked fine with
> the old server), and the setup on the redhat machine is as follows:
>
> /etc/fstab:
> 192.168.1.1:/nfs_share/public /public nfs rw,nodev,nosuid 0 0
> 192.168.1.1:/nfs_share/websites /websites nfs rw,nodev,nosuid 0 0
>
> On the OpenBSD2.8 machine, the following is in /etc/exports:
>
> /nfs_share/public -alldirs -mapall=ftp -network=192.168.1
> -mask=255.255.255.0
> /nfs_share/websites -alldirs -mapall=ftp -network=192.168.1
> -mask=255.255.255.0
>
> As far as I can tell this is the correct syntax. I get the following
> in the /var/log/messages log:
>
> Jul 20 15:28:53 angel mountd[20338]: Can't change attributes for
> /smbshare/websites
> (192.168.1.0).
> Jul 20 15:28:53 angel mountd[20338]: Bad exports list entry
> (192.168.1.0) in line /smbshare/websites -alldirs -mapall
>
> Despite the two above errors, the two NFS mounts work, but very
> slowly, and unreliably. After copying a few large files, the NFS
> Daemon on the OpenBSD System dies without any apparent errors in the
> log.
>
> If anyone can offer any tips that would be great :-)
>
> Regards

Using OpenBSD 2.9 current as of 06/24/01 with /etc/exports:

#	$OpenBSD: exports,v 1.1 1996/09/06 11:57:20 deraadt Exp $
#
# NFS exports Database
# See exports(5) for more information.  Be very careful, 
misconfiguration
# of this file can result in your filesystems being readable by the 
world.

/save	-maproot=0	-network 192.168.0 -mask 255.255.255.0

Just copied Linux StarOffice-5.2 (93 MB) in 23.041 sec to my 
workstation from the server.