System Management
A RAID 1 array was created as /dev/md0 and works correctly. After each reboot it comes up as /dev/md127 and the application mount point fails. Which action BEST makes the array assemble with the name md0 at every boot?
Show the answer
Correct answerD. Append the output of mdadm --detail --scan to the mdadm configuration file and rebuild the initramfs
An ARRAY line in the mdadm configuration file ties the array's identity to the name md0, and rebuilding the initramfs makes early boot use it. An fstab entry only mounts the filesystem and does not set the device name. Running --examine --scan only prints information and writes nothing.