我已经使用 mdadm 配置了一个具有 6x2TB 设备的 raid 5(我将其从 9 个设备缩减为 6 个):
/dev/md0:
Version : 1.2
Creation Time : Mon Sep 23 17:54:25 2013
Raid Level : raid5
Array Size : 9762030080 (9309.80 GiB 9996.32 GB)
Used Dev Size : 1952406016 (1861.96 GiB 1999.26 GB)
Raid Devices : 6
Total Devices : 6
Persistence : Superblock is persistent
Update Time : Tue Oct 6 09:48:34 2015
State : clean, degraded, recovering
Active Devices : 5
Working Devices : 6
Failed Devices : 0
Spare Devices : 1
Layout : left-symmetric
Chunk Size : 512K
Rebuild Status : 1% complete
Name : media:0
UUID : 8fe53fed:5206746d:3fcd5b2b:f176a8f9
Events : 208638
Number Major Minor RaidDevice State
0 8 34 0 active sync /dev/sdc2
1 8 17 1 active sync /dev/sdb1
2 8 65 2 active sync /dev/sde1
6 8 80 3 spare rebuilding /dev/sdf
4 8 49 4 active sync /dev/sdd1
7 8 97 5 active sync /dev/sdg1
如您所见,突袭目前正在恢复,但在恢复过程之后/期间的某个时候,我的突袭一直失败:
/dev/md0:
Version : 1.2
Creation Time : Mon Sep 23 17:54:25 2013
Raid Level : raid5
Array Size : 9762030080 (9309.80 GiB 9996.32 GB)
Used Dev Size : 1952406016 (1861.96 GiB 1999.26 GB)
Raid Devices : 6
Total Devices : 6
Persistence : Superblock is persistent
Update Time : Tue Oct 6 08:33:43 2015
State : clean, FAILED
Active Devices : 4
Working Devices : 5
Failed Devices : 1
Spare Devices : 1
Layout : left-symmetric
Chunk Size : 512K
Name : media:0
UUID : 8fe53fed:5206746d:3fcd5b2b:f176a8f9
Events : 208622
Number Major Minor RaidDevice State
0 8 34 0 active sync /dev/sdc2
1 8 17 1 active sync /dev/sdb1
2 8 65 2 active sync /dev/sde1
3 0 0 3 removed
4 0 0 4 removed
7 8 97 5 active sync /dev/sdg1
4 8 49 - faulty spare /dev/sdd1
6 8 80 - spare /dev/sdf
之后我必须重新组建突袭队:
sudo mdadm --assemble --force -v /dev/md0 /dev/sdb1 /dev/sdc2 /dev/sdd1 /dev/sde1 /dev/sdf /dev/sdg1
在服务器控制台中我收到错误,如您在所附图片(链接)中看到的那样,然后突袭失败,我必须重新组装它:
我正在使用 ubuntu 14.04 和 mdadm v3.2.5。
有人能告诉我这里发生了什么黑客事件吗?