On 3/28/07, Ian Jackson <[EMAIL PROTECTED]> wrote:
> Aurelien Naldi writes ("Re: [Bug 75681] Re: boot-time race condition
> initializing md"):
> > With older versions (of mdadm I think) the RAID was assembled, but
> > degraded or kind of assembled but not startable (when only 1 or 2 disk
> > were present at first). a "--no-degraded" option was added in the
> > mdadm script to avoid this. Now the RAID does not try to start when
> > drive(s) are missing (i.e. is never assembled in degraded mode) but
> > weird things are still hapening.
>
> OK, so the main symptom in the log that I'm looking at was that you
> got an initramfs prompt ?
a normal boot would have given me a busybox yes, but I added
"break=premount here", so the shell is not exactly a bug ;)
The bug is that my array was not _correctly_ assembled after running udevtrigger
> > I do not recall which devices were in the "assembled" array when I
> > launched this one, but the RAID was _not_ degraded. But I guess you
> > have it right: I had sometime enough time to see in /proc/partition
> > only a few of my drives, and the array was assembled with these. Once
> > all the devices are there, runing /scripts/local-top/mdadm again fixes
> > it all.
>
> Right. Did you have to rerun vgscan ?
Not this time, but the array was present and exiting the shell
resulted in a working boot, LVM has no problem anymore for me.
> > after running udevd and udevtrigger, I checked that things were well
> > broken (it works too fine in my two first attempts) and then all I had
> > to do is running "/scripts/local-top/mdadm" once more and the array
> > was correctly assembled.
>
> Right.
>
> > I have not started LVM by hand, I copied the udevd.out to one of my
> > normal partition, then exited the shell and it finished to boot fine.
>
> You mounted your root fs by hand, though ?
No, I copied the output to one of my boot partition, one that is _not_
in the RAID/LVM. I did it to avoir running vgscan and friends by hand
to see if the next part of the boot goes fine or not.
--
boot-time race condition initializing md
https://launchpad.net/bugs/75681
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs