January 23

RAID always renames itself to /dev/md127 after rebooting

Solution:

mdadm --detail --scan /dev/md127 >> /etc/mdadm/mdadm.conf

vim /etc/mdadm/mdadm.conf, edit the appended line to look like this:

ARRAY /dev/md0 metadata=1.2 UUID=XXXXXXXX:XXXXXXXX:XXXXXXXX:XXXXXXXX

In other words, remove the name part, and set the device to /dev/md0.

update-initramfs -u

reboot

Original post


Copyright 2021. All rights reserved.

Posted 23 January 2024 by admin in category "simple memo

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.