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.
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/.*/" ]
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 00:00.9- scsi-0: 0:0:2 -> /dev/sdc 00:00.9- scsi-0: 0:0:2-part1 -> /dev/sdc1 00:00.9- scsi-0: 0:0:3 -> /dev/sdd 00:00.9- scsi-0: 0:0:3-part1 -> /dev/sdd1 00:1f.2- scsi-0: 0:0:0 -> /dev/sda 00:1f.2- scsi-0: 0:0:0-part1 -> /dev/sda1 00:1f.2- scsi-0: 0:0:1 -> /dev/sdb 00:1f.2- scsi-0: 0:0:1-part1 -> /dev/sdb1
total 0
lrwxrwxrwx 1 root root 8 2011-08-15 10:04 pci-0000:
lrwxrwxrwx 1 root root 9 2011-08-15 10:04 pci-0000:
lrwxrwxrwx 1 root root 8 2011-08-15 10:04 pci-0000:
lrwxrwxrwx 1 root root 9 2011-08-15 10:04 pci-0000:
lrwxrwxrwx 1 root root 8 2011-08-15 10:02 pci-0000:
lrwxrwxrwx 1 root root 9 2011-08-15 10:03 pci-0000:
lrwxrwxrwx 1 root root 8 2011-08-15 10:03 pci-0000:
lrwxrwxrwx 1 root root 9 2011-08-15 10:03 pci-0000:
Then, I commented out the existing "filter" directive on /etc/lvm/lvm.conf and tested: disk/by- path/pci- 0000:00: 00.9-scsi. *|", "r/.*/" ]
filter = ["a|/dev/
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 disk/by- path/pci- 0000:00: 1f.2-scsi- 0:0:0:0- part1 [ 7.45 GiB] disk/by- path/pci- 0000:00: 1f.2-scsi- 0:0:0:1- part1 [ 10.00 GiB]
/dev/
/dev/
0 disks
2 partitions
0 LVM physical volume whole disks
0 LVM physical volumes
root@kickseed: /dev/disk/ by-path# lvmdiskscan disk/by- path/pci- 0000:00: 00.9-scsi- 0:0:0:2- part1 [ 10.00 GiB] disk/by- path/pci- 0000:00: 00.9-scsi- 0:0:0:3- part1 [ 10.00 GiB]
/dev/
/dev/
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.