Re: raid is dangerous but that's secret (was Re: [patch] ext2/3:document conditions when reliable operation is possible)
From: Pavel Machek
Date: Sun Aug 30 2009 - 03:52:01 EST
Hi!
> > From: Theodore Tso <tytso@xxxxxxx>
> >
> > Document that many devices are too broken for filesystems to protect
> > data in case of powerfail.
> >
> > Signed-of-by: Pavel Machek <pavel@xxxxxx>
>
> NACK. I didn't write this patch, and it's disingenuous for you to try
> to claim that I authored it.
Well, you did write original text, so I wanted to give you
credit. Sorry.
> While Neil Brown's corrections are minimally necessary so the text is
> at least technically *correct*, it's still not the right advice to
> give system administrators. It's better than the fear-mongering
> patches you had proposed earlier, but what would be better *still* is
> telling people why running with degraded RAID arrays is bad, and to
> give them further tips about how to use RAID arrays safely.
Maybe this belongs to Doc*/filesystems, and more detailed RAID
description should go to md description?
> To use your ABS brakes analogy, just becase it's not safe to rely on
> ABS brakes if the "check brakes" light is on, that doesn't justify
> writing something alarmist which claims that ABS brakes don't work
> 100% of the time, don't use ABS brakes, they're broken!!!!
If it only was this simple. We don't have 'check brakes' (aka
'journalling ineffective') warning light. If we had that, I would not
have problem.
It is rather that your ABS brakes are ineffective if 'check engine'
(RAID degraded) is lit. And yes, running with 'check engine' for
extended periods may be bad idea, but I know people that do
that... and I still hope their brakes work (and believe they should
have won suit for damages should their ABS brakes fail).
> That's just silly. What we should be telling people instead is (a)
> pay attention to the check brakes light (just as you should pay
> attention to the RAID array is degraded warning), and (b) while ABS
'your RAID array is degraded' is very counter intuitive way to say
'...and btw your journalling is no longer effective, either'.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/