I am running Fedora 15 and lost a disk drive (dev/sde1) on my 4 device RAID 5.
I replaced the failed drive with a new one and re-added that drive in.
Code:
# # mdadm --manage /dev/md127 -a /dev/sde1
mdadm: added /dev/sde1
Now the current status is:
Code:
# mdadm --detail /dev/md127
/dev/md127:
Version : 0.90
Creation Time : Tue Sep 30 13:58:53 2008
Raid Level : raid5
Used Dev Size : 976759936 (931.51 GiB 1000.20 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 127
Persistence : Superblock is persistent
Update Time : Sun Apr 5 19:10:48 2015
State : active, degraded, Not Started
Active Devices : 3
Working Devices : 4
Failed Devices : 0
Spare Devices : 1
Layout : left-symmetric
Chunk Size : 64K
UUID : 653d0b4b:86db92d1:2be201d9:114acb0f
Events : 0.4860502
Number Major Minor RaidDevice State
0 8 33 0 active sync /dev/sdc1
1 8 17 1 active sync /dev/sdb1
2 0 0 2 removed
3 8 49 3 active sync /dev/sdd1
4 8 65 - spare /dev/sde1
How do I remove the Number 2 removed and get /dev/sde1 to be re-added into the /dev/md127 RAID 5 and have it start rebuilding?