我正在尝试在我负责的机器上完成 RAID 阵列的配置和安装。我感觉前任主人尝试过设置阵列但失败了,但我不知道如何确定。我的最终目标是建立 10TB 阵列。我思考该数组是md126
or /dev/md/Volume1_0
。
我以前从未设置过 RAID 阵列。我已经从下面遵循的各种指南中复制了命令。我无法弄清楚如何有 2 个(或 3 个?)RAID 阵列,并且我无法弄清楚如何(或者是否应该)将文件系统添加到Volume1_0
.
任何帮助将不胜感激!
root@mycompubnt01:/home/mycompmarine# cat /etc/mdadm/mdadm.conf
ARRAY /dev/md/imsm0 metadata=imsm UUID=95741e7f:d82f8bf3:4aefbd16:5e39c59e
ARRAY /dev/md/Volume1_0 container=/dev/md/imsm0 member=1 UUID=4c0ab41a:33ae8cfc:1223a9ff:b4d278d5
ARRAY /dev/md/Volume0_0 container=/dev/md/imsm0 member=0 UUID=e7b25684:e271d6ec:d874c72c:d636b3aa
MAILADDR root
root@mycompubnt01:/home/mycompmarine# cat /proc/mdstat
Personalities : [raid10] [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4]
md125 : active raid10 sda[3] sdb[2] sdc[1] sdd[0]
104857600 blocks super external:/md127/0 64K chunks 2 near-copies [4/4] [UUUU]
md126 : active (auto-read-only) raid10 sda[3] sdb[2] sdc[1] sdd[0]
11035360256 blocks super external:/md127/1 64K chunks 2 near-copies [4/4] [UUUU]
md127 : inactive sdc[3](S) sdd[2](S) sda[1](S) sdb[0](S)
20804 blocks super external:imsm
unused devices: <none>
root@mycompubnt01:/home/mycompmarine# lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0 squash 4.0 0 100% /snap/aws-cli/291
loop1 squash 4.0 0 100% /snap/aws-cli/293
loop2 squash 4.0 0 100% /snap/bare/5
loop3 squash 4.0 0 100% /snap/core20/1891
loop4 squash 4.0 0 100% /snap/core20/1974
loop5 squash 4.0 0 100% /snap/core22/750
loop6 squash 4.0 0 100% /snap/core22/817
loop7 squash 4.0 0 100% /snap/firefox/2908
loop8 squash 4.0 0 100% /snap/gnome-3-38-2004/143
loop9 squash 4.0 0 100% /snap/gtk-common-themes/1535
loop10 squash 4.0 0 100% /snap/lxd/24322
loop11 squash 4.0 0 100% /snap/snapd/19361
loop12 squash 4.0 0 100% /snap/snapd/19457
sda isw_ra 1.3.0
├─sda1
├─sda2
├─sda3
├─md125
│ ├─md125p1
│ │ vfat FAT32 D7FC-D657 1G 1% /boot/efi
│ ├─md125p2
│ │ ext4 1.0 5d7eaaf1-3134-4d19-a65b-ee941a989946 1.4G 20% /boot
│ └─md125p3
│ LVM2_m LVM2 CtAGB4-n1QZ-xhHA-CFLQ-sRNN-UhM8-PH6vJV
│ └─ubuntu--vg-ubuntu--lv
│ ext4 1.0 3ec3a532-68f2-4421-bb80-f910e2bcc3b7 16.8G 59% /var/snap/firefox/common/host-hunspell
│ /
├─md126
│ ├─md126p1
│ │ vfat FAT32 0316-DC74
│ └─md126p2
│ ext4 1.0 dbb81a20-ad2e-4443-b386-761961fc3fa8
└─md127
sdb isw_ra 1.3.0
├─sdb1
├─sdb2
├─sdb3
├─md125
│ ├─md125p1
│ │ vfat FAT32 D7FC-D657 1G 1% /boot/efi
│ ├─md125p2
│ │ ext4 1.0 5d7eaaf1-3134-4d19-a65b-ee941a989946 1.4G 20% /boot
│ └─md125p3
│ LVM2_m LVM2 CtAGB4-n1QZ-xhHA-CFLQ-sRNN-UhM8-PH6vJV
│ └─ubuntu--vg-ubuntu--lv
│ ext4 1.0 3ec3a532-68f2-4421-bb80-f910e2bcc3b7 16.8G 59% /var/snap/firefox/common/host-hunspell
│ /
├─md126
│ ├─md126p1
│ │ vfat FAT32 0316-DC74
│ └─md126pa
│ ext4 1.0 dbb81a20-ad2e-4443-b386-761961fc3fa8
└─md127
sdc isw_ra 1.3.0
├─md125
│ ├─md125p1
│ │ vfat FAT32 D7FC-D657 1G 1% /boot/efi
│ ├─md125p2
│ │ ext4 1.0 5d7eaaf1-3134-4d19-a65b-ee941a989946 1.4G 20% /boot
│ └─md125p3
│ LVM2_m LVM2 CtAGB4-n1QZ-xhHA-CFLQ-sRNN-UhM8-PH6vJV
│ └─ubuntu--vg-ubuntu--lv
│ ext4 1.0 3ec3a532-68f2-4421-bb80-f910e2bcc3b7 16.9G 59% /var/snap/firefox/common/host-hunspell
│ /
├─md126
│ ├─md126p1
│ │ vfat FAT32 0316-DC74
│ └─md126p2
│ ext4 1.0 dbb81a20-ad2e-4443-b386-761961fc3fa8
└─md127
sdd isw_ra 1.3.0
├─md125
│ ├─md125p1
│ │ vfat FAT32 D7FC-D657 1G 1% /boot/efi
│ ├─md125p2
│ │ ext4 1.0 5d7eaaf1-3134-4d19-a65b-ee941a989946 1.4G 20% /boot
│ └─md125p3
│ LVM2_m LVM2 CtAGB4-n1QZ-xhHA-CFLQ-sRNN-UhM8-PH6vJV
│ └─ubuntu--vg-ubuntu--lv
│ ext4 1.0 3ec3a532-68f2-4421-bb80-f910e2bcc3b7 16.8G 59% /var/snap/firefox/common/host-hunspell
│ /
├─md126
│ ├─md126p1
│ │ vfat FAT32 0316-DC74
│ └─md126p2
│ ext4 1.0 dbb81a20-ad2e-4443-b386-761961fc3fa8
└─md127
root@mycompubnt01:/home/mycompmarine# mkfs.ext4 -L md_Volume1 /dev/md/Volume1_0
mke2fs 1.46.5 (30-Dec-2021)
Found a gpt partition table in /dev/md/Volume1_0
Proceed anyway? (y,N) n
我正在运行 Ubuntu 22:04