2007-02-03 12:41:27 |
Dominik Sauer |
bug |
|
|
added bug |
2007-02-03 12:42:15 |
Dominik Sauer |
malone: statusexplanation |
|
|
|
2007-02-03 12:42:34 |
Dominik Sauer |
bug |
|
|
assigned to Ubuntu |
2007-02-03 13:20:39 |
Emilio Pozuelo Monfort |
None: statusexplanation |
|
|
|
2007-04-11 15:15:36 |
Christoph Rauch |
initramfs-tools: status |
Unconfirmed |
Confirmed |
|
2007-04-11 15:15:36 |
Christoph Rauch |
initramfs-tools: statusexplanation |
|
I get the same effect (mdadm does not start arrays), similar setup as Dominik (ata_piix, raid1), but apparently a different cause for the problem.
According to ps udevd is not started at all when mdadm bails out. If I start the udev start script manually the device nodes appear and the mdadm script can initialize the arrays.
|
|
2008-07-24 23:02:48 |
ceg |
description |
script '/usr/share/initramfs-tools/scripts/init-premount/udev' launches cold plugging of devices on background, then terminates immediately. this causes mdadm md array assembly to fail, because it doesn't see it's /dev/sd?? devices yet. Ugly hack is to sleep 20 after launching the coldplug. |
script '/usr/share/initramfs-tools/scripts/init-premount/udev' launches cold plugging of devices on background, then terminates immediately. this causes mdadm md array assembly to fail, because it doesn't see it's /dev/sd?? devices yet. Ugly hack is to sleep 20 after launching the coldplug.
The script that mounts the root fs should enter a loop checking if all the root device has come up, and if that has not happened for a while start an md device in degraded mode.
Something like
If rootfs depends on a md device,
while timeout not reached, do:
if root md device has come up, continue booting
wait 0.5 seconds
done.
if timeout has been reached:
mdadm --run <root md device>
The udev lvm/crypt/ hotplug then goes on, so...
if rootfs then depends on a lvm device
while timeout not reached ....
(check https://wiki.ubuntu.com/BootDegradedRaid) |
|
2008-07-24 23:02:48 |
ceg |
title |
initramfs-tools script doesn't wait for device initialization, preventing mdadm to assemble md arrays |
mount script doesn't wait for root device initialization, preventing udev+mdadm/cryptsetup to assemble md arrays |
|
2008-07-24 23:04:57 |
ceg |
title |
mount script doesn't wait for root device initialization, preventing udev+mdadm/cryptsetup to assemble md arrays |
mount script doesn't poll if root device has been initialized, preventing udev+mdadm/lvm/cryptsetup to do its job |
|
2008-07-26 00:58:47 |
ceg |
initramfs-tools: status |
Confirmed |
Fix Released |
|
2008-07-30 09:00:20 |
ceg |
initramfs-tools: status |
New |
Fix Released |
|