bkuhn
May 17th, 2005, 05:31 PM
I first noticed this problem when I rebooted after my first install with a SOFTWARE RAID-5 array set as my root file partition (i.e., /). The problem is that it appears Ubuntu must do a full resync and rebuild of the RAID5 array before continuing the boot process. If the RAID array is in degraded mode while booting, I get a message like this at the very start of the boot sequence:
Uncompressing Linux... Ok, booting the kernel.
audit(XXX): initialized.
Starting Ubuntu...
raid5: raid level 5 set md1 active with 3 out of 4 devices, algorithm 2.
mdadm: /devfs/md/1 has been started with 3 drives (out of 4) and 1 spare.
stopping tasks failed (1 tasks remaining)
It then proceeds to sit and rebuild/resync the RAID array before continuing with the boot process. This seems bizarre to me. In other distributions, including stock Debian, the system would boot in degraded mode, with the RAID array being slow, and then rebuild over time.
Does anyone have any suggestions on how to stop this from happening? It happens even on the initial install onto a large RAID 5 array, since the first reboot during the install process happens before the resync of the array can complete.
Uncompressing Linux... Ok, booting the kernel.
audit(XXX): initialized.
Starting Ubuntu...
raid5: raid level 5 set md1 active with 3 out of 4 devices, algorithm 2.
mdadm: /devfs/md/1 has been started with 3 drives (out of 4) and 1 spare.
stopping tasks failed (1 tasks remaining)
It then proceeds to sit and rebuild/resync the RAID array before continuing with the boot process. This seems bizarre to me. In other distributions, including stock Debian, the system would boot in degraded mode, with the RAID array being slow, and then rebuild over time.
Does anyone have any suggestions on how to stop this from happening? It happens even on the initial install onto a large RAID 5 array, since the first reboot during the install process happens before the resync of the array can complete.