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

Bug#633024: initramfs-tools: Race condition when root filesystem is on a LV and mdadm array



2011/7/8, maximilian attems <max@stro.at>:
> On Fri, 08 Jul 2011, Roel Brook wrote:
>
>> When booting the system, it seems there is a race condition between
>> assembling
>>..
>> "lvm vgdisplay" after running a "lvm vgchange -ay"
>
> tried to use rootdelay=X with a small value?
> see http://wiki.debian.org/InitramfsDebug
>
> --
> maks
>

I tried the suggestions on the page you metioned. Unfortunatly, they
do not help in this situation.

- The rootdelay=X option does as advertised: "Also it adds time to
scsi device to settle before calling mdadm or lvm thus excluding
potential races.".
In this situation, I seem to need a delay between assembling mdadm and
activating the VG's.
- scsi_mod.scan=sync does not introduce any visual delay, but doesn't
help me either.
- I've also tried a couple of break= commands, but there doesn't seem
to be a breakpoint between mdadm and LVM.

Thank you for the suggestion.
Roel



Reply to: