From 269db7a4b3ef2bc14f3c2cf95f050479cbd69e72 Mon Sep 17 00:00:00 2001 From: Simon Guest Date: Thu, 28 Sep 2017 06:39:47 +1300 Subject: vdev_id: extension for new scsi topology On systems with SCSI rather than SAS disk topology, this change enables the vdev_id script to match against the block device path, and therefore create a vdev alias in /dev/disk/by-vdev. Reviewed-by: Tony Hutter Reviewed-by: Brian Behlendorf Signed-off-by: Simon Guest Closes #6592 --- etc/zfs/vdev_id.conf.scsi.example | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 etc/zfs/vdev_id.conf.scsi.example (limited to 'etc/zfs/vdev_id.conf.scsi.example') diff --git a/etc/zfs/vdev_id.conf.scsi.example b/etc/zfs/vdev_id.conf.scsi.example new file mode 100644 index 000000000..b8c0ab2bf --- /dev/null +++ b/etc/zfs/vdev_id.conf.scsi.example @@ -0,0 +1,9 @@ +multipath no +topology scsi +phys_per_port 1 +# Usually scsi disks are numbered from 0, but this can be offset, to +# match the physical bay numbers, as follows: +first_bay_number 1 + +# PCI_ID HBA PORT CHANNEL NAME +channel 0c:00.0 0 Y -- cgit v1.2.3