Estou tendo dificuldade em remontar minha partição de swap no meu RAID. Todos os três remontados sem erros, mas o superbloco está faltando em sda5:
mdadm --misc --examine /dev/sdb5
/dev/sdb5:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 056db792:27540abc:cc95d3b1:862cd0d6
Name : DM061:1
Creation Time : Sat Jun 1 22:14:58 2013
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 5853184 (2.79 GiB 3.00 GB)
Array Size : 2926528 (2.79 GiB 3.00 GB)
Used Dev Size : 5853056 (2.79 GiB 3.00 GB)
Data Offset : 4096 sectors
Super Offset : 8 sectors
Unused Space : before=4016 sectors, after=128 sectors
State : clean
Device UUID : 81ed1e09:b58bc6e5:5ac74f02:b9116c94
Update Time : Wed Apr 11 21:13:27 2018
Checksum : e982d736 - correct
Events : 436
Device Role : Active device 1
Array State : .A ('A' == active, '.' == missing, 'R' == replacing)
mdadm --misc --examine /dev/sda5
No md superblock detected on /dev/sda
Eu notei isso em parted:
(parted) print
Model: ATA WDC WD1003FBYX-0 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 15.0GB 15.0GB primary boot, raid
2 15.0GB 1000GB 985GB extended
**5 15.0GB 18.0GB 2999MB logical linux-swap(v1) raid**
6 18.0GB 1000GB 982GB logical raid
(parted) select /dev/sdb
Using /dev/sdb
(parted) print
Model: ATA WDC WD1003FBYX-0 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 15.0GB 15.0GB primary boot, raid
2 15.0GB 1000GB 985GB extended
**5 15.0GB 18.0GB 2999MB logical raid**
6 18.0GB 1000GB 982GB logical raid
Não consigo adicionar o dispositivo lógico ao ARRAY. Alguém tem alguma ideia?