Bug#489850: multipath-tools-boot: fails to boot from a slow devices
Janusz Dziemidowicz
janusz.dziemidowicz at nasza-klasa.pl
Tue Jul 8 07:58:34 UTC 2008
Package: multipath-tools-boot
Version: 0.4.8-10
Severity: critical
Justification: breaks the whole system
I've got a system with QLogic ISP2432 Fibre Channel card which I was
trying to boot from a multipathed /. Unfortunately multipath-tools-boot
was unable to boot the system, as it takes a while for the LUN to appear
on the system, so it is available only after /sbin/multipath was ran.
So there were no devices created in /dev/mapper/ and the system was unable
to boot, since it was set to use /dev/mapper.
I think, that /sbin/multipath shouldn't be ran only once during the system
start, but it should be triggered whenever a new device is discovered
(since initrd will wait for a root device to appear this would work nicely).
As a quick workaround I've added the following line:
echo 'ACTION=="add", SUBSYSTEM=="block", KERNEL=="sd[a-z]", RUN+="/sbin/multipath"' > $DESTDIR/etc/udev/rules.d/z60_multipath.rules
to /usr/share/initramfs-tools/hooks/multipath and I've rebuilt initramfs.
This fixes the problem for me.
-- Package-specific info:
Contents of /etc/multipath.conf:
defaults {
udev_dir /dev
polling_interval 3
selector "round-robin 0"
path_grouping_policy failover
getuid_callout "/lib/udev/scsi_id -g -u -s /block/%n"
path_checker directio
rr_min_io 100
failback immediate
features "1 queue_if_no_path"
}
blacklist {
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^hd[a-z][[0-9]*]"
devnode "^cciss"
}
devices {
device {
vendor "3PARdata"
product "VV"
}
}
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages multipath-tools-boot depends on:
ii debconf [debconf-2.0] 1.5.20 Debian configuration management sy
ii initramfs-tools 0.91e tools for generating an initramfs
ii multipath-tools 0.4.8-10 maintain multipath block device ac
multipath-tools-boot recommends no packages.
-- debconf information excluded
More information about the pkg-lvm-maintainers
mailing list