Wed, 24 Dec 2008

linux software raid get's marked as 'auto-ready-only', and resync stays PENDING indefinitely...

(This happened after changing kernel from the one that saw raid members as /dev/sdb5 and /dev/sdc5, to one that saw it as /dev/sda5 and /dev/sdb5.)
Personalities : [raid1]
md1 : active(auto-read-only) raid1 sdb5[1] sda5[0]
      234372160 blocks [2/2] [UU]
     resync = PENDING
it will stay PENDING until the end of time, or until you do:
mdadm --readwrite /dev/md1
then it starts syncing:
cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sdb5[1] sda5[0]
      234372160 blocks [2/2] [UU]
      [===============>.....]  resync = 75.4% (176734976/234372160) finish=12.2min speed=78556K/sec


[/Tips] permanent link
February 2009
Sun Mon Tue Wed Thu Fri Sat