无法在特定 raid 上创建 ext4 分区

无法在特定 raid 上创建 ext4 分区

我在两个 WDC-SSD 上有一个硬件 raid-1,每个 SSD 上有 500GB。 raid 控制器是通过两个 GSATA 连接的 Marvell-88SE9128(控制器直接位于主板上,而不是 ePCI 扩展卡)。

当我尝试在此磁盘阵列上安装 Linux 发行版时,到目前为止我尝试过的每个安装程序都失败了,并显示或多或少不明确的错误消息。(到目前为止,我尝试过 Arch、Ubuntu、Ubuntu-Server、Debian、CentOS 和 Rocky)

通过 GParted-Live,我可以看到 ext4 分区的创建失败。 GParted 报告成功,但在关闭成功消息后,该分区立即消失,并且 GParted 在 raid 卷上不再检测到它。

有趣的是,ntfs分区保留下来并且可以访问! (我没有发现 Marvell 和 Microsoft 之间有任何硬联系。)

我也尝试过mkfs实时系统,但结果相同:成功消息,但没有分区。

我已经阅读了主板手册中 Marvell 芯片的文档以及 Marvell 的以下数据表:

类似的事情是否发生在其他人身上,或者有人知道如何在这样的 raid 中应用 ext4 分区?

提前谢谢了

编辑:
按照建议,我使用了 Ubuntu livesystem 并查找了 dmesg。这是结果:

[  780.345795] raid6: sse2x4   gen() 16061 MB/s
[  780.413795] raid6: sse2x4   xor()  8934 MB/s
[  780.481797] raid6: sse2x2   gen() 17492 MB/s
[  780.549807] raid6: sse2x2   xor()  9685 MB/s
[  780.617795] raid6: sse2x1   gen() 13970 MB/s
[  780.685797] raid6: sse2x1   xor()  8287 MB/s
[  780.685801] raid6: using algorithm sse2x2 gen() 17492 MB/s
[  780.685802] raid6: .... xor() 9685 MB/s, rmw enabled
[  780.685804] raid6: using ssse3x2 recovery algorithm
[  780.687460] xor: automatically using best checksumming function   avx       
[  780.722675] Btrfs loaded, crc32c=crc32c-intel, zoned=yes
[  780.751206] JFS: nTxBlock = 8192, nTxLock = 65536
[  780.804405] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
[  938.260634]  sdj:
[  938.723894]  sdj:
[  938.799655]  sdj:
[  952.400893]  sdj:
[  952.524131]  sdj: sdj1
[  953.237100]  sdj: sdj1

lspci:

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1c.6 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 7 (rev b5)
00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation Z68 Express Chipset LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Desktop SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 PCI bridge: NVIDIA Corporation NF200 PCIe 2.0 switch (rev a3)
02:00.0 PCI bridge: NVIDIA Corporation NF200 PCIe 2.0 switch (rev a3)
02:02.0 PCI bridge: NVIDIA Corporation NF200 PCIe 2.0 switch (rev a3)
03:00.0 VGA compatible controller: NVIDIA Corporation GF100 [GeForce GTX 470] (rev a3)
03:00.1 Audio device: NVIDIA Corporation GF100 High Definition Audio Controller (rev a1)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
07:00.0 PCI bridge: Integrated Technology Express, Inc. IT8892E PCIe to PCI Bridge (rev 10)
08:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)
09:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
0a:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
0b:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
0c:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9128 PCIe SATA 6 Gb/s RAID controller with HyperDuo (rev 11)
0d:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9128 PCIe SATA 6 Gb/s RAID controller with HyperDuo (rev 11)

块:

/dev/sdc1: LABEL="INTENSO" UUID="8C09-B4FF" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="c3072e18-01"
/dev/sdi1: BLOCK_SIZE="2048" UUID="2021-07-19-22-56-21-00" LABEL="GParted-live" TYPE="iso9660" PARTUUID="11ddad15-01"
/dev/loop0: TYPE="squashfs"
/dev/md126: UUID="f32d4848-9784-4912-b0ab-ff250bf69dfc" TYPE="crypto_LUKS"
/dev/md127: UUID="ec6af278-b3f8-4fc2-94c9-97029c302e14" TYPE="crypto_LUKS"
/dev/sda: UUID="14e609d1-2017-96b5-4cf8-af002dd538ed" UUID_SUB="3646b87c-950c-e4b3-a855-f93f3e5a88d2" LABEL="ubuntu-server:1" TYPE="linux_raid_member"
/dev/sdb: UUID="14e609d1-2017-96b5-4cf8-af002dd538ed" UUID_SUB="5a703c43-f3eb-203e-5bb4-3fa2a2acf223" LABEL="ubuntu-server:1" TYPE="linux_raid_member"
/dev/sdh: UUID="bcd188a7-5c15-8245-8c7a-761d509bad19" UUID_SUB="a72121fc-ebe3-88e2-cba9-9b74f198bed1" LABEL="ubuntu-server:2" TYPE="linux_raid_member"
/dev/sdj: UUID="bcd188a7-5c15-8245-8c7a-761d509bad19" UUID_SUB="419122c5-a305-a607-a0d9-9a5b2f1aed89" LABEL="ubuntu-server:2" TYPE="linux_raid_member"

lsblk:

NAME    MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
loop0     7:0    0 341,2M  1 loop  /usr/lib/live/mount/rootfs/filesystem.squashfs
sda       8:0    0  10,9T  0 disk  
└─md127   9:127  0  10,9T  0 raid1 
sdb       8:16   0  10,9T  0 disk  
└─md127   9:127  0  10,9T  0 raid1 
sdc       8:32   1 967,5M  0 disk  
└─sdc1    8:33   1   966M  0 part  /media/intenso
sdh       8:112  0  14,6T  0 disk  
└─md126   9:126  0  14,6T  0 raid1 
sdi       8:128  1   7,5G  0 disk  
└─sdi1    8:129  1   396M  0 part  /usr/lib/live/mount/medium
sdj       8:144  0  14,6T  0 disk  
└─md126   9:126  0  14,6T  0 raid1 
sdk       8:160  0 465,7G  0 disk

一些解释:

  • sdasdb组合成软件 Raid1 md127
  • sdhsdj组合成软件 Raid1 md126
  • Raidmd126md127结合到 LUKS 加密的 LVM。
  • sdc还有sdi一些是live系统需要的U盘。
  • sdk是硬件 Raid1,它不能容纳 ext4 分区。

答案1

感谢以下人士的帮助利吉克我们能够弄清楚,Parted并且GParted不能对 RAID 磁盘进行分区。我们仍然不知道确切的问题是什么Parted/GParted,因为没有出现错误消息,就像我之前所说的那样。

这使得安装 Ubuntu 或任何其他 Debian 衍生版本变得非常困难,但fdisk仍然gdisk可以按预期工作。

因此我们手动对 RAID 磁盘进行分区并安装 Arch。 (我们之前尝试过Arch,但是使用了Parted,所以也没有成功)。这不完全是我们想要的,但也很好,所以我结束这个问题。

相关内容