Bug#646900: [multipath-tools] Errors when Boot On SAN (IBM DS4700)

Ritesh Raj Sarraf rrs at debian.org
Wed Jan 4 18:23:34 UTC 2012


On 01/04/2012 11:39 PM, Laurent Bigonville wrote:
> Instead of loading all kernel modules, it could maybe be interesting
> to add a config file in /etc/initramfs-tools/conf.d/ to let the user
> select which hardware handler he wants to load before udev?

Yup. That'd be the best in this case.

Looks like we already are doing something like that:

====8<================8<====================8<===

maybe_break pre-multipath
VERBOSITY=0
MP_MODULES="dm-multipath dm-emc"

if [ ! -e /sbin/multipath ]; then
        exit 0
fi

verbose && log_begin_msg "Loading multipath modules"
for module in ${MP_MODULES}; do
  if modprobe --syslog "$module"; then
    verbose && log_success_msg "loaded module ${module}."
  else
    log_failure_msg "failed to load module ${module}."
  fi
done
verbose && log_end_msg

====8<================8<====================8<===


If anyone can try this out, it'll be great.


-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20120104/db97f2b5/attachment-0001.pgp>


More information about the pkg-lvm-maintainers mailing list