在过去,我使用mdadm多次扩展/重塑raid-6数组。今天,我向新的raid-6阵列添加了2个磁盘,但无法对其进行整形。
这一次是不同的:现在是日记和WSL2 / Ubuntu。有解决办法吗?还是我遗漏了什么?
root@DESKTOP:~# mdadm -v --grow --raid-devices=7 /dev/md0
mdadm: Cannot set device shape for /dev/md0: Invalid argument数组详细信息:
root@DESKTOP:~# mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Thu Nov 3 01:14:38 2022
Raid Level : raid6
Array Size : 5860144128 (5588.67 GiB 6000.79 GB)
Used Dev Size : 1953381376 (1862.89 GiB 2000.26 GB)
Raid Devices : 5
Total Devices : 8
Persistence : Superblock is persistent
Update Time : Fri Nov 4 02:26:35 2022
State : clean
Active Devices : 5 Working Devices : 8
Failed Devices : 0
Spare Devices : 2
Layout : left-symmetric
Chunk Size : 512K
Consistency Policy : journal
Name : DESKTOP:0 (local to host DESKTOP)
UUID : 21b70607:7ca3faf8:af74d21e:caa06133
Events : 26489
Number Major Minor RaidDevice State
0 8 17 0 active sync /dev/sdb1
1 8 33 1 active sync /dev/sdc1
2 8 49 2 active sync /dev/sdd1
3 8 65 3 active sync /dev/sde1
4 8 81 4 active sync /dev/sdf1
5 7 1 - journal /dev/loop1
6 8 129 - spare /dev/sdi1
7 8 113 - spare /dev/sdh1root@DESKTOP:~# uname -a Linux桌面5.10.16.3-microsoft WSL2 2 #1 SMP Fri 2 22:23:49 UTC 2021 x86_64 GNU/Linux
mdadm - v4.1 - 2018-10-01
发布于 2022-11-04 22:16:01
是的,不支持带有日志的raid-6,至少mdadm 4.1不支持。
您可以:
https://unix.stackexchange.com/questions/723594
复制相似问题