Can't assemble dm devices in initrd: script missing?
Bug #155355 reported by
Hadmut Danisch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mdadm
Hi,
after upgrading to gutsy my machine does not boot anymore (except with the old feisty kernel).
The problem: It sticks for some time in the initrd and then opens an emergency shell, because
the root file system (on mdadm raid partition) is not found.
As far as I can see the problem is that the scripts to be put into /scripts/local-top in initramfs
are missing in the mdadm package. There's an empty directory listed in mdadm's package, which implies
that something went wrong with packaging.
regards
To post a comment you must log in.
Just some additional remarks:
As far as I found out the assembly of the md devices should not be done by scripts (which could have been removed intentionally), but by script entries in the udev directories: Whenever a file system of type raid is added, udev should call mdadm --assemble...
However, it does not work reliably. It sometimes works to create the raid device for my root file system. But even then it still fails to assemble the second file system. Interestingly, even mdadm --assemble --scan does not work in this case, I then have to assemble it manually. Strange.