[Bug 927540] Re: multipath ignores blacklist in multipath.conf

Lukasz Szulik bliter at interia.pl
Sat Oct 6 20:48:35 UTC 2012


This is not a bug of multipathd.
I gues that you are using DELL MD3xxx multipath installer. This install script provide new
initrd that have one significant change - add multipath.conf (the same as they add  in standard /etc) in initrd environment.

So - at the initrd stage when lvm starts (with default lvm.conf @initrd) they links local filesystem lvm to multipath
device. When chroot phase is in time your config defined in root /etc/multipath.conf can't remove PERC
multipath dev because they are already in use by root fs.

Solution - please swap initramfs (@ /boot/..) to the original (it's now rename) and at the initrd stage no multipath
devices of PERC  will be created. You multipath.conf in rootfs /etc/multipath.conf are OK).

regards LS

-- 
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/927540

Title:
  multipath ignores blacklist in multipath.conf

Status in “multipath-tools” package in Ubuntu:
  Incomplete

Bug description:
  Multipath in Ubuntu 12.04 ignores blacklist settings in multipath.conf

  In multipath.conf the following blacklist is configured:

  
  blacklist {
          wwid 36782bcb070070100166a7a1640a66db2
          devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
          devnode "^hd[a-z][[0-9]*]"
          devnode "^vd[a-z]"
          devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
          device {
                  vendor "DELL*"
                  product "PERC*"
          }
          device {
                  vendor  "*"
                  product "Universal Xport"
          }
          device {
                  vendor  "*"
                  product "MD3000"
          }
          device {
                  vendor  "*"
                  product "MD3000i"
          }
          device {
                  vendor  "*"
                  product "Virtual Disk"
          }
  }

  Still multipath -ll lists the internal SAS HDD (via Dell Perc 6/i
  Controller):

  ...
  36782bcb070070100166a7a1640a66db2 dm-0 DELL,PERC 6/i
  size=136G features='0' hwhandler='0' wp=rw
  `-+- policy='round-robin 0' prio=1 status=active
    `- 2:2:0:0  sda  8:0    active ready running
  ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/927540/+subscriptions




More information about the foundations-bugs mailing list