Eu tenho um array RAID 5 com 4 discos de 2 TB em um HP Z800. Um disco falhou e foi trocado por um novo.
Entrei no Utilitário Intel Storage Matrix do BIOS e configurei o Array para reconstruir com o novo disco. O utilitário diz que isso será concluído no sistema operacional.
Após a inicialização no Ubuntu dmraid -s
mostrou o status como nosync. dmsetup status
mostrou que a taxa de sincronização estava aumentando e, por fim (após 9 a 10 horas), ela terminou a sincronização. dmraid -s
mostrou o status ok.
Então, assumindo que tudo estava bem, eu reiniciei, o Ubuntu não pôde montar o array raid como normal, presumivelmente porque o nome do volume tinha mudado, o xxx em / dev / mapper / isw_xxx_Storage.
Não foram apresentadas partições em / dev / mapper, apenas o volume /dev/mapper/isw_jbbicjigc_Storage
Tentar montar o volume falhou (obviamente), então tentei usar kpartx
$ sudo kpartx -a /dev/mapper/isw_jbbicjigc_Storage
Warning: Disk has a valid GPT signature but invalid PMBR.
Assuming this disk is *not* a GPT disk anymore.
Use gpt kernel option to override. Use GNU Parted to correct disk.
A partir daqui, eu realmente não tenho idéia para onde ir. Eu prefiro não reformatar tudo e perder meus dados, mas posso, se essa for a única opção.
Aqui está a saída de alguns comandos relevantes:
$ sudo dmraid -s
*** Group superset isw_jbbicjigc
--> Active Subset
name : isw_jbbicjigc_Storage
size : 11721073920
stride : 128
type : raid5_la
status : ok
subsets: 0
devs : 4
spares : 0
$ sudo dmsetup status
isw_jbbicjigc_Storage: 0 11721073920 raid raid5_la 4 AAAA 3907024640/3907024640 idle 0
$ lspci -v
00:1f.2 RAID bus controller: Intel Corporation 82801 SATA Controller [RAID mode]
Subsystem: Hewlett-Packard Company Device 130b
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 93
I/O ports at c100 [size=8]
I/O ports at c110 [size=4]
I/O ports at c108 [size=8]
I/O ports at c114 [size=4]
I/O ports at c0c0 [size=32]
Memory at e3404000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA v1.0
Capabilities: [b0] PCI Advanced Features
Kernel driver in use: ahci
$ sudo fdisk -l
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/sda doesn't contain a valid partition table
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/sdb doesn't contain a valid partition table
Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/sdc doesn't contain a valid partition table
Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/sdd doesn't contain a valid partition table
Disk /dev/sde: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders, total 117231408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ad848
Device Boot Start End Blocks Id System
/dev/sde1 2048 117229567 58613760 83 Linux
WARNING: GPT (GUID Partition Table) detected on '/dev/mapper/isw_jbbicjigc_Storage'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/mapper/isw_jbbicjigc_Storage: 6001.2 GB, 6001189847040 bytes
255 heads, 63 sectors/track, 729603 cylinders, total 11721073920 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 65536 bytes / 196608 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/isw_jbbicjigc_Storage doesn't contain a valid partition table
Qualquer ideia sobre o que tentar em seguida seria muito apreciada.