Bug#611627: mdadm: checkarray doesn't handle all arrays if no scheduling class given

Mario 'BitKoenig' Holbe Mario.Holbe at TU-Ilmenau.DE
Mon Jan 31 12:41:39 UTC 2011


Package: mdadm
Version: 3.1.4-1+8efb9d1

Hello,

checkarray terminates after issuing check to first RAID if no scheduling
class is given:

# grep ^md /proc/mdstat | tail -3
md2 : active raid1 sdg4[2] sda4[0] sdb4[1]
md1 : active raid1 sdg3[2] sda3[0] sdb3[1]
md0 : active raid1 sdg2[2] sda2[0] sdb2[1]
# /usr/share/mdadm/checkarray -a
checkarray: I: check queued for array md0.
# 

This is due to the break in checkarray:188:
   183	      case "$ionice" in
   184	        idle) arg='-c3';;
   185	        low) arg='-c2 -n7';;
   186	        high) arg='-c2 -n0';;
   187	        realtime) arg='-c1 -n4';;
   188	        *) break;;
   189	      esac


regards
   Mario
-- 
Die Natur ist das einzige Buch, das auf allen Blaettern grossen Gehalt
bietet.
                                    -- Johann Wolfgang von Goethe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20110131/93405800/attachment.pgp>


More information about the pkg-mdadm-devel mailing list