From owner-freebsd-bugs Thu Aug 13 14:42:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA23824 for freebsd-bugs-outgoing; Thu, 13 Aug 1998 14:42:05 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from csvax.cs.caltech.edu (csvax.cs.caltech.edu [131.215.131.131]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA23809 for ; Thu, 13 Aug 1998 14:42:02 -0700 (PDT) (envelope-from mika@varese.cs.caltech.edu) Received: from varese.cs.caltech.edu by csvax.cs.caltech.edu (4.1/1.34.1) id AA16296; Thu, 13 Aug 98 14:41:16 PDT Received: from localhost.cs.caltech.edu (localhost.cs.caltech.edu [127.0.0.1]) by varese.cs.caltech.edu (8.8.7/8.7.3) with SMTP id OAA21422; Thu, 13 Aug 1998 14:41:15 -0700 (PDT) Message-Id: <199808132141.OAA21422@varese.cs.caltech.edu> X-Authentication-Warning: varese.cs.caltech.edu: localhost.cs.caltech.edu [127.0.0.1] didn't use HELO protocol To: Matt Dillon , freebsd-bugs@FreeBSD.ORG, thepish@dana.clari.net.au Subject: Re: kern/7596: serious data integrity problem when reading WHILE writing NFSv3 client-end In-Reply-To: Your message of "Thu, 13 Aug 1998 11:24:11 PDT." <199808131824.LAA02830@flea.best.net> Date: Thu, 13 Aug 1998 14:41:15 -0700 From: Mika Nystroem Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Matt Dillon writes: >:Peter Hawkins writes: >:>See also PR 7418 - the plot thickens... ... >:Sure, I normally run these applications against a FreeBSD NFS server >:with a four-way CCD, but this particular case was on a Slowaris >:2.5 (sparcstation 1) machine with perfectly standard UFS. I haven't >:been able to exhibit it on a local FFS disk. I also haven't been >:able to exhibit it with a NetBSD NFS client, which is a bit odd >:because all the code that my untrained eye found in /sys/nfs that >:looked suspicious was the same on NetBSD and FreeBSD :) >: >: Mika >: > > I'm not sure in what circumstances you are seeing the problem. You > are seeing it locally on a sun and on a sun client with a FreeBSD NFS > server? Is the file corrupted on the FreeBSD NFS server itself when you > access it locally? > > -Matt > Sorry, I should have included more details from the original PR #7596. This is a *client*-end NFSv3 problem in FreeBSD, that much I am pretty sure of. Both the reading and writing processes are on the same NFS client machine. I'm using a FreeBSD NFSv3 client here, and the problem appears with NFS v3 servers from Solaris, FreeBSD, and NetBSD. Yes, the file is corrupted on the server's disk. The problem does not appear with FFS or NFSv2 or MFS. My uneducated guess is that it has something to do with v3's write buffering, but the NFS code is really quite hard to understand. Mika To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message