[PATCH 3/5] Switch to a minimum of four members for raid10. (#888879)

Jan Safranek jsafrane at redhat.com
Mon Jun 24 10:38:31 UTC 2013


On 06/12/2013 07:37 PM, David Lehman wrote:
> ---
>  blivet/devicelibs/mdraid.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/blivet/devicelibs/mdraid.py b/blivet/devicelibs/mdraid.py
> index 98d997f..9c827e1 100644
> --- a/blivet/devicelibs/mdraid.py
> +++ b/blivet/devicelibs/mdraid.py
> @@ -74,7 +74,7 @@ def isRaid(raid, raidlevel):
>  
>  def get_raid_min_members(raidlevel):
>      """Return the minimum number of raid members required for raid level"""
> -    raid_min_members = {RAID10: 2,
> +    raid_min_members = {RAID10: 4,
>                          RAID6: 4,
>                          RAID5: 3,
>                          RAID4: 3,
> 

Is there any specific reason for this change? RAID10 can work with 3
devices without any problems.


Jan


More information about the anaconda-patches mailing list