無法在特定突襲中創建 ext4 分區
我在兩個 WDC-SSD 上有一個硬體 raid-1,每個 SSD 有 500GB。raid 控制器是通過兩個 GSATA 連接的 Marvell-88SE9128(控制器直接在主機板上,而不是 ePCI 擴展卡)。
當我嘗試在這個 raid 上安裝 Linux 發行版時,到目前為止我嘗試的每個安裝程序都失敗了,並帶有或多或少不特定的錯誤消息。(直到現在我嘗試了 Arch、Ubuntu、Ubuntu-Server、Debian、CentOS 和 Rocky)
使用 GParted-Live 我可以看到,創建 ext4 分區失敗。GParted 報告成功,但在關閉成功消息後,分區就消失了,GParted 不再在 raid-volume 上檢測到它。
有趣的是,一個 ntfs 分區仍然存在並且可以訪問!(我沒有發現 Marvell 和微軟之間有任何硬性聯繫。)
我也嘗試
mkfs
使用實時系統,但結果相同:成功消息,但沒有分區。我已經閱讀了主機板手冊中 marvell 晶片的文件以及 Marvell 的以下數據表:
- https://www.marvell.com/content/dam/marvell/en/public-collateral/storage/marvell-storage-88se912x-product-brief-2010-08.pdf
- https://www.marvell.com/content/dam/marvell/en/public-collateral/storage/marvell-storage-88se9130-datasheet-2018-08.pdf
- 他們(以及我在網際網路上發現的任何其他人)都沒有說它僅適用於 ntfys。
其他人是否發生過類似的事情,或者有人知道如何在這樣的突襲中應用 ext4-partiton?
提前謝謝了
編輯:
按照建議,我使用了 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)
blkid:
/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
一些解釋:
sda
並sdb
合併為 Software Raid1md127
。sdh
並sdj
合併為 Software Raid1md126
。- Raids
md126
和md127
組合成一個 LUKS 加密的 LVM。sdc
並且sdi
是現場系統需要的一些 USB 記憶棒。sdk
是硬體 Raid1 不會持有 ext4 分區。
感謝ljrk的幫助,我們能夠弄清楚,
Parted
並且GParted
不能對 RAID 磁碟進行分區。我們仍然不知道確切的問題Parted/GParted
是什麼,因為沒有出現錯誤消息,就像我之前所說的那樣。這使得安裝 Ubuntu 或任何其他 Debian 衍生產品變得非常困難,但
fdisk
仍然gdisk
可以按預期工作。所以我們手動對 RAID-Disk 進行分區並安裝 Arch。(我們之前嘗試過 Arch,但使用了
Parted
,所以它也沒有成功)。這不完全是我們想要的,但也很好,所以我要結束這個問題。