FUN WITH LINUX

mdadm: resync=pending

8 April 2015

Today I discoverd a problem with my Software-Raid. The Raid-Array stopped rebuilding with resync=PENDING.

cat /proc/mdadm:
    md0 : active (auto-read-only) raid1 sda1[0] sdb1[1]
          8387572 blocks super 1.2 [2/2] [UU]
            resync=PENDING

I have no idea how this raid became like this, but i solved it with the following command:

mdadm --readwrite /dev/md0

After that it started rebuilding:

md0 : active raid1 sda1[0] sdb1[1]
      8387572 blocks super 1.2 [2/2] [UU]
      [===================>.] resync = 98.3% (8245632/8387572) finish=0.0min speed=76454K/sec
[ Linux  Sysadmin  Software-Raid  ]
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 Unported License.

Copyright 2015-present Hoti