Soft RAID is used on Ubuntu11.10. When the system is restarted, manual intervention is required to access the system. There are two reasons: first, it is because the Initial Startup Process is interrupted after the software RAID is reduced, and confirmation is required. This requires you to reconfigure mdadm and regenerate the initrd file: Execute dpkg-reconfigmdadm. One step is to select "continue to start the system when RAID is downgraded" and select "yes. Another reason is that at startup, it always enters busybox, Which is Ubun
A Soft RAID is used on Ubuntu 11.10. When the system is restarted, manual intervention is always required to enter the system.
There are two reasons: first, it is because the Initial Startup Process is interrupted after the software RAID is reduced, and confirmation is required.
You need to reconfigure mdadm to regenerate the initrd file:
Run dpkg-reconfig mdadm
One step is to select "Start the system when RAID is downgraded" and select "yes.
Another reason is that at startup, busybox is always entered, which is a bug in Ubuntu 11.10.
Need to modify:/usr/share/initramfs-tools/scripts/mdadm-functions
Set:
Degraded_arrays ()
{
Mdadm -- misc -- scan -- detail -- test>/dev/null 2> & 1
Return $ ((! $ ?))
}
Add a row and change it:
Degraded_arrays ()
{
Udevadm settle
Mdadm -- misc -- scan -- detail -- test>/dev/null 2> & 1
Return $ ((! $ ?))
}
Then, regenerate initrd:
Update-initramfs-u
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2