我在兩台 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 磁碟區上不再偵測到它。
有趣的是,ntfs分區保留下來並且可以存取! (我沒有發現 Marvell 和 Microsoft 之間有任何硬連結。)
我也嘗試過mkfs
即時系統,但結果相同:成功訊息,但沒有分區。
我已經閱讀了主機板手冊中 Marvell 晶片的文檔以及 Marvell 的以下資料表:
- https://www.marvell.com/content/dam/marvell/en/public-collathal/storage/marvell-storage-88se912x-product-brief-2010-08.pdf
- https://www.marvell.com/content/dam/marvell/en/public-collathal/storage/marvell-storage-88se9130-datasheet-2018-08.pdf
- 他們中沒有人(我在網路上找到的任何人/沒有其他人)說,它只適用於 ntfys。
類似的事情是否發生在其他人身上,或者有人知道如何在這樣的 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
一些解釋:
sda
並sdb
組合成軟體 Raid1md127
。sdh
並sdj
組合成軟體 Raid1md126
。- Raid
md126
和md127
結合到 LUKS 加密的 LVM。 sdc
還有sdi
一些是live系統需要的USB。sdk
是無法容納 ext4 分區的硬體 Raid1。
答案1
感謝以下人士的協助利吉克我們能夠弄清楚,Parted
並且GParted
不能對 RAID 磁碟進行分割。我們仍然不知道確切的問題是什麼Parted/GParted
,因為沒有出現錯誤訊息,就像我之前所說的那樣。
這使得安裝 Ubuntu 或任何其他 Debian 衍生版本變得非常困難,但fdisk
仍然gdisk
可以按預期工作。
因此我們手動對 RAID 磁碟進行分割並安裝 Arch。 (我們之前嘗試過Arch,但使用了Parted
,所以也沒有成功)。這不完全是我們想要的,但也很好,所以我結束這個問題。