RAID modules loaded too late in the boot sequence

Bug #618447 reported by Gerald Villemure
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: initramfs-tools

If you get kernel messages like this:
      md: personality for level 1 is not loaded!

And when you run:
   mdadm --detail /dev/md0
You get:
   State : active, Not Started

This is most likely cause by the fact that the RAID1 module is loaded AFTER the array is brought online. This happens to me mostly on older (slow) computers.

To fix, create a file in this folder:
  /etc/initramfs-tools/scripts/init-top

Call the script what you like and put something like this in the file:

#!/bin/sh
modprobe raid1

You should be okay after that.

Hope this helps,
Gérald

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in initramfs-tools (Ubuntu):
status: New → Confirmed
Revision history for this message
vbooh (vbooh-vbooh) wrote :

May be better just to add raid modules to /etc/initramfs-tools/modules.
Workaround:
1) boot to rescue mode using install CD;
2) execute:
echo "$RAID_MODULE_NAME" >> /etc/initramfs-tools/modules
dpkg-reconfigure linux-image-$YOUR_KERNEL_VERSION
3) reboot.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.