- 论坛徽章:
- 0
|
6块盘组的RAID5,其中1块热备盘。在RAID上建VG,然后在上面装操作系统,RHEL6.5
现在其中1块盘SDD2坏了,新换上一块
[root@server1 ~]# mdadm -D /dev/md0
/dev/md0:
Version : 0.90
Creation Time : Sat Aug 28 00:03:28 2010
Raid Level : raid5
Array Size : 2047997952 (1953.12 GiB 2097.15 GB)
Used Dev Size : 511999488 (488.28 GiB 524.29 GB)
Raid Devices : 5
Total Devices : 6
Preferred Minor : 0
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Wed Oct 8 13:08:40 2014
State : active, degraded, recovering
Active Devices : 4
Working Devices : 6
Failed Devices : 0
Spare Devices : 2
Layout : left-symmetric
Chunk Size : 256K
Rebuild Status : 31% complete
UUID : d8ffba09:4dd603f4:9fd5bb0c:c7c903a4
Events : 0.275902
Number Major Minor RaidDevice State
0 8 2 0 active sync /dev/sda2
1 8 34 1 active sync /dev/sdc2
2 8 18 2 active sync /dev/sdb2
6 8 53 3 spare rebuilding /dev/sdd5
4 8 66 4 active sync /dev/sde2
5 8 85 - spare /dev/sdf5
系统也开始重建,但是重建快结束的时候,又有SDB有问题,失败了
系统现在是这个状态,
[root@server1 ~]# mdadm --misc -D /dev/md0
/dev/md0:
Version : 0.90
Creation Time : Sat Aug 28 00:03:28 2010
Raid Level : raid5
Array Size : 2047997952 (1953.12 GiB 2097.15 GB)
Used Dev Size : 511999488 (488.28 GiB 524.29 GB)
Raid Devices : 5
Total Devices : 6
Preferred Minor : 0
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Wed Oct 8 14:47:46 2014
State : active, FAILED
Active Devices : 3
Working Devices : 5
Failed Devices : 1
Spare Devices : 2
Layout : left-symmetric
Chunk Size : 256K
UUID : d8ffba09:4dd603f4:9fd5bb0c:c7c903a4
Events : 0.276828
Number Major Minor RaidDevice State
0 8 2 0 active sync /dev/sda2
1 8 34 1 active sync /dev/sdc2
2 0 0 2 removed
3 0 0 3 removed
4 8 66 4 active sync /dev/sde2
5 8 85 - spare /dev/sdf5
6 8 18 - faulty /dev/sdb2
7 8 53 - spare /dev/sdd5
现在操作系统能进去,就是RAID不正常。自己判断是SDB2后面扇区有问题,导致sync失败。怎么跳过那部分坏的扇区区? 丢一点数据可以接受,不要全部丢失就行。 |
|