root@andromeda:/dev/disk/by-path# ls -l
total 0
lrwxrwxrwx 1 root root 9 Dec 18 05:21 pci-0000:01:00.0-sas-phy0-lun-0 -> ../../sdf
lrwxrwxrwx 1 root root 9 Dec 18 05:22 pci-0000:01:00.0-sas-phy10-lun-0 -> ../../sdo
lrwxrwxrwx 1 root root 9 Dec 18 05:22 pci-0000:01:00.0-sas-phy12-lun-0 -> ../../sdj
lrwxrwxrwx 1 root root 9 Dec 18 05:22 pci-0000:01:00.0-sas-phy13-lun-0 -> ../../sdl
lrwxrwxrwx 1 root root 9 Dec 18 05:22 pci-0000:01:00.0-sas-phy14-lun-0 -> ../../sdp
lrwxrwxrwx 1 root root 9 Dec 18 05:22 pci-0000:01:00.0-sas-phy15-lun-0 -> ../../sdq
lrwxrwxrwx 1 root root 9 Dec 18 05:21 pci-0000:01:00.0-sas-phy1-lun-0 -> ../../sde
lrwxrwxrwx 1 root root 9 Dec 18 05:21 pci-0000:01:00.0-sas-phy2-lun-0 -> ../../sdd
lrwxrwxrwx 1 root root 9 Dec 18 05:21 pci-0000:01:00.0-sas-phy3-lun-0 -> ../../sdc
lrwxrwxrwx 1 root root 9 Dec 18 05:21 pci-0000:01:00.0-sas-phy4-lun-0 -> ../../sdb
lrwxrwxrwx 1 root root 9 Dec 18 05:21 pci-0000:01:00.0-sas-phy5-lun-0 -> ../../sda
lrwxrwxrwx 1 root root 9 Dec 18 05:21 pci-0000:01:00.0-sas-phy6-lun-0 -> ../../sdh
lrwxrwxrwx 1 root root 9 Dec 18 05:21 pci-0000:01:00.0-sas-phy7-lun-0 -> ../../sdg
lrwxrwxrwx 1 root root 9 Dec 18 05:22 pci-0000:01:00.0-sas-phy8-lun-0 -> ../../sdm
lrwxrwxrwx 1 root root 9 Dec 18 05:21 pci-0000:01:00.0-sas-phy9-lun-0 -> ../../sdi
Is it safe to assume this is 1-1 through 1-15, numbered from phy0 upwards and somehow missing out phy11 (presumably that’s the missing 16th drive?).
I’m looking to do something with consistent / persistent device naming as I setup ZFS.