Hi Everyone,
I swapped a hard drive out on a server and added it back in via console. When it finished, I noticed the process added the new hard drive into md1 correctly but didn't add it back into md2 as active (which is what I expected) but as a spare.
Can someone help me the new hard drive sdb2 into md2?
The results are below:
]# cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sdb1[1] sda1[0]
104320 blocks [2/2] [UU]
md2 : active raid1 sdb2[2](S) sda2[0]
488279552 blocks [2/1] [U_]
unused devices: <none>
# mdadm --detail /dev/md2
/dev/md2:
Version : 0.90
Creation Time : Sat Aug 26 08:32:50 2006
Raid Level : raid1
Array Size : 488279552 (465.66 GiB 500.00 GB)
Used Dev Size : 488279552 (465.66 GiB 500.00 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 2
Persistence : Superblock is persistent
Update Time : Tue Dec 25 07:50:50 2012
State : clean, degraded
Active Devices : 1
Working Devices : 2
Failed Devices : 0
Spare Devices : 1
UUID : ce917023:5da6a14f:2a9c304f:a380120a
Events : 0.144857428
Number Major Minor RaidDevice State
0 8 2 0 active sync /dev/sda2
1 0 0 1 removed
2 8 18 - spare /dev/sdb2
Thanks in advance & Merry Christmas,