Subject: Re: duff pages in middle of file
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 09/24/2003 10:39:09
On Tue, Sep 23, 2003 at 10:12:49PM +0200, Manuel Bouyer wrote:
> On Tue, Sep 23, 2003 at 09:11:28AM +0100, Patrick Welche wrote:
> > Can anyone think of a reason for exactly 0x400 contiguous bytes (0x1000-0x13ff)
> > of a 1Gb file (1024^3 bytes) (postgresql database) to be replaced by a bit
> > of my /var/mail/prlw1 (often mmapped by mutt)?
...
> So I suspect there's a problem where file data can get mixed between 2
> files, one being read and the second written.

So, in your case, mrtg wrote to one disk, and the data ended up in a file
on an nfs served disk being read.
In my case sd0 data ended up in wd0, but I don't know who was reading and
writing other than both mutt and postgresql were doing it.

Can you remember when it started? Before that 17th September kernel, I was
running 1.6X, probably 28th August and hadn't noticed anything, that isn't
to say it hasn't happened!

Cheers,

Patrick