On 10/07/17 20:48, Per Jessen wrote:
Raid 1? Make sure if you intend to run with broken disks that you have a
3-way mirror. I'd rather run raid-6 ...
Yeah. The bigger the disk, the bigger the risk.
The other thing about raid 1 or raid 6, is that linux raid-1 always assumes the first disk is correct in the case of any discrepancy. So if you have a write problem on that disk, your data is corrupt! Although with 4/5/6 it also assumes that the data is correct and if there's any error, that it's the parity at fault, there is a utility (raid6check) that you can run over a raid-6 to fix it provided only one disk is playing up. Raid-6 provides you with two bits of redundant data, so assuming any ONE random block gets corrupted, raid-6 can work out which block is corrupt, and what the correct value is. Raid-5 can only recover if a disk is failed, because it only has one bit of redundant data, so it needs you to tell it which block is corrupt before it can work out what the correct value is. Cheers, Wol -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org