On 2016-08-15 03:50, Qu Wenruo wrote:
Hi,
Recently I found that manpage of mkfs is saying minimal device number
for RAID5 and RAID6 is 2 and 3.
Personally speaking, although I understand that RAID5/6 only requires
1/2 devices for parity stripe, it is still quite strange behavior.
Under most case, user use raid5/6 for striping AND parity. For 2 devices
RAID5, it's just a more expensive RAID1.
IMHO it's better to warn user about 2 devices RAID5 or 3 devices RAID6.
Any comment is welcomed.
Based on looking at the code, we do in fact support 2/3 devices for
raid5/6 respectively.
Personally, I agree that we should warn when trying to do this, but I
absolutely don't think we should stop it from happening.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html