Linux SoftRAID: "resync=PENDING"
Posted: Sun Aug 18, 2013 1:45 am
[PROBLEM]
I re-created Linux software RAID partitions md1 & md2, using "mdadm --create ...".
Everything went as it should, but looking at "/proc/mdstat" returned a PENDING synchronization state:
[SOLUTION]
Convincing the Kernel software RAID to start the resync can be done with this command:
(Replace the N in "mdN" with your RAID device index)
I re-created Linux software RAID partitions md1 & md2, using "mdadm --create ...".
Everything went as it should, but looking at "/proc/mdstat" returned a PENDING synchronization state:
Code: Select all
$ cat /proc/mdstat
NOTE: One RAID1 wasn't touched: md0. Therefore there's no resync necessary.Personalities : [raid1]
md2 : active (auto-read-only) raid1 sdb4[1] sda4[0]
1828506496 blocks super 1.2 [2/2] [UU]
resync=PENDING
md1 : active (auto-read-only) raid1 sdb3[1] sda3[0]
104791936 blocks super 1.2 [2/2] [UU]
resync=PENDING
md0 : active raid1 sda2[0] sdb2[1]
19514240 blocks super 1.2 [2/2] [UU]
[SOLUTION]
Convincing the Kernel software RAID to start the resync can be done with this command:
Code: Select all
$ mdadm --readwrite /dev/mdN