From owner-freebsd-hackers Mon Mar 18 17:06:19 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA18244 for hackers-outgoing; Mon, 18 Mar 1996 17:06:19 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id RAA18239 for ; Mon, 18 Mar 1996 17:05:57 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id RAA22702; Mon, 18 Mar 1996 17:58:03 -0700 From: Terry Lambert Message-Id: <199603190058.RAA22702@phaeton.artisoft.com> Subject: Re: NFS problems w/ HPUX 9.0.5 To: koshy@india.hp.com (A JOSEPH KOSHY) Date: Mon, 18 Mar 1996 17:58:03 -0700 (MST) Cc: terry@lambert.org, hackers@FreeBSD.ORG In-Reply-To: <199603180716.AA073173379@fakir.india.hp.com> from "A JOSEPH KOSHY" at Mar 18, 96 12:46:18 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > tl> Can you toggle whether or not you do client caching on the client, or > tl> server caching on the server? > tl> What version of the NFS protocol are you using? > > The FreeBSD boxes are stock 2.1.0-R; the HPUX machine doesn't seem to be > running NFS v3 (atleast nothing was mentioned in the documentation). > How can I turn off client side caching on FreeBSD? I tried mounting the > NFS disk synchronous but it didn't help. There is a compile-time variable; you will need to hack a source file in /sys/nfs... it's a one-line change to toggle caching. I think that recent kernels let you poke it with sysctl as a debug variable, if you have those enabled. You may want to turn *on* leases on your next build as well, since it reflects on cache coherency. Unfortunately, I can't rebuild your testbed easily... Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.