md raid not rebulding — resync=pending

You have problems with automatic rebuilding raid 1 (md) on debian (resync=PENDING)?

mdX : active (auto-read-only) raid1 sdaY[0] sdbY[1]

      2000000 blocks [2/2] [UU]



mdadm --readwrite /dev/mdX

and the process of rebuilding starts

[===>...]  resync = 16.2% (324736/2000000) finish=0.6min speed=46390K/sec

9 thoughts on “md raid not rebulding — resync=pending

  1. Teodor

    Is there any possibility that I could loose some data? I’ve setup the complete server with all needed modules and I have a running website on this server. Is it safe to run resync?


  2. alo Post author

    1. Do backup of the entire website and you are safe. 🙂
    2. Resync disk

    Good luck.

  3. Jinn Ko

    This is the intended behavior on recent debian wheezy. It’s not necessary to start the sync manually with the –readwrite command as the resync will automatically start the moment you use the device.

    For example using pvcreate /dev/mdX or mkfs.ext4 /dev/mdX will cause the sync to start. Tested and confirmed this.

    Details and explanation in this thread:

Leave a Reply