Quote:
Originally Posted by acid_kewpie
i think you can explicitly mount a single device, but you don't need to break the array as such... you can just start the array in a degraded state anyway with the --missing option to mdadm:
# mdadm --create /dev/md0 --level 1 --raid-devices=2 missing /dev/hde1
|
Thanks. Progress has been made, but I must have done something wrong as I have now got this...
>cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 hdg1[1] hde1[2]
156288256 blocks [2/1] [_U]
>mdadm --detail /dev/md0
/dev/md0:
Version : 00.90.01
Creation Time : Sat Sep 9 15:13:06 2006
Raid Level : raid1
Array Size : 156288256 (149.05 GiB 160.04 GB)
Device Size : 156288256 (149.05 GiB 160.04 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Sun Oct 21 19:33:15 2007
State : clean, degraded
Active Devices : 1
Working Devices : 2
Failed Devices : 0
Spare Devices : 1
UUID : 2a8effcf:f73a3d5f:e3f917e6:7f631a25
Events : 0.3370076
Number Major Minor RaidDevice State
0 0 0 - removed
1 34 1 1 active sync /dev/hdg1
2 33 1 0 spare rebuilding /dev/hde1
How do I go about getting hde1 back to being device 0?
CD