diff options
author | Thomas Backlund <tmb@mageia.org> | 2018-08-22 14:23:29 +0300 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2018-08-22 14:23:29 +0300 |
commit | 9b9c804b01049c327b995661c80896b17863bc65 (patch) | |
tree | 5446e4e8f102ee6dc860effcb12ff2b675a87f5c /perl-install/raid.pm | |
parent | 1bd5906918f44cd0fa4021c9cd34d0d6160203dd (diff) | |
download | drakx-9b9c804b01049c327b995661c80896b17863bc65.tar drakx-9b9c804b01049c327b995661c80896b17863bc65.tar.gz drakx-9b9c804b01049c327b995661c80896b17863bc65.tar.bz2 drakx-9b9c804b01049c327b995661c80896b17863bc65.tar.xz drakx-9b9c804b01049c327b995661c80896b17863bc65.zip |
raid6 can be used with 3 disks and up
Diffstat (limited to 'perl-install/raid.pm')
-rw-r--r-- | perl-install/raid.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm index ee7cbbc4d..898b276ac 100644 --- a/perl-install/raid.pm +++ b/perl-install/raid.pm @@ -196,7 +196,7 @@ sub format_part { sub verify { my ($raids) = @_; foreach (@$raids) { - my $nb = $_->{level} =~ /6|10/ ? 4 : $_->{level} =~ /4|5/ ? 3 : 2; + my $nb = $_->{level} =~ /10/ ? 4 : $_->{level} =~ /4|5|6/ ? 3 : 2; @{$_->{disks}} >= $nb or die N("Not enough partitions for RAID level %d\n", $_->{level}); } } |