diff options
Diffstat (limited to 'perl-install/raid.pm')
-rw-r--r-- | perl-install/raid.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm index 79476e956..5252511a0 100644 --- a/perl-install/raid.pm +++ b/perl-install/raid.pm @@ -165,10 +165,10 @@ sub inactivate_and_dirty { } sub active_mds() { - map { if_(/^(md\d+)\s*:\s*active/, $1) } cat_("/proc/mdstat"); + map { if_(/^(md\S+)\s*:\s*active/, $1) } cat_("/proc/mdstat"); } sub inactive_mds() { - map { if_(/^(md\d+)\s*:\s*inactive/, $1) } cat_("/proc/mdstat"); + map { if_(/^(md\S+)\s*:\s*inactive/, $1) } cat_("/proc/mdstat"); } sub free_mds { |