Bug#814036: initramfs-tools: mdadm doesn't assemble disk
Ben Hutchings
ben at decadent.org.uk
Sun Feb 7 21:50:03 UTC 2016
Control: reassign -1 mdadm
On Sun, 2016-02-07 at 20:07 +0100, Samuel Thibault wrote:
> Package: initramfs-tools
> Version: 0.120
> Severity: important
>
> Hello,
>
> Our server failed to reboot this afternoon. initrd was stuck trying to
> get the root device, running local-block in a loop before starting an
> emergency shell. There, running mdam -A --scan discovered everything
> and exitting the shell allowed the boot to proceed. There was no
> previous mention in the boot about being running mdadm.
>
> My guess (we can't really afford retrying etc. as it's a production
> system) is that AIUI mdadm is called just once from local-top, but
> that's perhaps too early, the disks are not yet discovered because the
> controller is slow. local-block is then run repeatedly to try to get the
> block devices, but mdadm from local-top should be called repeatedly too
> to try to assemble the md too?
It has always been documented that local-top scripts will be run
exactly once. We can't change that behaviour now. It's up to the
mdadm package to retry whatever needs to be done in its local-block
script.
Ben.
--
Ben Hutchings
In a hierarchy, every employee tends to rise to his level of incompetence.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20160207/9ba202d6/attachment.sig>
More information about the pkg-mdadm-devel
mailing list