3 Jan 01:30
Re: ext3 journal on software raid (was Re: PROBLEM: Kernel 2.6.10 crashing repeatedly and hard)
Andy Smith <andy <at> strugglers.net>
2005-01-03 00:30:06 GMT
2005-01-03 00:30:06 GMT
On Sun, Jan 02, 2005 at 09:18:13PM +0100, Peter T. Breuer wrote: > Stephen Tweedie wrote: > > Umm, if soft raid is expected to have silent invisible corruptions in > > normal use, > > It is, just as is all types of RAID. This is a very strange thing for > Stephen to say - I cannot believe that he is as naive as he makes > himself out to be about RAID here and I don't know why he should say > that (presuming that he really knows better). > > > then you shouldn't be using it, period. That's got zero to > > do with journaling. > > It implies that one should not be doing journalling on top of it. > > (The logic for why RAID corrupts silently is that errors accumulate at > n times the normal rate per sector, but none of them are detected by > RAID (no crc), and when a disk drops out then you get a good chance of > picking up a corrupted copy instead of a good copy, because nobody > has checked the copy meanwhiles to see if it matches the original). I have no idea which of you to believe now. :( I currently only have one system using software raid, and several of my employer's machines using hardware raid, all of which have various raid-1, -5 and -10 setups and all use only ext3. Let's focus on the personal machine of mine for now since it uses Linux software RAID and therefore on-topic here. It has /boot on a small RAID-1, and the rest of the system is on RAID-5 with an(Continue reading)


> A RAID controller, whether software, firmware, or hardware, will also
> re-order requests to make best use of the devices.
Possibly. I have written block device drivers that maintain write
order, however (or at least do so if you ask them to, with the right
switch), because ...
> Any filesystem that assumes that requests will not be re-ordered is
> broken, as the assumption is wrong.
> I would be *very* surprised if Reiserfs makes this assumption.
.. because that is EXACTLY what Hans Reiser has said to me. I don't
think I've kept the mail, but I remember it. a quick google for
reiserfs + write ordering shows up some suggestive quotes:
> We cannot use the buffer.c dirty list anyway because bdflush can write
> those buffers to disk at any time. Transactions have to control the
> write ordering ...
(hey, that was Hans quoting Stephen). From the Linux High Availability
website (
RSS Feed