From owner-freebsd-stable Tue Dec 3 11:47:53 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D63A37B401 for ; Tue, 3 Dec 2002 11:47:52 -0800 (PST) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FFEF43E4A for ; Tue, 3 Dec 2002 11:47:51 -0800 (PST) (envelope-from cswiger@mac.com) Received: from asmtp02.mac.com (asmtp02-qfe3 [10.13.10.66]) by smtpout.mac.com (8.12.2/MantshX 2.0) with ESMTP id gB3JlpTw029017 for ; Tue, 3 Dec 2002 11:47:51 -0800 (PST) Received: from bust ([12.38.161.88]) by asmtp02.mac.com (Netscape Messaging Server 4.15) with ESMTP id H6K6ZQ00.KEQ; Tue, 3 Dec 2002 11:47:50 -0800 Date: Tue, 3 Dec 2002 14:47:49 -0500 Subject: Re: NFS interoperability problem Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) Cc: freebsd-stable@FreeBSD.ORG To: Pete French From: Chuck Swiger In-Reply-To: Message-Id: <1A811F67-06F8-11D7-A933-000A27D85A7E@mac.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.482) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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