In one of our servers one of the disk failed, no worries it happens all the time, we replaced the bad disk following the usual procedure but then ... 'the horror', after adding a new disk one of the partition failed to sync because the 'good' disk now active contains some bad blocks, in the details it says 'rebuilding':
Number Major Minor RaidDevice State
0 8 3 0 active sync /dev/sda3
2 8 19 1 spare rebuilding /dev/sdb3
But the cat to /proc/mdstat show that it already finished, but wasn't added.
md2 : active raid1 sdb3[2] sda3[0]
1458830400 blocks [2/1] [U_]
I found this:
RAID 1 disk is marked as Spare after replacement
Is this the only/recommended way of proceeding now?, It is not possible to force the rebuild ignoring bad block to then replace the old disk?. Should I try with e2fsck ?
P.S. Off course everything is backed up, but set up all the services in the server might be painful.
Thank you very much in advance.