https://ubuntuforums.org/showthread.php?t=2002217
https://www.funkypenguin.co.nz/note/importing-existing-raid-devices-new-linux-installation/
mdadm --assemble --scan
mdadm --detail --scan >> /etc/mdadm/mdadm.conf
为了解决重启后变成/dev/md127的问题,还需要修改mdadm.conf:
把第二列:/dev/md/raid1
修改成:/dev/md0
再执行:
update-initramfs -u
原文:https://www.cnblogs.com/felix-zp/p/9742514.html