2 ms·
If 8 drives is safe with dual parity, then significantly more than 8 drives would be safe with triple parity, right?
by Dylan16807 5y ago
If 8 drives is safe with dual parity, then significantly more than 8 drives would be safe with triple parity, right?
- Dylan16807 5y agoI did some calculations, with an estimated 3% annual failure rate per drive. The numbers shift a bit depending on how much you expect drive failures to correlate and how long you take to replace them. So I analyzed two example cases, using pretty good math based on a binomial distribution. The first case is a pessimistic one, where after a drive fails we assume that any other possible failures from the next year will hit before we finish rebuilding. In this case, 8 drives with double parity have a 1/740 chance of array failure each year. If we switch to triple parity, we can have 16 drives and a slight improvement in safety. The second case is a more optimistic one, where after a drive fails we assume that any other possible failures from the next week will hit before we finish rebuilding. In this case, 8 drives with double parity have a 1 / 93 million chance of array failure each week. If we switch to triple parity, we can have 40 drives and a slight improvement in safety. I would have done "what if all the drive failures happened at once" but that gives >10% odds of an 8 drive array failing, which seems unreasonably harsh.