How to fix mdadm / mdraid resync=PENDING or auto-read-only?


This happend to me when I created a new md device and checked for the status in /proc/mdstat.
The problem is obviously just that the resync isn´t set in motion for some reason,
I played around with it, and maybe it even starts by itself, but if you are in a hurry,
you can tell mdadm to resync it right now by:

mdadm --readwrite /dev/mdN

 
Replace N with the md number and check /proc/mdstat, should do the trick. 

Last update:
02-07-2012 21:31
Author:
Daniel Urstöger
Revision:
1.0
Average rating: 3.5 (6 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Records in this category

Tags