diff options
author | Thomas Backlund <tmb@mageia.org> | 2018-08-22 14:31:54 +0300 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2018-08-22 14:31:54 +0300 |
commit | aef4a318ae22905c13eb202108a4ecf89f358990 (patch) | |
tree | 47d03a5bb0c11fc5d19047912ecbf90129bb5075 /perl-install/raid.pm | |
parent | 10f9c8649d3d4d698b93a3a025d6d168d61b3b12 (diff) | |
download | drakx-aef4a318ae22905c13eb202108a4ecf89f358990.tar drakx-aef4a318ae22905c13eb202108a4ecf89f358990.tar.gz drakx-aef4a318ae22905c13eb202108a4ecf89f358990.tar.bz2 drakx-aef4a318ae22905c13eb202108a4ecf89f358990.tar.xz drakx-aef4a318ae22905c13eb202108a4ecf89f358990.zip |
raid: get_existing(): detect raid10
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 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 { |