Nosso servidor que executa um RAID10 de 14 unidades através de um controlador rocketraid 2470 recusou-se a montar. Nosso objetivo não é necessariamente recuperar um RAID em funcionamento, mas obter o máximo de dados possível.
Talvez como consequência da falha de montagem, ao encerrar o servidor, ele ficava preso nos loops de inicialização. Então, eu estou atualmente executando o Ubuntu 16.04.1 de um USB. Eu determinei que 2 dos 14 discos são defeituosos e determinei quais são. Usando este guia , determinei quais e tentei remontar sem eles. No entanto, continuo com um erro:
ubuntu@ubuntu:~$ sudo mdadm --assemble --force /dev/md0 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1 /dev/sdg1 /dev/sdh1 /dev/sdi1 /dev/sdj1 /dev/sdk1 /dev/sdl1 /dev/sdm1 /dev/sdo1
mdadm: /dev/md0 assembled from 11 drives - not enough to start the array.
Aqui está a saída da chamada mdadm --examine.
ubuntu@ubuntu:~$ sudo mdadm --examine /dev/sd[c-p]1
/dev/sdc1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : c717d5d6:22f7f368:99311b55:043f6430
Name : BlackServer2016:blackserver2016
Creation Time : Wed Jan 20 18:34:29 2016
Raid Level : raid10
Raid Devices : 14
Avail Dev Size : 7813772943 (3725.90 GiB 4000.65 GB)
Array Size : 27348203008 (26081.28 GiB 28004.56 GB)
Used Dev Size : 7813772288 (3725.90 GiB 4000.65 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=655 sectors
State : clean
Device UUID : e5dd395e:8353245a:209afdb8:3a00f7c9
Update Time : Mon Jan 9 16:46:30 2017
Checksum : 4712beb9 - correct
Events : 21988
Layout : near=2
Chunk Size : 512K
Device Role : Active device 0
Array State : AAAAAAAAAAA.A. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdd1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : c717d5d6:22f7f368:99311b55:043f6430
Name : BlackServer2016:blackserver2016
Creation Time : Wed Jan 20 18:34:29 2016
Raid Level : raid10
Raid Devices : 14
Avail Dev Size : 7813772943 (3725.90 GiB 4000.65 GB)
Array Size : 27348203008 (26081.28 GiB 28004.56 GB)
Used Dev Size : 7813772288 (3725.90 GiB 4000.65 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=655 sectors
State : clean
Device UUID : 053fdf5c:e0a69b6b:75e0678f:a0a434eb
Update Time : Mon Jan 9 16:46:30 2017
Checksum : 4ed75df2 - correct
Events : 21988
Layout : near=2
Chunk Size : 512K
Device Role : Active device 1
Array State : AAAAAAAAAAA.A. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sde1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : c717d5d6:22f7f368:99311b55:043f6430
Name : BlackServer2016:blackserver2016
Creation Time : Wed Jan 20 18:34:29 2016
Raid Level : raid10
Raid Devices : 14
Avail Dev Size : 7813772943 (3725.90 GiB 4000.65 GB)
Array Size : 27348203008 (26081.28 GiB 28004.56 GB)
Used Dev Size : 7813772288 (3725.90 GiB 4000.65 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=655 sectors
State : clean
Device UUID : 3f1cb73c:6ccb8536:01d7e32a:817a5171
Update Time : Mon Jan 9 16:46:30 2017
Checksum : 1b322c25 - correct
Events : 21988
Layout : near=2
Chunk Size : 512K
Device Role : Active device 2
Array State : AAAAAAAAAAA.A. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdf1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : c717d5d6:22f7f368:99311b55:043f6430
Name : BlackServer2016:blackserver2016
Creation Time : Wed Jan 20 18:34:29 2016
Raid Level : raid10
Raid Devices : 14
Avail Dev Size : 7813772943 (3725.90 GiB 4000.65 GB)
Array Size : 27348203008 (26081.28 GiB 28004.56 GB)
Used Dev Size : 7813772288 (3725.90 GiB 4000.65 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=655 sectors
State : clean
Device UUID : 4845a32d:8e86cd6a:261972d7:c3fdbe22
Update Time : Mon Jan 9 16:46:30 2017
Checksum : 9e61d5b8 - correct
Events : 21988
Layout : near=2
Chunk Size : 512K
Device Role : Active device 3
Array State : AAAAAAAAAAA.A. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdg1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : c717d5d6:22f7f368:99311b55:043f6430
Name : BlackServer2016:blackserver2016
Creation Time : Wed Jan 20 18:34:29 2016
Raid Level : raid10
Raid Devices : 14
Avail Dev Size : 7813772943 (3725.90 GiB 4000.65 GB)
Array Size : 27348203008 (26081.28 GiB 28004.56 GB)
Used Dev Size : 7813772288 (3725.90 GiB 4000.65 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=655 sectors
State : clean
Device UUID : 47cbefd8:18fa9888:904fe83a:f8ab2be0
Update Time : Mon Jan 9 16:46:30 2017
Checksum : 885cb3e2 - correct
Events : 21988
Layout : near=2
Chunk Size : 512K
Device Role : Active device 4
Array State : AAAAAAAAAAA.A. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdh1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : c717d5d6:22f7f368:99311b55:043f6430
Name : BlackServer2016:blackserver2016
Creation Time : Wed Jan 20 18:34:29 2016
Raid Level : raid10
Raid Devices : 14
Avail Dev Size : 7813772943 (3725.90 GiB 4000.65 GB)
Array Size : 27348203008 (26081.28 GiB 28004.56 GB)
Used Dev Size : 7813772288 (3725.90 GiB 4000.65 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=655 sectors
State : clean
Device UUID : 2d78cdf4:470b0551:7a86bdc1:1e667721
Update Time : Mon Jan 9 16:46:30 2017
Checksum : 34c76308 - correct
Events : 21988
Layout : near=2
Chunk Size : 512K
Device Role : Active device 5
Array State : AAAAAAAAAAA.A. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdi1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : c717d5d6:22f7f368:99311b55:043f6430
Name : BlackServer2016:blackserver2016
Creation Time : Wed Jan 20 18:34:29 2016
Raid Level : raid10
Raid Devices : 14
Avail Dev Size : 7813772943 (3725.90 GiB 4000.65 GB)
Array Size : 27348203008 (26081.28 GiB 28004.56 GB)
Used Dev Size : 7813772288 (3725.90 GiB 4000.65 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=655 sectors
State : clean
Device UUID : dec2f502:e391676f:f11f596a:d3e55712
Update Time : Mon Jan 9 16:46:30 2017
Checksum : face4d80 - correct
Events : 21988
Layout : near=2
Chunk Size : 512K
Device Role : Active device 6
Array State : AAAAAAAAAAA.A. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdj1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : c717d5d6:22f7f368:99311b55:043f6430
Name : BlackServer2016:blackserver2016
Creation Time : Wed Jan 20 18:34:29 2016
Raid Level : raid10
Raid Devices : 14
Avail Dev Size : 7813772943 (3725.90 GiB 4000.65 GB)
Array Size : 27348203008 (26081.28 GiB 28004.56 GB)
Used Dev Size : 7813772288 (3725.90 GiB 4000.65 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=655 sectors
State : clean
Device UUID : 628eb266:c5798a16:2d8d7f50:24e3103f
Update Time : Mon Jan 9 16:46:30 2017
Checksum : 188d6b75 - correct
Events : 21988
Layout : near=2
Chunk Size : 512K
Device Role : Active device 7
Array State : AAAAAAAAAAA.A. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdk1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : c717d5d6:22f7f368:99311b55:043f6430
Name : BlackServer2016:blackserver2016
Creation Time : Wed Jan 20 18:34:29 2016
Raid Level : raid10
Raid Devices : 14
Avail Dev Size : 7813772943 (3725.90 GiB 4000.65 GB)
Array Size : 27348203008 (26081.28 GiB 28004.56 GB)
Used Dev Size : 7813772288 (3725.90 GiB 4000.65 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=655 sectors
State : clean
Device UUID : 51dec878:dc743eb6:5a77f8e6:79fc70c4
Update Time : Mon Jan 9 16:46:30 2017
Checksum : e630b9ff - correct
Events : 21988
Layout : near=2
Chunk Size : 512K
Device Role : Active device 8
Array State : AAAAAAAAAAA.A. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdl1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : c717d5d6:22f7f368:99311b55:043f6430
Name : BlackServer2016:blackserver2016
Creation Time : Wed Jan 20 18:34:29 2016
Raid Level : raid10
Raid Devices : 14
Avail Dev Size : 7813772943 (3725.90 GiB 4000.65 GB)
Array Size : 27348203008 (26081.28 GiB 28004.56 GB)
Used Dev Size : 7813772288 (3725.90 GiB 4000.65 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=655 sectors
State : clean
Device UUID : b2239240:3d7af4b3:e1aa8313:720b3ee2
Update Time : Mon Jan 9 16:46:30 2017
Checksum : f6084741 - correct
Events : 21988
Layout : near=2
Chunk Size : 512K
Device Role : Active device 9
Array State : AAAAAAAAAAA.A. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdm1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : c717d5d6:22f7f368:99311b55:043f6430
Name : BlackServer2016:blackserver2016
Creation Time : Wed Jan 20 18:34:29 2016
Raid Level : raid10
Raid Devices : 14
Avail Dev Size : 7813772943 (3725.90 GiB 4000.65 GB)
Array Size : 27348203008 (26081.28 GiB 28004.56 GB)
Used Dev Size : 7813772288 (3725.90 GiB 4000.65 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=655 sectors
State : clean
Device UUID : 48c8dfad:bd7d52f4:a2922b5a:e67e2954
Update Time : Mon Jan 9 16:46:30 2017
Checksum : 5c474a8e - correct
Events : 21988
Layout : near=2
Chunk Size : 512K
Device Role : Active device 10
Array State : AAAAAAAAAAA.A. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdn1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : c717d5d6:22f7f368:99311b55:043f6430
Name : BlackServer2016:blackserver2016
Creation Time : Wed Jan 20 18:34:29 2016
Raid Level : raid10
Raid Devices : 14
Avail Dev Size : 7813772943 (3725.90 GiB 4000.65 GB)
Array Size : 27348203008 (26081.28 GiB 28004.56 GB)
Used Dev Size : 7813772288 (3725.90 GiB 4000.65 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=655 sectors
State : clean
Device UUID : f7f7e671:a7f7730d:05022231:ba5aadfc
Update Time : Thu Dec 15 09:16:45 2016
Checksum : b8e48cbf - correct
Events : 560
Layout : near=2
Chunk Size : 512K
Device Role : Active device 11
Array State : AAAAAAAAAAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdo1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : c717d5d6:22f7f368:99311b55:043f6430
Name : BlackServer2016:blackserver2016
Creation Time : Wed Jan 20 18:34:29 2016
Raid Level : raid10
Raid Devices : 14
Avail Dev Size : 7813772943 (3725.90 GiB 4000.65 GB)
Array Size : 27348203008 (26081.28 GiB 28004.56 GB)
Used Dev Size : 7813772288 (3725.90 GiB 4000.65 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=655 sectors
State : clean
Device UUID : 8c2dce46:2915a685:55abac1a:39db0a8e
Update Time : Sat Jan 7 03:19:19 2017
Checksum : 80e85bea - correct
Events : 21944
Layout : near=2
Chunk Size : 512K
Device Role : Active device 12
Array State : AAAAAAAAAAA.A. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdp1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : c717d5d6:22f7f368:99311b55:043f6430
Name : BlackServer2016:blackserver2016
Creation Time : Wed Jan 20 18:34:29 2016
Raid Level : raid10
Raid Devices : 14
Avail Dev Size : 7813772943 (3725.90 GiB 4000.65 GB)
Array Size : 27348203008 (26081.28 GiB 28004.56 GB)
Used Dev Size : 7813772288 (3725.90 GiB 4000.65 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=655 sectors
State : clean
Device UUID : fd77a1d9:5183b582:8c4018f9:f6353d1d
Update Time : Thu Dec 15 09:16:45 2016
Checksum : 7e66b235 - correct
Events : 560
Layout : near=2
Chunk Size : 512K
Device Role : Active device 13
Array State : AAAAAAAAAAAAAA ('A' == active, '.' == missing, 'R' == replacing)'
Note que, como estou executando isso em um USB, o usual cat /proc/mdstat
não retorna a matriz. Além disso, eu não sei a estrutura da matriz (se eu fizesse isso seria muito mais fácil).
Agradecemos antecipadamente pela ajuda e lamentamos que a saída do código seja uma bagunça.