software raid - add device wrongly marked faulty back into array?
Anyone know how to add a device back to a raid array that has been marked faulty wrongly. I had one faulty disk in a 5 disk raid 5 array. I removed the wrong disk (!!) leaving me with just three active.
The array is meant to be
/dev/hdg7, /dev/hd[abcd]1
hdd1 failed, but I removed hdc1 (silly), leaving me with 3 disks, which of course is one too few, and the array won't start.
adding the hdc1 and hdd1 back again resulted in the config below.
How do I put hdc1 back as an active component of the array, without loosing the data?
/dev/hdc1:
Magic : a92b4efc
Version : 00.90.00
UUID : 80133016:4a916c25:9c8dbc88:a999a75b
Creation Time : Sat May 31 14:49:30 2003
Raid Level : raid5
Device Size : 78148096 (74.53 GiB 80.02 GB)
Raid Devices : 5
Total Devices : 6
Preferred Minor : 0
Update Time : Wed Jun 25 08:44:13 2003
State : clean, no-errors
Active Devices : 3
Working Devices : 4
Failed Devices : 2
Spare Devices : 2
Checksum : 3c72c90d - correct
Events : 0.35
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 5 22 1 5 /dev/ide/host0/bus1/target0/lun0/part1
0 0 34 7 0 active sync /dev/ide/host2/bus1/target0/lun0/part7
1 1 3 1 1 active sync /dev/ide/host0/bus0/target0/lun0/part1
2 2 3 65 2 active sync /dev/ide/host0/bus0/target1/lun0/part1
3 3 0 0 3 faulty removed
4 4 0 0 4 faulty removed
5 5 22 1 5 /dev/ide/host0/bus1/target0/lun0/part1
6 6 22 65 6 /dev/ide/host0/bus1/target1/lun0/part1
|