Всем доброго времени суток. В один прекрасный день, после перезагрузки развалился RAID6 состоящий из 8 дисков. Немного информации: Система, CentOS 6:
Linux Storagehost.local 2.6.32-504.12.2.el6.x86_64 #1 SMP Wed Mar 11 22:03:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Всякое бывало, вылетали диски, тут все просто, заменил, добавил в массив, синхронизировались и все хорошо. А сейчас приходится взывать к помощи всемогущего all'a :). Один диск поменял свой статус на Spare, когда их в жизни в массиве не было.
Сейчас массив находится в таком состоянии :(
[root@Storagehost md10]# mdadm --detail /dev/md10
/dev/md10:
Version : 1.2
Creation Time : Fri Apr 11 06:26:46 2014
Raid Level : raid6
Used Dev Size : 976627712 (931.38 GiB 1000.07 GB)
Raid Devices : 8
Total Devices : 6
Persistence : Superblock is persistent
Update Time : Thu Mar 19 14:13:18 2015
State : active, FAILED, Not Started
Active Devices : 5
Working Devices : 6
Failed Devices : 0
Spare Devices : 1
Layout : left-symmetric
Chunk Size : 512K
Name : Storage.local:10
UUID : 93d9ca57:2cb945ba:3e1b4952:b172404c
Events : 24106
Number Major Minor RaidDevice State
0 8 145 0 active sync /dev/sdj1
2 0 0 2 removed
2 8 129 2 active sync /dev/sdi1
3 8 81 3 active sync /dev/sdf1
8 0 0 8 removed
10 0 0 10 removed
10 8 113 6 active sync /dev/sdh1
11 8 49 7 active sync /dev/sdd1
12 8 161 - spare /dev/sdk1
dmesg | grep md
md: bind<sda1>
md: bind<sdf1>
md: bind<sdj1>
md: bind<sdk1>
md: bind<sdh1>
md: bind<sdi1>
md: bind<sdd1>
md: bind<sde1>
md: kicking non-fresh sde1 from array!
md: unbind<sde1>
md: export_rdev(sde1)
md: kicking non-fresh sda1 from array!
md: unbind<sda1>
md: export_rdev(sda1)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
md/raid:md10: device sdd1 operational as raid disk 7
md/raid:md10: device sdi1 operational as raid disk 2
md/raid:md10: device sdh1 operational as raid disk 6
md/raid:md10: device sdj1 operational as raid disk 0
md/raid:md10: device sdf1 operational as raid disk 3
md/raid:md10: allocated 0kB
md/raid:md10: not enough operational devices (3/8 failed)
md/raid:md10: failed to run raid set.
md: pers->run() failed ...
[root@Storagehost md10]# mdadm --examine /dev/sd[adefhijk]1
/dev/sda1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 93d9ca57:2cb945ba:3e1b4952:b172404c
Name : Storage.local:10
Creation Time : Fri Apr 11 06:26:46 2014
Raid Level : raid6
Raid Devices : 8
Avail Dev Size : 1953255873 (931.39 GiB 1000.07 GB)
Array Size : 5859766272 (5588.31 GiB 6000.40 GB)
Used Dev Size : 1953255424 (931.38 GiB 1000.07 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262056 sectors, after=449 sectors
State : clean
Device UUID : c6700abf:501a743a:940c60a1:03fd59e3
Update Time : Thu Mar 19 13:36:03 2015
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : 55e1540d - correct
Events : 24099
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 4
Array State : A.AAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdd1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 93d9ca57:2cb945ba:3e1b4952:b172404c
Name : Storage.local:10
Creation Time : Fri Apr 11 06:26:46 2014
Raid Level : raid6
Raid Devices : 8
Avail Dev Size : 1953257858 (931.39 GiB 1000.07 GB)
Array Size : 5859766272 (5588.31 GiB 6000.40 GB)
Used Dev Size : 1953255424 (931.38 GiB 1000.07 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262056 sectors, after=2434 sectors
State : clean
Device UUID : 93f249ec:bc9cd1bc:86e6c2bb:55a774a4
Update Time : Thu Mar 19 14:13:18 2015
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : e0f5ed0c - correct
Events : 24106
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 7
Array State : A.AA..AA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sde1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 93d9ca57:2cb945ba:3e1b4952:b172404c
Name : Storage.local:10
Creation Time : Fri Apr 11 06:26:46 2014
Raid Level : raid6
Raid Devices : 8
Avail Dev Size : 1953255873 (931.39 GiB 1000.07 GB)
Array Size : 5859766272 (5588.31 GiB 6000.40 GB)
Used Dev Size : 1953255424 (931.38 GiB 1000.07 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262056 sectors, after=449 sectors
State : clean
Device UUID : cc0d3052:6de584a7:a885a623:22291c8e
Update Time : Thu Mar 19 13:36:03 2015
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : 83206163 - correct
Events : 24099
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 5
Array State : A.AAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdf1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 93d9ca57:2cb945ba:3e1b4952:b172404c
Name : Storage.local:10
Creation Time : Fri Apr 11 06:26:46 2014
Raid Level : raid6
Raid Devices : 8
Avail Dev Size : 1953257858 (931.39 GiB 1000.07 GB)
Array Size : 5859766272 (5588.31 GiB 6000.40 GB)
Used Dev Size : 1953255424 (931.38 GiB 1000.07 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=2434 sectors
State : clean
Device UUID : 19b3e1d9:38463b67:e4e215e9:cd2b3585
Update Time : Thu Mar 19 14:13:18 2015
Checksum : 8702d7ac - correct
Events : 24106
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 3
Array State : A.AA..AA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdh1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 93d9ca57:2cb945ba:3e1b4952:b172404c
Name : Storage.local:10
Creation Time : Fri Apr 11 06:26:46 2014
Raid Level : raid6
Raid Devices : 8
Avail Dev Size : 1953260976 (931.39 GiB 1000.07 GB)
Array Size : 5859766272 (5588.31 GiB 6000.40 GB)
Used Dev Size : 1953255424 (931.38 GiB 1000.07 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262056 sectors, after=5552 sectors
State : clean
Device UUID : 9274d921:eb212653:9f23705c:6f17497f
Update Time : Thu Mar 19 14:13:18 2015
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : 285bad99 - correct
Events : 24106
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 6
Array State : A.AA..AA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdi1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 93d9ca57:2cb945ba:3e1b4952:b172404c
Name : Storage.local:10
Creation Time : Fri Apr 11 06:26:46 2014
Raid Level : raid6
Raid Devices : 8
Avail Dev Size : 1953257858 (931.39 GiB 1000.07 GB)
Array Size : 5859766272 (5588.31 GiB 6000.40 GB)
Used Dev Size : 1953255424 (931.38 GiB 1000.07 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=2434 sectors
State : clean
Device UUID : bddd738c:ea17e4ee:094daead:14697d1e
Update Time : Thu Mar 19 14:13:18 2015
Checksum : 1f1e7b55 - correct
Events : 24106
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 2
Array State : A.AA..AA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdj1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 93d9ca57:2cb945ba:3e1b4952:b172404c
Name : Storage.local:10
Creation Time : Fri Apr 11 06:26:46 2014
Raid Level : raid6
Raid Devices : 8
Avail Dev Size : 1953257858 (931.39 GiB 1000.07 GB)
Array Size : 5859766272 (5588.31 GiB 6000.40 GB)
Used Dev Size : 1953255424 (931.38 GiB 1000.07 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=2434 sectors
State : clean
Device UUID : 84105066:c990bd3f:b9c93f84:833990dc
Update Time : Thu Mar 19 14:13:18 2015
Checksum : de787417 - correct
Events : 24106
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 0
Array State : A.AA..AA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdk1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 93d9ca57:2cb945ba:3e1b4952:b172404c
Name : Storage.local:10
Creation Time : Fri Apr 11 06:26:46 2014
Raid Level : raid6
Raid Devices : 8
Avail Dev Size : 1953257858 (931.39 GiB 1000.07 GB)
Array Size : 5859766272 (5588.31 GiB 6000.40 GB)
Used Dev Size : 1953255424 (931.38 GiB 1000.07 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262056 sectors, after=2434 sectors
State : clean
Device UUID : 5f05b066:924bfe3b:fa48ce7a:d1326a72
Update Time : Thu Mar 19 14:13:18 2015
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : 67899c9e - correct
Events : 24106
Layout : left-symmetric
Chunk Size : 512K
Device Role : spare
Array State : A.AA..AA ('A' == active, '.' == missing, 'R' == replacing)
В сети с такими проблемами редко кто сталкивается. Видел один только случай, когда в raid6 8 из 10 пометились как non fresh
mdadm --assemble --force /dev/md10 /dev/sd[adefhijk]1
не помогает, все остается без изменений.
Диски слить некуда, чтобы играться с ними. Поэтому все (впрочем как обычно) делается на живую. :(
Итак, народ толкните в нужном направлении, что можно сделать то? не верю, что не возможно поднять его.