
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
ご覧のとおり、RAID は現在回復中ですが、回復プロセスの後または回復プロセス中のどこかで、RAID が失敗し続けます。
/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
その後、次のものを使用して RAID を再構成する必要があります。
sudo mdadm --assemble --force -v /dev/md0 /dev/sdb1 /dev/sdc2 /dev/sdd1 /dev/sde1 /dev/sdf /dev/sdg1
サーバー コンソールで、添付の画像 (リンク) に示すようにエラーが発生し、RAID が失敗するため、再構築する必要があります。
私はUbuntu 14.04とmdadm v3.2.5を使用しています。
ここで何が起こっているのか誰か教えてもらえますか?