[Bug 1030040] Re: multipath-tools create duplicate device

Peter Petrakis peter.petrakis at canonical.com
Mon Jul 30 15:39:55 UTC 2012


Hmm, A reproduction case is going to be necessary, there are some
weird things going on in syslog.2 which I'm unfamiliar with. Unfortunately,
I don't have access to a symmetrix either. I really need to have multipathd running
in the foreground, with full logging to a file, to catch what went down.

>From 7/27/12 00:38:48  --  00:38:58 I just see lines and lines of this:
Jul 27 00:38:58 Linux51 multipathd: mpath12: sdm - emc_clariion_checker: Logical Unit is unbound or LUNZ

For about every block device, this messages means the path is down. It's safety against issuing IO
to a LUNZ which will block forever.

libmultipath/checkers/emc_clariion.c

        if ( /* LUN should at least be bound somewhere and not be LUNZ */
                sense_buffer[4] == 0x00) {
                MSG(c, "emc_clariion_checker: Logical Unit is unbound "
                    "or LUNZ");
                return PATH_DOWN;
        }

After a few filters...
Jul 27 05:45:36 Linux51 kernel: [188724.191711] scsi 6:0:0:0: Direct-Access     DGC      LUNZ             0532 PQ: 0 ANSI: 4
Jul 27 05:45:36 Linux51 kernel: [188724.193584] scsi 6:0:1:0: Direct-Access     DGC      LUNZ             0532 PQ: 0 ANSI: 4
Jul 27 05:45:43 Linux51 kernel: [188730.940803] scsi 5:0:0:0: Direct-Access     DGC      LUNZ             0532 PQ: 0 ANSI: 4
Jul 27 05:45:43 Linux51 kernel: [188730.942590] scsi 5:0:1:0: Direct-Access     DGC      LUNZ             0532 PQ: 0 ANSI: 4

ok, that's 4, but there were dozens in the logs, which means the rest
were unbound.

Then there's this,
Jul 27 00:39:49 Linux51 udevd[26799]: timeout '/sbin/blkid -o udev -p /dev/dm-53'
Jul 27 00:39:49 Linux51 udevd[26794]: timeout '/sbin/blkid -o udev -p /dev/dm-52'

Jul 27 00:39:50 Linux51 udevd[26848]: timeout: killing '/sbin/blkid -o udev -p /dev/dm-66' [26890]
Jul 27 00:39:50 Linux51 udevd[26857]: timeout: killing '/sbin/blkid -o udev -p /dev/dm-60' [26899]
...

Something is off, if multipath did create two maps to the same device I suspect it to be a victim
of these path availability issues.

<11:37:45>multipath_conf$ zcat syslog.2.gz | grep unbound | sort -u | wc -l
43055

That can't be right.

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

Title:
  multipath-tools create duplicate device

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

Bug description:
  I am testing Ubuntu12.04LTS and find  multipath-tools could create
  duplicate device on same device.

  root at Linux51:~# lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 12.04 LTS
  Release:        12.04
  Codename:       precise

  
  root at Linux51:~# apt-cache policy multipath-tools
  multipath-tools:
    Installed: 0.4.9-3ubuntu5
    Candidate: 0.4.9-3ubuntu5
    Version table:
   *** 0.4.9-3ubuntu5 0


  root at Linux51:~# multipath -ll mpath35
  mpath35 (3600601601c102900cce9d9e2ae3fe011) dm-19 DGC,VRAID
  size=12G features='1 queue_if_no_path' hwhandler='1 emc' wp=rw
  |-+- policy='round-robin 0' prio=1 status=active
  | |- 5:0:3:10 sdau 66:224 active ready running
  | `- 6:0:3:10 sddg 70:224 active ready running
  `-+- policy='round-robin 0' prio=0 status=enabled
    |- 5:0:2:10 sdr  65:16  active ready running
    `- 6:0:2:10 sdcd 69:16  active ready running
  root at Linux51:~# multipath -ll mpath36
  mpath36 (3600601601c102900d4e9d9e2ae3fe011) dm-20 DGC,VRAID
  size=12G features='1 queue_if_no_path' hwhandler='1 emc' wp=rw
  |-+- policy='round-robin 0' prio=1 status=active
  | |- 5:0:3:10 sdau 66:224 active ready running
  | `- 6:0:3:10 sddg 70:224 active ready running
  `-+- policy='round-robin 0' prio=0 status=enabled
    |- 5:0:2:10 sdr  65:16  active ready running
    `- 6:0:2:10 sdcd 69:16  active ready running

  after useing multipath -f 3600601601c102900cce9d9e2ae3fe011,  the
  mpath35 disapper, even reboot host

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




More information about the foundations-bugs mailing list