Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Dec 2002 14:47:49 -0500
From:      Chuck Swiger <cswiger@mac.com>
To:        Pete French <pfrench@firstcallgroup.co.uk>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: NFS interoperability problem
Message-ID:  <1A811F67-06F8-11D7-A933-000A27D85A7E@mac.com>
In-Reply-To: <E18JIWF-000MvH-00@mailhost.firstcallgroup.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, December 3, 2002, at 02:15  PM, Pete French wrote:
> I have a set of discs NFS mounted from a FreeBSD machine onto an
> OpenStep 4.2 machine. This should be a very vanilla 4.3 BSD impementation
> opf NFS as far as I know, and I have been using it for many years with no
> problems, including as a client for FreeBSD.

OPENSTEP 4.2 probably has a bug lurking from the NFS v2 sources, according 
to an /etc/system tunable parameter under Solaris:

nfs:nfs_shrinkreaddir

Description

Some older NFS servers might incorrectly handle NFS version 2 READDIR 
requests for more than 1024 bytes of directory information. This is due to 
a bug in the server implementation. However, this parameter contains a 
workaround in the NFS version 2 client.

When this parameter is enabled, the client does not generate a READDIR 
request for larger than 1024 bytes of directory information. If this 
parameter is disabled, then the over-the-wire size is set to the minimum 
of either the size passed in by using the getdents(2) system call or by 
using NFS_MAXDATA, which is 8192 bytes.

	--

Try setting vers=2, or even add rsize=1024,wsize=1024 if that doesn't help.
   It's also conceivable that installing the last set of Y2K patches for 
OPENSTEP 4.2 (available from Apple) might include a kernel which fixed 
this bug.

-Chuck

        Chuck Swiger | chuck@codefab.com | All your packets are belong to 
us.
        
-------------+-------------------+-----------------------------------
        "The human race's favorite method for being in control of the facts
         is to ignore them."  -Celia Green


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1A811F67-06F8-11D7-A933-000A27D85A7E>