[Bug 1434261] Re: udev keeps a lock on devices while multipath-tools runs in initramfs
Mathieu Trudel-Lapierre
mathieu.tl at gmail.com
Fri Mar 20 18:24:28 UTC 2015
*** This bug is a duplicate of bug 1431650 ***
https://bugs.launchpad.net/bugs/1431650
** This bug has been marked a duplicate of bug 1431650
Multipath devices take long to initialize during initramfs
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1434261
Title:
udev keeps a lock on devices while multipath-tools runs in initramfs
Status in multipath-tools package in Ubuntu:
In Progress
Bug description:
It appears that multipath-tools has issues running its script
(detecting multipath devices, then running kpartx to pick up
partitions, which in turn will also trigger a new run of udev rules
evaluation) because udev may not always be done with settling and
evaluating rules by the time the local-top/multipath script gets run.
This happens because some devices take a while to be detected, which
also causes the settling to take some time. Before running multipath
-v0 or kpartx, which will also trigger udev to do work, we should make
sure udev has released the locks it may have on those devices, since
multipath will attempt to get an exclusive lock on them too.
This can be easily reproduced in QEMU multipath installs: booting
after installation will take a long time, and the resulting boot will
not always be started with the multipath device
(/dev/mapper/mpath[0-9]+(-part[0-9]+)?) but may instead be using the
first single drive it found matching the proper UUID. (see also bug
1429327)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1434261/+subscriptions
More information about the foundations-bugs
mailing list