Bug#489850: multipath-tools-boot: fails to boot from a slow devices

Guido Günther agx at sigxcpu.org
Tue Jul 29 17:15:45 UTC 2008


Hi Janusz,
On Tue, Jul 29, 2008 at 04:43:02AM -0400, Guido Günther wrote:
> Thanks a lot for testing! I'll use this for lenny then. It's not as nice
> as major:minor but the advantage is rather academic - having stable
> multipath in lenny is more important. I just noticed that We also need
> to care about change events:
> 
> ACTION=="add|change", SUBSYSTEM=="block", RUN+="/sbin/multipath -v0 /dev/%k"
This is what I intend to commit (since this isn't only useful in the
initramfs this way we also have it in the acutal root fs) - just in case
you feel like testing a bit more (otherwise I'll git it a whirl
tomorrow):

This helps slow devices when either /etc/init.d/multipath-tools-boot or
the initramfs script are being run although the devices are not ready
yet. 

Thanks: Janusz Dziemidowicz for his suggestions and testing
---
 debian/multipath.udev |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/debian/multipath.udev b/debian/multipath.udev
index 9d3579f..a689c67 100644
--- a/debian/multipath.udev
+++ b/debian/multipath.udev
@@ -5,3 +5,8 @@
 
 # socket for uevents
 RUN+="socket:/org/kernel/dm/multipath_event"
+
+# Coalesce multipath devices before multipathd is running (initramfs, early
+# boot)
+ACTION=="add|change", SUBSYSTEM=="block", RUN+="/sbin/multipath -v0 /dev/%k"
+
-- 
1.5.6.3






More information about the pkg-lvm-maintainers mailing list