Re: [ovirt-users] multipath: error getting device

2014-09-14 Thread Daniel Erez
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.astr...@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
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] multipath: error getting device

2014-09-14 Thread Joop
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

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] multipath: error getting device

2014-09-08 Thread Jorick Astrego

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