Fedora:全盘 MD、LUKS 和分区

Fedora:全盘 MD、LUKS 和分区

Fedora 30 之前版本。

几个月前,我将整个 5TB 驱动器设置为单设备 RAID1md卷(md100),使用 LUKS 对其进行加密cryptsetup,并在其上创建分区。

但是,现在回想起来,我无法让分区显示为任何可安装的内容。

# mdadm -A --scan

# cryptsetup open /dev/md100 md100
Enter passphrase for /dev/md100: 

# ls /dev/mapper/
total 0
drwxr-xr-x.  2 root root     220 Nov 12 12:38 .
drwxr-xr-x. 23 root root    4.6K Nov 12 12:38 ..
crw-------.  1 root root 10, 236 Aug 23 21:55 control
lrwxrwxrwx.  1 root root       7 Nov 12 12:38 md100 -> ../dm-7

# fdisk -luc /dev/md100
Disk /dev/md100: 4.6 TiB, 5000845787136 bytes, 1220909616 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 268431360 bytes

# fdisk -luc /dev/dm-7
Disk /dev/dm-7: 4.6 TiB, 5000577355776 bytes, 1220844081 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 268431360 bytes
Disklabel type: dos
Disk identifier: 0x867f8d2b

Device                   Boot     Start        End    Sectors  Size Id Type
/dev/mapper/md100-part1           65535 1220844080 1220778546  4.6T  5 Extended
/dev/mapper/md100-part5          131070  268562429  268431360 1024G 83 Linux
/dev/mapper/md100-part6       268627965  334162964   65535000  250G 83 Linux
/dev/mapper/md100-part7       334228500  399763499   65535000  250G 83 Linux
/dev/mapper/md100-part8       399829035  465364034   65535000  250G 83 Linux
/dev/mapper/md100-part9       465429570  530964569   65535000  250G 83 Linux
/dev/mapper/md100-part10      531030105  596565104   65535000  250G 83 Linux
/dev/mapper/md100-part11      596630640  662165639   65535000  250G 83 Linux
/dev/mapper/md100-part12      662231175  727766174   65535000  250G 83 Linux
/dev/mapper/md100-part13      727831710  793366709   65535000  250G 83 Linux
/dev/mapper/md100-part14      793432245 1220844080  427411836  1.6T 83 Linux

没有任何/dev/**与任何分区对应的内容,所以我不知道如何挂载它们。我不想从头开始,因为当我开始做这件事时,我可能我在那些分区中放了一些东西,我不想随意丢弃它们。

在访问这些分区并安装它们方面我缺少什么?

谢谢!

相关内容