Date: Fri, 15 Mar 1996 10:46:13 +0530 From: A JOSEPH KOSHY <koshy@india.hp.com> To: questions@freebsd.org Subject: NFS corruptions / FreeBSD 2.1 Message-ID: <199603150516.AA168676974@fakir.india.hp.com>
next in thread | raw e-mail | index | archive | help
Hi Folks, The setup here: I have a FreeBSD machine mounting a 1 GB disk from a HP workstation. FreeBSD 2.1.0-RELEASE/16MB/500MB-IDE/HP PC Lan+ card HP9000/712 running HPUX9.0 offering a 1 GB disk read/write over NFS. The problem: when doing a sequence of NFS writes to the disk sometimes reads of other files from the same NFS mounted disk get corrupted data. The scenario is a follows: a) I'm writing a file say "file-a" to the NFS mounted disk b) while this is going on I read "file-b" from the same disk I occasionally see (a) NULLS and (b) data for "file-a" in "file-b". I've verified that the data that is actually written to remote disk for "file-b" is correct. Flushing the FS cache by reading/writing lots of data sometimes causes the correct data for "file-b" to be read off the NFS mounted disk. Small files are never corrupted. Stopping NFS writes to the remote disk causes the problem to go away. I did see a posting in the questions-archives about a similar-sounding corruption using NFS reads and writes (look for the subject "File Corruption Problem"). The rest of the system has been working fine till now; so I suspect its something to do with NFS. Is there anything I can do to work around this? Koshy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603150516.AA168676974>