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

Peter Petrakis peter.petrakis at canonical.com
Mon Aug 15 14:18:50 UTC 2011


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 at 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 at 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 at 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
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/824790

Title:
   IBM DS3400 Will Not Bring Up Second Path

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



More information about the Ubuntu-server-bugs mailing list