[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



On Mon, 11 Jul 2011, Rain Maker wrote:

> - 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.

sure this *is* the recommended workaround for such races.
such timing bugs occure in many different linux subsystems.

> - scsi_mod.scan=sync does not introduce any visual delay, but doesn't
> help me either.

of course as no scsi disks are involved.


> - I've also tried a couple of break= commands, but there doesn't seem
> to be a breakpoint between mdadm and LVM.

the breaks only help to debug stuff inbetween aka for manual interaction.
so false critic.
 
> Thank you for the suggestion.

thank you.

-- 
maks



Reply to: