summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/zfs/Makefile.am3
-rw-r--r--etc/zfs/Makefile.in3
-rw-r--r--etc/zfs/vdev_id.conf.multipath.example7
-rw-r--r--etc/zfs/vdev_id.conf.sas_direct.example22
-rw-r--r--etc/zfs/vdev_id.conf.sas_switch.example7
5 files changed, 42 insertions, 0 deletions
diff --git a/etc/zfs/Makefile.am b/etc/zfs/Makefile.am
index 027c397e4..b1a1cf43c 100644
--- a/etc/zfs/Makefile.am
+++ b/etc/zfs/Makefile.am
@@ -1,6 +1,9 @@
pkgsysconfdir = $(sysconfdir)/zfs
pkgsysconf_DATA = \
+ vdev_id.conf.sas_direct.example \
+ vdev_id.conf.sas_switch.example \
+ vdev_id.conf.multipath.example \
zdev.conf \
zdev.conf.supermicro.example \
zdev.conf.dragon.example \
diff --git a/etc/zfs/Makefile.in b/etc/zfs/Makefile.in
index 1d223d885..f2aef91c3 100644
--- a/etc/zfs/Makefile.in
+++ b/etc/zfs/Makefile.in
@@ -314,6 +314,9 @@ udevdir = @udevdir@
udevruledir = @udevruledir@
pkgsysconfdir = $(sysconfdir)/zfs
pkgsysconf_DATA = \
+ vdev_id.conf.sas_direct.example \
+ vdev_id.conf.sas_switch.example \
+ vdev_id.conf.multipath.example \
zdev.conf \
zdev.conf.supermicro.example \
zdev.conf.dragon.example \
diff --git a/etc/zfs/vdev_id.conf.multipath.example b/etc/zfs/vdev_id.conf.multipath.example
new file mode 100644
index 000000000..c1359d37d
--- /dev/null
+++ b/etc/zfs/vdev_id.conf.multipath.example
@@ -0,0 +1,7 @@
+multipath yes
+
+# PCI_ID HBA PORT CHANNEL NAME
+channel 85:00.0 1 A
+channel 85:00.0 0 B
+channel 86:00.0 1 A
+channel 86:00.0 0 B
diff --git a/etc/zfs/vdev_id.conf.sas_direct.example b/etc/zfs/vdev_id.conf.sas_direct.example
new file mode 100644
index 000000000..a0c43a78c
--- /dev/null
+++ b/etc/zfs/vdev_id.conf.sas_direct.example
@@ -0,0 +1,22 @@
+multipath no
+topology sas_direct
+phys_per_port 4
+
+# PCI_ID HBA PORT CHANNEL NAME
+channel 85:00.0 1 A
+channel 85:00.0 0 B
+channel 86:00.0 1 C
+channel 86:00.0 0 D
+
+# Linux Mapped
+# Slot Slot
+slot 1 7
+slot 2 10
+slot 3 3
+slot 4 6
+slot 5 2
+slot 6 8
+slot 7 1
+slot 8 4
+slot 9 9
+slot 10 5
diff --git a/etc/zfs/vdev_id.conf.sas_switch.example b/etc/zfs/vdev_id.conf.sas_switch.example
new file mode 100644
index 000000000..b87d65527
--- /dev/null
+++ b/etc/zfs/vdev_id.conf.sas_switch.example
@@ -0,0 +1,7 @@
+topology sas_switch
+
+# SWITCH PORT CHANNEL NAME
+channel 1 A
+channel 2 B
+channel 3 C
+channel 4 D