Been reading more about setting up /etc/zfs/vdev_id.conf (also here) and was wondering if anyone with larger arrays has tried the by channel/slot method?
I would like to see disks in vdev as something like Ua0, Ub0 (upper jbod, channel 1, disc 0 and disk 1) Lc3, Ld3 (lower jbod, channel 4, disk 2 and disk 3)
I've been playing with it but I'm at a bit of a loss. I think the slot mapping is required because not specifying/using the defaults I'm getting duplicate Ids/phys...
(note, all outputs abbreviated)
My topology: 2x M1015/ LSi 9220-8i both ports on each M1015 are connected to an IBM 46M0997 expander.. Each expander connects a 16 slot backplane
so PCI slot:
and end devices :
Thanks!
I would like to see disks in vdev as something like Ua0, Ub0 (upper jbod, channel 1, disc 0 and disk 1) Lc3, Ld3 (lower jbod, channel 4, disk 2 and disk 3)
I've been playing with it but I'm at a bit of a loss. I think the slot mapping is required because not specifying/using the defaults I'm getting duplicate Ids/phys...
(note, all outputs abbreviated)
Code:
# ls /dev/disk/by-id/ ata-SAMSUNG_HD103SJ_S246J9GB102368 ata-ST3750640NS_5QD4EAYM ata-SAMSUNG_HD103SJ_S246J9GB102368-part1 ata-ST3750640NS_5QD4EAYM-part1 ata-SAMSUNG_HD103SJ_S246J9GB102368-part2 ata-ST3750640NS_5QD4EAYM-part2 ...
My topology: 2x M1015/ LSi 9220-8i both ports on each M1015 are connected to an IBM 46M0997 expander.. Each expander connects a 16 slot backplane
so PCI slot:
0a:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
0c:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 02)
and end devices :
Code:
# ls -l /sys/class/sas_end_device total 0 lrwxrwxrwx 1 root root 0 Jun 11 15:38 end_device-2:0:0 -> ../../devices/pci0000:00/0000:00:04.0/0000:0a:00.0/host2/port-2:0/expander-2:0/port-2:0:0/end_device-2:0:0/sas_end_device/end_device-2:0:0 lrwxrwxrwx 1 root root 0 Jun 11 15:38 end_device-2:0:1 -> ../../devices/pci0000:00/0000:00:04.0/0000:0a:00.0/host2/port-2:0/expander-2:0/port-2:0:1/end_device-2:0:1/sas_end_device/end_device-2:0:1 lrwxrwxrwx 1 root root 0 Jun 11 15:38 end_device-3:0:0 -> ../../devices/pci0000:00/0000:00:06.0/0000:0c:00.0/host3/port-3:0/expander-3:0/port-3:0:0/end_device-3:0:0/sas_end_device/end_device-3:0:0 lrwxrwxrwx 1 root root 0 Jun 11 15:38 end_device-3:0:1 -> ../../devices/pci0000:00/0000:00:06.0/0000:0c:00.0/host3/port-3:0/expander-3:0/port-3:0:1/end_device-3:0:1/sas_end_device/end_device-3:0:1 ..
Thanks!