On Monday April 17, molle.bestefich@xxxxxxxxx wrote: > Neil Brown wrote: > > You shouldn't need to upgrade kernel > > Ok. > I had a crazy idea that 2 devices down in a RAID5 was an MD bug. > > I didn't expect MD to kick that last disk - I would have thought that > it would just pass on the read error in that situation. If you've got > the time to explain I'd like to be wiser - why not? The easiest thing to do when you get an error on a drive is to kick the drive from the array, so that is what the code always did, and still does in many cases. It is arguable that for a read error on a degraded raid5, that may not be the best thing to do, but I'm not completely convinced. A read error will mean that a write to the same stripe will have to fail, so at the very least we would want to switch the array read-only. So as you see, finding the 'correct' way to handle a read on a degraded raid5 is no straight forward. For now it just kill the array, and mdadm can put it back together for you if you really think it should (as you do on this case). NeilBrown - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html