[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#814036: initramfs-tools: mdadm doesn't assemble disk



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.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: