multipath: error getting device

This is a multi-part message in MIME format. --------------040308090200020008010208 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I'm seeing a continuous stream of multipath errors on my Centos 7 hosts with ovirt 3.5 rc1.1. Can't find a bug for it except https://bugzilla.redhat.com/show_bug.cgi?id=675366 Sep 8 11:34:13 host1 kernel: device-mapper: table: 253:3: multipath: error getting device Sep 8 11:34:13 host1 kernel: device-mapper: ioctl: error adding target to table Sep 8 11:34:13 host1 multipathd: dm-3: remove map (uevent) Sep 8 11:34:13 host1 multipathd: dm-3: remove map (uevent) Sep 8 11:34:23 host1 kernel: device-mapper: table: 253:3: multipath: error getting device Sep 8 11:34:23 host1 kernel: device-mapper: ioctl: error adding target to table Sep 8 11:34:23 host1 multipathd: dm-3: remove map (uevent) Sep 8 11:34:23 host1 multipathd: dm-3: remove map (uevent) Sep 8 11:34:33 host1 kernel: device-mapper: table: 253:3: multipath: error getting device Sep 8 11:34:33 host1 kernel: device-mapper: ioctl: error adding target to table We don't use multipath, but it's a bit annoying as it's filling up the console and logs..... Kind regards, Jorick Astrego Netbulae B.V. --------------040308090200020008010208 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> Hi,<br> <br> I'm seeing a continuous stream of multipath errors on my Centos 7 hosts with ovirt 3.5 rc1.1.<br> <br> Can't find a bug for it except <a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=675366">https://bugzilla.redhat.com/show_bug.cgi?id=675366</a><br> <br> <blockquote>Sep 8 11:34:13 host1 kernel: device-mapper: table: 253:3: multipath: error getting device<br> Sep 8 11:34:13 host1 kernel: device-mapper: ioctl: error adding target to table<br> Sep 8 11:34:13 host1 multipathd: dm-3: remove map (uevent)<br> Sep 8 11:34:13 host1 multipathd: dm-3: remove map (uevent)<br> Sep 8 11:34:23 host1 kernel: device-mapper: table: 253:3: multipath: error getting device<br> Sep 8 11:34:23 host1 kernel: device-mapper: ioctl: error adding target to table<br> Sep 8 11:34:23 host1 multipathd: dm-3: remove map (uevent)<br> Sep 8 11:34:23 host1 multipathd: dm-3: remove map (uevent)<br> Sep 8 11:34:33 host1 kernel: device-mapper: table: 253:3: multipath: error getting device<br> Sep 8 11:34:33 host1 kernel: device-mapper: ioctl: error adding target to table<br> </blockquote> We don't use multipath, but it's a bit annoying as it's filling up the console and logs.....<br> <br> Kind regards,<br> <br> Jorick Astrego<br> Netbulae B.V.<br> </body> </html> --------------040308090200020008010208--

Hi Jorick, This error is most often caused by multipath attempting to map a device which is already in use, such as if its mounted or mapped by an active LVM logical volume. If the blacklist in /etc/multipath.conf does not restrict multipath from mapping the device, then when it gets run during boot it will attempt to map it. Because the device is in use, this mapping will fail. Have you tried the blacklisting procedure mentioned at comment 3 in the bug? https://bugzilla.redhat.com/show_bug.cgi?id=675366#c3 ----- Original Message -----
From: "Jorick Astrego" <j.astrego@netbulae.eu> To: users@ovirt.org Sent: Monday, September 8, 2014 12:40:20 PM Subject: [ovirt-users] multipath: error getting device
Hi,
I'm seeing a continuous stream of multipath errors on my Centos 7 hosts with ovirt 3.5 rc1.1.
Can't find a bug for it except https://bugzilla.redhat.com/show_bug.cgi?id=675366
Sep 8 11:34:13 host1 kernel: device-mapper: table: 253:3: multipath: error getting device Sep 8 11:34:13 host1 kernel: device-mapper: ioctl: error adding target to table Sep 8 11:34:13 host1 multipathd: dm-3: remove map (uevent) Sep 8 11:34:13 host1 multipathd: dm-3: remove map (uevent) Sep 8 11:34:23 host1 kernel: device-mapper: table: 253:3: multipath: error getting device Sep 8 11:34:23 host1 kernel: device-mapper: ioctl: error adding target to table Sep 8 11:34:23 host1 multipathd: dm-3: remove map (uevent) Sep 8 11:34:23 host1 multipathd: dm-3: remove map (uevent) Sep 8 11:34:33 host1 kernel: device-mapper: table: 253:3: multipath: error getting device Sep 8 11:34:33 host1 kernel: device-mapper: ioctl: error adding target to table We don't use multipath, but it's a bit annoying as it's filling up the console and logs.....
Kind regards,
Jorick Astrego Netbulae B.V.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 14-9-2014 8:39, Daniel Erez wrote:
Hi Jorick,
This error is most often caused by multipath attempting to map a device which is already in use, such as if its mounted or mapped by an active LVM logical volume. If the blacklist in /etc/multipath.conf does not restrict multipath from mapping the device, then when it gets run during boot it will attempt to map it. Because the device is in use, this mapping will fail.
What I tend to do these days is that if I don't have multipath or might start using multipath somewhere in the future is to blacklist all devices and then whitelist the real multipath devices when needed. amend /etc/multipath.conf with this: blacklist { wwid "*" } Joop
participants (3)
-
Daniel Erez
-
Joop
-
Jorick Astrego