在 2024/4/14 5:37, Sven Köhler 写道:
[...]
I used your command and config, updated kernel and mdadm, but raid also
created correctly after reboot.
My OS is fedora, it may have been affected by some other system tools? I
have no idea.
The Arch kernel has RAID autodetection enabled. I just tried to reproduce
it. While mdadm will not consider /dev/sd[ab] as members, the kernel's
autodetection will. For that you have to reboot.
It is not about autodetection. Autodetection only deals with the devices in
list 'all_detected_devices', device is added to it by blk_add_partition().
So sdx will not be added to this list, and will not be autodetect.
I used this ISO in a VM with 2 harddisks to reproduce the issue:
https://mirror.informatik.tu-freiberg.de/arch/iso/2024.04.01/archlinux-2024.04.01-x86_64.iso
Kind Regards,
Sven
.
--
Thanks,
Nan