← Back to team overview

ubuntu-storage-dev team mailing list archive

[Bug 824790] Re: IBM DS3400 Will Not Bring Up Second Path

 

In an addition to the MP issues, LVM was misconfigured. We attempt
to repair this on one of the blades but the config file just wouldn't *take*.
I suspect there was something else going, especially since we didn't
even have direct access to the console and was forced to relay
directives to the customer to execute.

I set up a mock test environment to test the the filtering by
PCI device.

root@kickseed:/dev/disk/by-path# ls -l
total 0
lrwxrwxrwx 1 root root 8 2011-08-15 10:04 pci-0000:00:00.9-scsi-0:0:0:2 -> /dev/sdc
lrwxrwxrwx 1 root root 9 2011-08-15 10:04 pci-0000:00:00.9-scsi-0:0:0:2-part1 -> /dev/sdc1
lrwxrwxrwx 1 root root 8 2011-08-15 10:04 pci-0000:00:00.9-scsi-0:0:0:3 -> /dev/sdd
lrwxrwxrwx 1 root root 9 2011-08-15 10:04 pci-0000:00:00.9-scsi-0:0:0:3-part1 -> /dev/sdd1
lrwxrwxrwx 1 root root 8 2011-08-15 10:02 pci-0000:00:1f.2-scsi-0:0:0:0 -> /dev/sda
lrwxrwxrwx 1 root root 9 2011-08-15 10:03 pci-0000:00:1f.2-scsi-0:0:0:0-part1 -> /dev/sda1
lrwxrwxrwx 1 root root 8 2011-08-15 10:03 pci-0000:00:1f.2-scsi-0:0:0:1 -> /dev/sdb
lrwxrwxrwx 1 root root 9 2011-08-15 10:03 pci-0000:00:1f.2-scsi-0:0:0:1-part1 -> /dev/sdb1

Then, I commented out the existing "filter" directive on /etc/lvm/lvm.conf and tested:
    filter = ["a|/dev/disk/by-path/pci-0000:00:00.9-scsi.*|", "r/.*/" ]

and

    filter = ["a|/dev/disk/by-path/pci-0000:00:1f.2-scsi.*|", "r/.*/" ]

lvmdiskscan confirms the filter directives.

root@kickseed:/dev/disk/by-path# lvmdiskscan 
  /dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0-part1 [       7.45 GiB] 
  /dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:1-part1 [      10.00 GiB] 
  0 disks
  2 partitions
  0 LVM physical volume whole disks
  0 LVM physical volumes

root@kickseed:/dev/disk/by-path# lvmdiskscan 
  /dev/disk/by-path/pci-0000:00:00.9-scsi-0:0:0:2-part1 [      10.00 GiB] 
  /dev/disk/by-path/pci-0000:00:00.9-scsi-0:0:0:3-part1 [      10.00 GiB] 
  0 disks
  2 partitions
  0 LVM physical volume whole disks
  0 LVM physical volumes

I'm going to leave this part of the effort to customer support. There are
no bugs in LVM filtering, simply execution issues.

-- 
You received this bug notification because you are a member of Ubuntu
Storage Development Team, which is a bug assignee.
https://bugs.launchpad.net/bugs/824790

Title:
   IBM DS3400 Will Not Bring Up Second Path

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

Bug description:
  System configuration is an IBM HS21 blade connected to an IBM DS3400 SAN.
  The system is running Ubuntu 10.10 with multipath-tools version: 0.4.8-14ubuntu4.10.10.2
  The Ubuntu OS is installed on an internal disk and not the SAN.

  multipathd> show paths 
  hcil dev dev_t pri dm_st chk_st next_check 
  0:0:0:0 sda 8:0 0 [undef][ghost] [orphan] 
  1:0:0:0 sdb 8:16 3 [undef][ready] [orphan] 
  2:1:1:0 sdc 8:32 1 [undef][ready] [orphan] 

  It appears everything is working but multipathd cant define the maps,
  a multipath -v 6 shows

  "360080e50001b5f4c00003d284e37e864: domap (0) failure for
  create/reload map"

  That is the uuid of the path associated with /sda and /sdb but it cant
  seem to create it.

  libdevmapper: ioctl/libdm-iface.c(1740): dm reload 360080e50001b5f4c00003d284e37e864 OF [16384] 
  libdevmapper: ioctl/libdm-iface.c(1757): device-mapper: reload ioctl failed: Invalid argument 
  libdevmapper: ioctl/libdm-iface.c(1740): dm remove 360080e50001b5f4c00003d284e37e864 NF [16384] 
  libdevmapper: libdm-common.c(799): 360080e50001b5f4c00003d284e37e864: Stacking NODE_DEL (replaces other stacked ops) 
  libdevmapper: ioctl/libdm-iface.c(1740): dm info 360080e50001b5f4c00003d284e37e864 NF [16384] 
  360080e50001b5f4c00003d284e37e864: domap (0) failure for create/reload map 
  360080e50001b5f4c00003d284e37e864: remove multipath map 
  sda: orphaned 
  sdb: orphaned

  The SAN is on devices sda and sdb.  The internal root disk is sdc.
  The device sda is reporting I/O errors in syslog because multipath
  cannot bring up the path.

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