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

Guido Günther agx at sigxcpu.org
Fri Jul 25 03:33:45 UTC 2008


On Fri, Jul 25, 2008 at 04:03:01AM +0200, Janusz Dziemidowicz wrote:
[..snip..] 
> Unfortunately it does not work. /dev/mapper/wwid entry is not created.
> When I launch this manually from within initrd shell with -v2 I get:
> : failed to get sysfs information
Hmmm.weird - seems there's s.th. in multipath's sysfs code broken - I'll
check that once I have access to a MP system myself again. What about:

ACTION=="add", SUBSYSTEM=="block", RUN+="/sbin/multipath -v0 %N"

This should hopefully do the trick. As a last resort:

ACTION=="add", SUBSYSTEM=="block", RUN+="/sbin/multipath -v0 /dev/%k"

should work too. Could you try that?

> and this even does not work on the working system, I see the same
> error. Quick strace shows:
> stat("/sys/block/sda", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
> lstat("/sys/block/^Z", 0x7fff65f44df0)   = -1 ENOENT (No such file or directory)
> fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0x2af744b82000
> write(1, "\32: failed to get sysfs informati"..., 35) = 35
> 
> It's a bit too late for me to dig into this today.
No hurries. Thanks a lot for testing!
 -- Guido





More information about the pkg-lvm-maintainers mailing list