Re: Possible EXT2 race

From: Jon Masters
Date: Sat Dec 08 2007 - 03:58:41 EST



On Fri, 2007-12-07 at 13:58 -0500, linux-os (Dick Johnson) wrote:
> On Fri, 7 Dec 2007, Dave Jones wrote:
>
> > On Fri, Dec 07, 2007 at 08:15:42AM -0500, linux-os (Dick Johnson) wrote:
> >
> > > Dec 7 04:05:55 chaos kernel: sd 0:0:1:0: [sdb] Add. Sense: Peripheral device write fault
> >
> > This sounds more like a hardware problem.

> There was an attempt to write beyond the end of the device because
> everything in the file-system was getting trashed. I can read/write
> the 5 year-old SCSI physical drive with no errors from both within
> linux and through the Adaptec BIOS. This problem only occurs
> when I attempt to truncate a file that is being written by another
> task.

Well, that might be how you can reproduce it, but this is almost
certainly a hardware problem and not EXT2 at fault - the filesystem can
only do just so much once its data has been corrupted by an old disk.

Jon.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/