summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/raid.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index c09ae10e1..b29a2f112 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,6 +1,7 @@
- mdadm raid:
o raid10 can be created with just 2 disks as a high-performance raid1
o raid6 can be used with 3 disks and up
+ o get_existing(): detect raid10
- finish-install: remove current media before adding online media (mga#19742)
- drakboot: include the "Mageia" entry in the gub2 Default choices (mga#23393)
- recognize smartpqi driver (mga#23305)
diff --git a/perl-install/raid.pm b/perl-install/raid.pm
index 9ae70b6d8..220a391d1 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -294,7 +294,7 @@ sub get_existing {
foreach my $md (active_mds()) {
my $raw_part = get_md_info(devices::make($md)) or next;
- $raw_part->{level} =~ s/raid//; #- { linear | raid0 | raid1 | raid5 | raid6 } -> { linear | 0 | 1 | 5 | 6 }
+ $raw_part->{level} =~ s/raid//; #- { linear | raid0 | raid1 | raid5 | raid6 | raid10 } -> { linear | 0 | 1 | 5 | 6 | 10 }
my @mdparts =
map {