Date: Mon, 18 Mar 1996 12:46:18 +0530 From: A JOSEPH KOSHY <koshy@india.hp.com> To: Terry Lambert <terry@lambert.org> Cc: hackers@FreeBSD.ORG Subject: Re: NFS problems w/ HPUX 9.0.5 Message-ID: <199603180716.AA073173379@fakir.india.hp.com> In-Reply-To: Your message of "Sat, 16 Mar 1996 11:41:35 MST." <199603161841.LAA17568@phaeton.artisoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <199603161841.LAA17568@phaeton.artisoft.com> Terry Lambert writes tl> rewrite them. I don't see that this is a problem... if the data is tl> to be overwritten anyway, then its value is irrelevant. No, the problem is that read()s of (unrelated) files from the NFS mounted file system return bad data IF a write to the same file system is in progress. This isn't the case of multiple writers writing to the same file. tl> This seems to be a client-cache/server cache interaction. If it causes Well I initially suspected the FreeBSD NFS client side code as probably returning the wrong buffer to the reader. However, FreeBSD<->FreeBSD NFS mounts work fine so I ruled that out. But since HPUX<->HPUX mounts work fine too I'm puzzled. If we don't write() to the remote mounted disk, read()s work fine and return uncorrupted data. jk> I'm running FreeBSD 2.1.0-RELEASE on a P5/16MB/500MB-IDE HP Vectra. 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. Koshy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603180716.AA073173379>