OK, yeah, the issue is that while the P-record for /sys/block/* entries has sufficient information to discriminate between devices, it's not all making its way into the ID_PATH variable off which the /dev/disks/by-path entry is constructed.
I've got two devices in my virtual machine: P: /devices/pci0000.00/0000:00:01.1/ata2/host1/target1:0:1/1:0:1:0/block/sdc P: /devices/pci0000.00/0000:00:01.1/ata1/host0/target0:0:1/0:0:1:0/block/sdb they both get ID_PATH=pci-0000:00:01.1-scsi-0:0:1:0 ID_PATH_TAG=s/ID_PATH/:/_/g losing the difference. on my workstation, the devices on my 8-port SAS card are properly differentiated, as are those on my on-board intel and marvell sata. i've also got two marvell pcie sata cards, though, and there we again see the ID_PATH folding down. P: /devices/pci0000.00/0000:00:1f.2/ata2/host2/target2:0:0/2:0:0:0/block/sdj P: /devices/pci0000.00/0000:00:1f.2/ata1/host1/target1:0:0/1:0:0:0/block/sdi both going to ID_PATH=pci-0000:00:1f.2-scsi-0_0_0_0 looks like including the ata/host/target information would be necessary and sufficient to resolve this issue. -- nick black -- http://www.sprezzatech.com -- unix/hpc consulting "if you want to make an apple pie from scratch, you must first invent a universe." -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org