Я пытаюсь отозвать свой raid5 на 8 ТБ в UBUNTU20.05. Вот что я сделал:
root@ubuntu:~# mdadm --detail /dev/md2
/dev/md2:
Version : 1.2
Creation Time : Wed May 10 20:26:39 2017
Raid Level : raid5
Array Size : 8776333632 (8369.76 GiB 8986.97 GB)
Used Dev Size : 2925444544 (2789.92 GiB 2995.66 GB)
Raid Devices : 4
Total Devices : 4
Persistence : Superblock is persistent
Update Time : Thu May 21 21:30:23 2020
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 64K
Consistency Policy : resync
Name : HP-NAS:2
UUID : a5f642b0:c055d63a:8d1882d4:bc781911
Events : 106423
Number Major Minor RaidDevice State
0 8 19 0 active sync /dev/sdb3
5 8 3 1 active sync /dev/sda3
2 8 35 2 active sync /dev/sdc3
4 8 51 3 active sync /dev/sdd3
Затем я пытаюсь просканировать свою ФС:
root@ubuntu:~# mdadm --assemble --scan --verbose
mdadm: looking for devices for /dev/md/2
mdadm: No super block found on /dev/md/2 (Expected magic a92b4efc, got 00000801)
mdadm: no RAID superblock on /dev/md/2
mdadm: No super block found on /dev/sdf3 (Expected magic a92b4efc, got 000000a0)
mdadm: no RAID superblock on /dev/sdf3
mdadm: No super block found on /dev/sdf2 (Expected magic a92b4efc, got 15815715)
mdadm: no RAID superblock on /dev/sdf2
mdadm: No super block found on /dev/sdf1 (Expected magic a92b4efc, got 00004d50)
mdadm: no RAID superblock on /dev/sdf1
mdadm: No super block found on /dev/sdf (Expected magic a92b4efc, got 00004d50)
mdadm: no RAID superblock on /dev/sdf
mdadm: No super block found on /dev/sde2 (Expected magic a92b4efc, got 00000000)
mdadm: no RAID superblock on /dev/sde2
mdadm: No super block found on /dev/sde (Expected magic a92b4efc, got 00000000)
mdadm: no RAID superblock on /dev/sde
mdadm: /dev/sdd3 is busy - skipping
mdadm: No super block found on /dev/sdd2 (Expected magic a92b4efc, got 2f202163)
mdadm: no RAID superblock on /dev/sdd2
mdadm: No super block found on /dev/sdd1 (Expected magic a92b4efc, got 00000131)
mdadm: no RAID superblock on /dev/sdd1
mdadm: No super block found on /dev/sdd (Expected magic a92b4efc, got 00000000)
mdadm: no RAID superblock on /dev/sdd
mdadm: /dev/sdc3 is busy - skipping
mdadm: No super block found on /dev/sdc2 (Expected magic a92b4efc, got 6e6f6974)
mdadm: no RAID superblock on /dev/sdc2
mdadm: No super block found on /dev/sdc1 (Expected magic a92b4efc, got 00000131)
mdadm: no RAID superblock on /dev/sdc1
mdadm: No super block found on /dev/sdc (Expected magic a92b4efc, got 00000000)
mdadm: no RAID superblock on /dev/sdc
mdadm: /dev/sda3 is busy - skipping
mdadm: No super block found on /dev/sda2 (Expected magic a92b4efc, got 6e6f6974)
mdadm: no RAID superblock on /dev/sda2
mdadm: No super block found on /dev/sda1 (Expected magic a92b4efc, got 00000131)
mdadm: no RAID superblock on /dev/sda1
mdadm: No super block found on /dev/sda (Expected magic a92b4efc, got 00000000)
mdadm: no RAID superblock on /dev/sda
mdadm: /dev/sdb3 is busy - skipping
mdadm: No super block found on /dev/sdb2 (Expected magic a92b4efc, got 6e6f6974)
mdadm: no RAID superblock on /dev/sdb2
mdadm: No super block found on /dev/sdb1 (Expected magic a92b4efc, got 00000131)
mdadm: no RAID superblock on /dev/sdb1
mdadm: No super block found on /dev/sdb (Expected magic a92b4efc, got 00000000)
mdadm: no RAID superblock on /dev/sdb
mdadm: No super block found on /dev/loop5 (Expected magic a92b4efc, got b9d2e6a4)
mdadm: no RAID superblock on /dev/loop5
mdadm: No super block found on /dev/loop4 (Expected magic a92b4efc, got b4c109d2)
mdadm: no RAID superblock on /dev/loop4
mdadm: No super block found on /dev/loop3 (Expected magic a92b4efc, got 18e7527f)
mdadm: no RAID superblock on /dev/loop3
mdadm: No super block found on /dev/loop2 (Expected magic a92b4efc, got e7e108a6)
mdadm: no RAID superblock on /dev/loop2
mdadm: No super block found on /dev/loop1 (Expected magic a92b4efc, got 45a100a9)
mdadm: no RAID superblock on /dev/loop1
mdadm: No super block found on /dev/loop0 (Expected magic a92b4efc, got 8628205c)
mdadm: no RAID superblock on /dev/loop0
Я пытаюсь просканировать весь свой диск и убедиться, что они в порядке
root@ubuntu:~# fdisk -l
Disk /dev/loop0: 1.93 GiB, 2049204224 bytes, 4002352 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 /dev/loop1: 27.9 MiB, 28405760 bytes, 55480 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 /dev/loop2: 54.97 MiB, 57614336 bytes, 112528 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 /dev/loop3: 240.82 MiB, 252493824 bytes, 493152 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 /dev/loop4: 62.9 MiB, 65105920 bytes, 127160 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 /dev/loop5: 49.8 MiB, 52203520 bytes, 101960 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 /dev/sdb: 2.75 TiB, 3000592982016 bytes, 5860533168 sectors
Disk model: WDC WD30EZRZ-00G
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 3FBD45AE-352E-11E7-BEE4-3C4A9277B538
Device Start End Sectors Size Type
/dev/sdb1 2048 4982527 4980480 2.4G Linux RAID
/dev/sdb2 4982528 9176831 4194304 2G Linux RAID
/dev/sdb3 9437184 5860328351 5850891168 2.7T Linux RAID
Disk /dev/sda: 2.75 TiB, 3000592982016 bytes, 5860533168 sectors
Disk model: WDC WD30EZRZ-00G
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 40BCCA52-352E-11E7-BEE4-3C4A9277B538
Device Start End Sectors Size Type
/dev/sda1 2048 4982527 4980480 2.4G Linux RAID
/dev/sda2 4982528 9176831 4194304 2G Linux RAID
/dev/sda3 9437184 5860328351 5850891168 2.7T Linux RAID
Disk /dev/sdc: 2.75 TiB, 3000592982016 bytes, 5860533168 sectors
Disk model: WDC WD30EZRX-00D
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 4194E072-352E-11E7-BEE4-3C4A9277B538
Device Start End Sectors Size Type
/dev/sdc1 2048 4982527 4980480 2.4G Linux RAID
/dev/sdc2 4982528 9176831 4194304 2G Linux RAID
/dev/sdc3 9437184 5860328351 5850891168 2.7T Linux RAID
Disk /dev/sdd: 2.75 TiB, 3000592982016 bytes, 5860533168 sectors
Disk model: WDC WD30EZRX-00D
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 10E34EE7-E001-443A-90C7-8A37BC232366
Device Start End Sectors Size Type
/dev/sdd1 2048 4982527 4980480 2.4G Linux RAID
/dev/sdd2 4982528 9176831 4194304 2G Linux RAID
/dev/sdd3 9437184 5860328351 5850891168 2.7T Linux RAID
Disk /dev/sde: 59.64 GiB, 64023257088 bytes, 125045424 sectors
Disk model: KINGSTON SNV425S
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6fa90fb8
Disk /dev/sdf: 3.78 GiB, 4043309056 bytes, 7897088 sectors
Disk model: IntelligentStick
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x15f006ae
Device Boot Start End Sectors Size Id Type
/dev/sdf1 * 0 5303231 5303232 2.5G 0 Empty
/dev/sdf2 4222640 4230575 7936 3.9M ef EFI (FAT-12/
/dev/sdf3 5304320 7897087 2592768 1.2G 83 Linux
Disk /dev/md2: 8.18 TiB, 8986965639168 bytes, 17552667264 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
следующий
root@ubuntu:~# mdadm --assemble /dev/md2
root@ubuntu:~# lsblk /dev/sda /dev/sdb /dev/sdc /dev/sdd
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 2.7T 0 disk
├─sda1 8:1 0 2.4G 0 part
├─sda2 8:2 0 2G 0 part [SWAP]
└─sda3 8:3 0 2.7T 0 part
└─md2 9:2 0 8.2T 0 raid5
sdb 8:16 0 2.7T 0 disk
├─sdb1 8:17 0 2.4G 0 part
├─sdb2 8:18 0 2G 0 part [SWAP]
└─sdb3 8:19 0 2.7T 0 part
└─md2 9:2 0 8.2T 0 raid5
sdc 8:32 0 2.7T 0 disk
├─sdc1 8:33 0 2.4G 0 part
├─sdc2 8:34 0 2G 0 part [SWAP]
└─sdc3 8:35 0 2.7T 0 part
└─md2 9:2 0 8.2T 0 raid5
sdd 8:48 0 2.7T 0 disk
├─sdd1 8:49 0 2.4G 0 part
├─sdd2 8:50 0 2G 0 part [SWAP]
└─sdd3 8:51 0 2.7T 0 part
└─md2 9:2 0 8.2T 0 raid5
Могу ли я узнать, смогу ли я вернуть свои данные размером 2/7 ТБ? И какая команда может быть полезна, чтобы вернуть ФС и можно ли ее монтировать / читать? Спасибо