On 24/05/15 12:57, Brad Campbell wrote: > On 24/05/15 19:12, Wols Lists wrote: > >> Don't bother raid'ing swap at all! If you set the priority equal on all >> the swaps, linux will do a raid 0 for you and, frankly, what's the point >> of doing raid on your swap partition? You really shouldn't (in normal >> usage) be using swap at all. > > When you develop a bad block in one of your non-RAID swap partitions and > you spend a week trying to figure out why processes randomly die for no > apparent reason you'll reconsider that attitude. > aiui raid won't help you at all here, will it? Firstly, if you get write failures, the hard drive should swap the block, or the write layer should swap it. Nothing to do with raid whatsoever. And if you get read errors, well, aiui, raid won't help here either - especially with mirrored raid, you just get a read failure. Raid does NOT give you error recovery unless the drive physically fails, and if it's a bad block it gets fixed at the disk or disk driver level - well below the raid driver. Cheers, Wol -- 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