|
今天在一台老机器上用三块80G的硬盘做raid5装了个centos6,用的是主板的ich7r的raid5,完装一切顺利,分区的时候只看到一个md127,半完之后关机,拔掉第三块(sdc)另外拿了一块80G人换上去,开机后CTRL+I看到raid处于降级状态,第三块硬盘Offline,能进系统,现在不知道如何rebuild,请各位老大指点一下。
[root@mail etc]# mdadm --detail /dev/md*
mdadm: /dev/md does not appear to be an md device
/dev/md0:
Version : imsm
Raid Level : container
Total Devices : 2
Working Devices : 2
UUID : c8b54a01:6fb1bab6:3512d536:9c9b9885
Member Arrays : /dev/md/CentOS
Number Major Minor RaidDevice
0 8 0 - /dev/sda
1 8 16 - /dev/sdb
/dev/md126:
Version : imsm
Raid Level : container
Total Devices : 1
Working Devices : 1
UUID : ff76a61c:97cb72ea:801aed3b:0c023364
Member Arrays :
Number Major Minor RaidDevice
0 8 32 - /dev/sdc
/dev/md127:
Container : /dev/md0, member 0
Raid Level : raid5
Array Size : 156296192 (149.06 GiB 160.05 GB)
Used Dev Size : 78148224 (74.53 GiB 80.02 GB)
Raid Devices : 3
Total Devices : 2
State : clean, degraded
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Layout : left-asymmetric
Chunk Size : 64K
UUID : d5902697:5e8a22fe:cd452a2f:05660e2d
Number Major Minor RaidDevice State
1 8 0 0 active sync /dev/sda
1 0 0 1 removed
0 8 16 2 active sync /dev/sdb
/dev/md127p1:
Container : /dev/md0, member 0
Raid Level : raid5
Array Size : 204800 (200.03 MiB 209.72 MB)
Used Dev Size : 78148224 (74.53 GiB 80.02 GB)
Raid Devices : 3
Total Devices : 2
State : active, degraded
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Layout : left-asymmetric
Chunk Size : 64K
UUID : d5902697:5e8a22fe:cd452a2f:05660e2d
Number Major Minor RaidDevice State
1 8 0 0 active sync /dev/sda
1 0 0 1 removed
0 8 16 2 active sync /dev/sdb
/dev/md127p2:
Container : /dev/md0, member 0
Raid Level : raid5
Array Size : 156090368 (148.86 GiB 159.84 GB)
Used Dev Size : 78148224 (74.53 GiB 80.02 GB)
Raid Devices : 3
Total Devices : 2
State : active, degraded
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Layout : left-asymmetric
Chunk Size : 64K
UUID : d5902697:5e8a22fe:cd452a2f:05660e2d
Number Major Minor RaidDevice State
1 8 0 0 active sync /dev/sda
1 0 0 1 removed
0 8 16 2 active sync /dev/sdb
[root@mail etc]#
|
|