diff --git a/plugins/other/raid b/plugins/other/raid index 814661ec..ab5522e7 100755 --- a/plugins/other/raid +++ b/plugins/other/raid @@ -38,7 +38,7 @@ if ( $ARGV[0] and $ARGV[0] eq "config" ) { # Should look like "active raid1 sda1[0] sdc1[2] sdb1[1]" # Interestingly, swap is presented as "active (auto-read-only)" - while ($text =~ /(md\d)\s+:\s+active\s+(\(auto-read-only\)\s+|)(\w+)\s+(.*)\n.*\[(\d+)\/(\d+)]\s+\[(\w+)]/ ) { + while ($text =~ /(md\d+)\s+:\s+active\s+(\(auto-read-only\)\s+|)(\w+)\s+(.*)\n.*\[(\d+)\/(\d+)]\s+\[(\w+)]/ ) { my($dev,$dummy,$type,$members,$nmem,$nact,$status) = ($1,$2,$3,$4,$5,$6,$7); # print "$text\nitem: $dev $type ($members) status=$status \n"; if ( $ARGV[0] and $ARGV[0] eq "config" ) {