On Tue 2009-08-25 20:45:26, Ric Wheeler wrote:
On 08/25/2009 08:38 PM, Pavel Machek wrote:Example I seen went like this:
The problem I have is that the way you word it steers people away fromExactly. And now I'm trying to get that documented, so that peopleYou are deliberately causing a double failure - pressing the power buttonLook, I don't need full drive failure for this to happen. I can justI'm not sure what's rare about power failures. Unlike single sectorPower failures after a full drive failure with a split write during a rebuild?
errors, my machine actually has a button that produces exactly that
event. Running degraded raid5 arrays for extended periods may be
slightly unusual configuration, but I suspect people should just do
that for testing. (And from the discussion, people seem to think that
degraded raid5 is equivalent to raid0).
remove one disk from array. I don't need power failure, I can just
press the power button. I don't even need to rebuild anything, I can
just write to degraded array.
Given that all events are under my control, statistics make little
sense here.
after pulling a drive is exactly that scenario.
don't do it and still expect their fs to be consistent.
RAID5 and better data integrity. Your intentions are good, but your text
is going to do considerable harm.
Most people don't intentionally drop power (or have a power failure)
during RAID rebuilds....
Drive in raid 5 failed; hot spare was available (no idea about
UPS). System apparently locked up trying to talk to the failed drive,
or maybe admin just was not patient enough, so he just powercycled the
array. He lost the array.
So while most people will not agressively powercycle the RAID array,
drive failure still provokes little tested error paths, and getting
unclean shutdown is quite easy in such case.
Pavel