diff options
author | Simon Guest <[email protected]> | 2017-09-28 06:39:47 +1300 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-09-27 10:39:47 -0700 |
commit | 269db7a4b3ef2bc14f3c2cf95f050479cbd69e72 (patch) | |
tree | 0db5488ac7ecbc7ca979eea49b600b6dba94a7d7 /etc/zfs/vdev_id.conf.scsi.example | |
parent | 0c484ab5677ffaa3e0e2371456deb4f8eb370388 (diff) |
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 <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Simon Guest <[email protected]>
Closes #6592
Diffstat (limited to 'etc/zfs/vdev_id.conf.scsi.example')
-rw-r--r-- | etc/zfs/vdev_id.conf.scsi.example | 9 |
1 files changed, 9 insertions, 0 deletions
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 |