diff options
author | Brian Behlendorf <[email protected]> | 2013-01-29 10:53:19 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-01-29 12:23:17 -0800 |
commit | dbf763b39b232996f0d6bb0022e4446643c18e05 (patch) | |
tree | a7c53dccf053df26b2bfa8144ab845680fd87ad2 /etc | |
parent | 79c6e4c44538414340a43c065f850d11cb0203af (diff) |
Retire zpool_id infrastructure
In the interest of maintaining only one udev helper to give vdevs
user friendly names, the zpool_id and zpool_layout infrastructure
is being retired. They are superseded by vdev_id which incorporates
all the previous functionality.
Documentation for the new vdev_id(8) helper and its configuration
file, vdev_id.conf(5), can be found in their respective man pages.
Several useful example files are installed under /etc/zfs/.
/etc/zfs/vdev_id.conf.alias.example
/etc/zfs/vdev_id.conf.multipath.example
/etc/zfs/vdev_id.conf.sas_direct.example
/etc/zfs/vdev_id.conf.sas_switch.example
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #981
Diffstat (limited to 'etc')
-rw-r--r-- | etc/zfs/Makefile.am | 6 | ||||
-rw-r--r-- | etc/zfs/zdev.conf | 9 | ||||
-rw-r--r-- | etc/zfs/zdev.conf.dragon.example | 176 | ||||
-rw-r--r-- | etc/zfs/zdev.conf.supermicro.example | 30 | ||||
-rw-r--r-- | etc/zfs/zdev.conf.x4550.example | 66 |
5 files changed, 1 insertions, 286 deletions
diff --git a/etc/zfs/Makefile.am b/etc/zfs/Makefile.am index dd864f4a2..ff35469fe 100644 --- a/etc/zfs/Makefile.am +++ b/etc/zfs/Makefile.am @@ -4,10 +4,6 @@ pkgsysconf_DATA = \ vdev_id.conf.alias.example \ 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 \ - zdev.conf.x4550.example + vdev_id.conf.multipath.example EXTRA_DIST = $(pkgsysconf_DATA) diff --git a/etc/zfs/zdev.conf b/etc/zfs/zdev.conf deleted file mode 100644 index 236c342b3..000000000 --- a/etc/zfs/zdev.conf +++ /dev/null @@ -1,9 +0,0 @@ -# -# Custom by-path mapping for large JBOD configurations -# -# Example Config: Desktop -# - -#<ID> <by-path name> -#disk1 pci-0000:61:06.1-scsi-0:0:0:0 -#disk2 pci-0000:61:06.1-scsi-0:0:0:1 diff --git a/etc/zfs/zdev.conf.dragon.example b/etc/zfs/zdev.conf.dragon.example deleted file mode 100644 index 23ef7f09d..000000000 --- a/etc/zfs/zdev.conf.dragon.example +++ /dev/null @@ -1,176 +0,0 @@ -# -# Custom by-path mapping for large JBOD configurations -# -# Example Config: -# Quarter scale dragon drawer based SSU for RHEL6 -# - -# Channel A: PCI Bus 3, Enclosure 0x50001ff10e991000 -a1 pci-0000:03:00.0-sas-0x50001ff10e991000-34 -a2 pci-0000:03:00.0-sas-0x50001ff10e991000-35 -a3 pci-0000:03:00.0-sas-0x50001ff10e991000-39 -a4 pci-0000:03:00.0-sas-0x50001ff10e991000-40 -a5 pci-0000:03:00.0-sas-0x50001ff10e991000-44 -a6 pci-0000:03:00.0-sas-0x50001ff10e991000-45 -a7 pci-0000:03:00.0-sas-0x50001ff10e991000-48 -a8 pci-0000:03:00.0-sas-0x50001ff10e991000-49 -a9 pci-0000:03:00.0-sas-0x50001ff10e991000-50 -a10 pci-0000:03:00.0-sas-0x50001ff10e991000-53 -a11 pci-0000:03:00.0-sas-0x50001ff10e991000-54 -a12 pci-0000:03:00.0-sas-0x50001ff10e991000-55 -a13 pci-0000:03:00.0-sas-0x50001ff10e991000-58 -a14 pci-0000:03:00.0-sas-0x50001ff10e991000-59 -a15 pci-0000:03:00.0-sas-0x50001ff10e991000-60 - -# Channel B: PCI Bus 3, Enclosure 0x50001ff10e9d1000 -b1 pci-0000:03:00.0-sas-0x50001ff10e9d1000-34 -b2 pci-0000:03:00.0-sas-0x50001ff10e9d1000-35 -b3 pci-0000:03:00.0-sas-0x50001ff10e9d1000-39 -b4 pci-0000:03:00.0-sas-0x50001ff10e9d1000-40 -b5 pci-0000:03:00.0-sas-0x50001ff10e9d1000-44 -b6 pci-0000:03:00.0-sas-0x50001ff10e9d1000-45 -b7 pci-0000:03:00.0-sas-0x50001ff10e9d1000-48 -b8 pci-0000:03:00.0-sas-0x50001ff10e9d1000-49 -b9 pci-0000:03:00.0-sas-0x50001ff10e9d1000-50 -b10 pci-0000:03:00.0-sas-0x50001ff10e9d1000-53 -b11 pci-0000:03:00.0-sas-0x50001ff10e9d1000-54 -b12 pci-0000:03:00.0-sas-0x50001ff10e9d1000-55 -b13 pci-0000:03:00.0-sas-0x50001ff10e9d1000-58 -b14 pci-0000:03:00.0-sas-0x50001ff10e9d1000-59 -b15 pci-0000:03:00.0-sas-0x50001ff10e9d1000-60 - -# Channel C: PCI Bus 4, Enclosure 0x50001ff10e991000 -c1 pci-0000:04:00.0-sas-0x50001ff10e991000-31 -c2 pci-0000:04:00.0-sas-0x50001ff10e991000-32 -c3 pci-0000:04:00.0-sas-0x50001ff10e991000-33 -c4 pci-0000:04:00.0-sas-0x50001ff10e991000-36 -c5 pci-0000:04:00.0-sas-0x50001ff10e991000-37 -c6 pci-0000:04:00.0-sas-0x50001ff10e991000-38 -c7 pci-0000:04:00.0-sas-0x50001ff10e991000-41 -c8 pci-0000:04:00.0-sas-0x50001ff10e991000-42 -c9 pci-0000:04:00.0-sas-0x50001ff10e991000-43 -c10 pci-0000:04:00.0-sas-0x50001ff10e991000-46 -c11 pci-0000:04:00.0-sas-0x50001ff10e991000-47 -c12 pci-0000:04:00.0-sas-0x50001ff10e991000-51 -c13 pci-0000:04:00.0-sas-0x50001ff10e991000-52 -c14 pci-0000:04:00.0-sas-0x50001ff10e991000-56 -c15 pci-0000:04:00.0-sas-0x50001ff10e991000-57 - -# Channel D: PCI Bus 4, Enclosure 0x50001ff10e9d1000 -d1 pci-0000:04:00.0-sas-0x50001ff10e9d1000-31 -d2 pci-0000:04:00.0-sas-0x50001ff10e9d1000-32 -d3 pci-0000:04:00.0-sas-0x50001ff10e9d1000-33 -d4 pci-0000:04:00.0-sas-0x50001ff10e9d1000-36 -d5 pci-0000:04:00.0-sas-0x50001ff10e9d1000-37 -d6 pci-0000:04:00.0-sas-0x50001ff10e9d1000-38 -d7 pci-0000:04:00.0-sas-0x50001ff10e9d1000-41 -d8 pci-0000:04:00.0-sas-0x50001ff10e9d1000-42 -d9 pci-0000:04:00.0-sas-0x50001ff10e9d1000-43 -d10 pci-0000:04:00.0-sas-0x50001ff10e9d1000-46 -d11 pci-0000:04:00.0-sas-0x50001ff10e9d1000-47 -d12 pci-0000:04:00.0-sas-0x50001ff10e9d1000-51 -d13 pci-0000:04:00.0-sas-0x50001ff10e9d1000-52 -d14 pci-0000:04:00.0-sas-0x50001ff10e9d1000-56 -d15 pci-0000:04:00.0-sas-0x50001ff10e9d1000-57 - -# Channel E: PCI Bus 84, Enclosure 0x50001ff10e991000 -e1 pci-0000:84:00.0-sas-0x50001ff10e991000-3 -e2 pci-0000:84:00.0-sas-0x50001ff10e991000-4 -e3 pci-0000:84:00.0-sas-0x50001ff10e991000-5 -e4 pci-0000:84:00.0-sas-0x50001ff10e991000-8 -e5 pci-0000:84:00.0-sas-0x50001ff10e991000-9 -e6 pci-0000:84:00.0-sas-0x50001ff10e991000-10 -e7 pci-0000:84:00.0-sas-0x50001ff10e991000-13 -e8 pci-0000:84:00.0-sas-0x50001ff10e991000-14 -e9 pci-0000:84:00.0-sas-0x50001ff10e991000-15 -e10 pci-0000:84:00.0-sas-0x50001ff10e991000-19 -e11 pci-0000:84:00.0-sas-0x50001ff10e991000-20 -e12 pci-0000:84:00.0-sas-0x50001ff10e991000-24 -e13 pci-0000:84:00.0-sas-0x50001ff10e991000-25 -e14 pci-0000:84:00.0-sas-0x50001ff10e991000-29 -e15 pci-0000:84:00.0-sas-0x50001ff10e991000-30 - -# Channel F: PCI Bus 84, Enclosure 0x50001ff10e9d1000 -f1 pci-0000:84:00.0-sas-0x50001ff10e9d1000-3 -f2 pci-0000:84:00.0-sas-0x50001ff10e9d1000-4 -f3 pci-0000:84:00.0-sas-0x50001ff10e9d1000-5 -f4 pci-0000:84:00.0-sas-0x50001ff10e9d1000-8 -f5 pci-0000:84:00.0-sas-0x50001ff10e9d1000-9 -f6 pci-0000:84:00.0-sas-0x50001ff10e9d1000-10 -f7 pci-0000:84:00.0-sas-0x50001ff10e9d1000-13 -f8 pci-0000:84:00.0-sas-0x50001ff10e9d1000-14 -f9 pci-0000:84:00.0-sas-0x50001ff10e9d1000-15 -f10 pci-0000:84:00.0-sas-0x50001ff10e9d1000-19 -f11 pci-0000:84:00.0-sas-0x50001ff10e9d1000-20 -f12 pci-0000:84:00.0-sas-0x50001ff10e9d1000-24 -f13 pci-0000:84:00.0-sas-0x50001ff10e9d1000-25 -f14 pci-0000:84:00.0-sas-0x50001ff10e9d1000-29 -f15 pci-0000:84:00.0-sas-0x50001ff10e9d1000-30 - -# Channel G: PCI Bus 85, Enclosure 0x50001ff10e991000 -g1 pci-0000:85:00.0-sas-0x50001ff10e991000-1 -g2 pci-0000:85:00.0-sas-0x50001ff10e991000-2 -g3 pci-0000:85:00.0-sas-0x50001ff10e991000-6 -g4 pci-0000:85:00.0-sas-0x50001ff10e991000-7 -g5 pci-0000:85:00.0-sas-0x50001ff10e991000-11 -g6 pci-0000:85:00.0-sas-0x50001ff10e991000-12 -g7 pci-0000:85:00.0-sas-0x50001ff10e991000-16 -g8 pci-0000:85:00.0-sas-0x50001ff10e991000-17 -g9 pci-0000:85:00.0-sas-0x50001ff10e991000-18 -g10 pci-0000:85:00.0-sas-0x50001ff10e991000-21 -g11 pci-0000:85:00.0-sas-0x50001ff10e991000-22 -g12 pci-0000:85:00.0-sas-0x50001ff10e991000-23 -g13 pci-0000:85:00.0-sas-0x50001ff10e991000-26 -g14 pci-0000:85:00.0-sas-0x50001ff10e991000-27 -g15 pci-0000:85:00.0-sas-0x50001ff10e991000-28 - -# Channel H: PCI Bus 85, Enclosure 0x50001ff10e9d1000 -h1 pci-0000:85:00.0-sas-0x50001ff10e9d1000-1 -h2 pci-0000:85:00.0-sas-0x50001ff10e9d1000-2 -h3 pci-0000:85:00.0-sas-0x50001ff10e9d1000-6 -h4 pci-0000:85:00.0-sas-0x50001ff10e9d1000-7 -h5 pci-0000:85:00.0-sas-0x50001ff10e9d1000-11 -h6 pci-0000:85:00.0-sas-0x50001ff10e9d1000-12 -h7 pci-0000:85:00.0-sas-0x50001ff10e9d1000-16 -h8 pci-0000:85:00.0-sas-0x50001ff10e9d1000-17 -h9 pci-0000:85:00.0-sas-0x50001ff10e9d1000-18 -h10 pci-0000:85:00.0-sas-0x50001ff10e9d1000-21 -h11 pci-0000:85:00.0-sas-0x50001ff10e9d1000-22 -h12 pci-0000:85:00.0-sas-0x50001ff10e9d1000-23 -h13 pci-0000:85:00.0-sas-0x50001ff10e9d1000-26 -h14 pci-0000:85:00.0-sas-0x50001ff10e9d1000-27 -h15 pci-0000:85:00.0-sas-0x50001ff10e9d1000-28 - -# Channel I: PCI Bus 83, Enclosure 0x5000155359b8e33f -i1 pci-0000:83:00.0-sas-0x5000155359b8e33f-0 -i2 pci-0000:83:00.0-sas-0x5000155359b8e33f-1 -i3 pci-0000:83:00.0-sas-0x5000155359b8e33f-2 -i4 pci-0000:83:00.0-sas-0x5000155359b8e33f-3 -i5 pci-0000:83:00.0-sas-0x5000155359b8e33f-4 -i6 pci-0000:83:00.0-sas-0x5000155359b8e33f-5 -i7 pci-0000:83:00.0-sas-0x5000155359b8e33f-6 -i8 pci-0000:83:00.0-sas-0x5000155359b8e33f-7 -i9 pci-0000:83:00.0-sas-0x5000155359b8e33f-8 -i10 pci-0000:83:00.0-sas-0x5000155359b8e33f-9 -i11 pci-0000:83:00.0-sas-0x5000155359b8e33f-10 -i12 pci-0000:83:00.0-sas-0x5000155359b8e33f-11 -i13 pci-0000:83:00.0-sas-0x5000155359b8e33f-12 -i14 pci-0000:83:00.0-sas-0x5000155359b8e33f-13 -i15 pci-0000:83:00.0-sas-0x5000155359b8e33f-14 - -# Channel J: PCI Bus 83, Enclosure 0x5000155359dba33f -j1 pci-0000:83:00.0-sas-0x5000155359dba33f-0 -j2 pci-0000:83:00.0-sas-0x5000155359dba33f-1 -j3 pci-0000:83:00.0-sas-0x5000155359dba33f-2 -j4 pci-0000:83:00.0-sas-0x5000155359dba33f-3 -j5 pci-0000:83:00.0-sas-0x5000155359dba33f-4 -j6 pci-0000:83:00.0-sas-0x5000155359dba33f-5 -j7 pci-0000:83:00.0-sas-0x5000155359dba33f-6 -j8 pci-0000:83:00.0-sas-0x5000155359dba33f-7 -j9 pci-0000:83:00.0-sas-0x5000155359dba33f-8 -j10 pci-0000:83:00.0-sas-0x5000155359dba33f-9 -j11 pci-0000:83:00.0-sas-0x5000155359dba33f-10 -j12 pci-0000:83:00.0-sas-0x5000155359dba33f-11 -j13 pci-0000:83:00.0-sas-0x5000155359dba33f-12 -j14 pci-0000:83:00.0-sas-0x5000155359dba33f-13 -j15 pci-0000:83:00.0-sas-0x5000155359dba33f-14 diff --git a/etc/zfs/zdev.conf.supermicro.example b/etc/zfs/zdev.conf.supermicro.example deleted file mode 100644 index f20dcc081..000000000 --- a/etc/zfs/zdev.conf.supermicro.example +++ /dev/null @@ -1,30 +0,0 @@ -# -# Custom by-path mapping for large JBOD configurations -# -# Example Config: -# Single Supermicro JBOD for RHEL6 -# - -# Channel A: PCI Bus 7, Enclosure 0x500304800027367f -a1 pci-0000:07:00.0-sas-0x500304800027367f-0 -a2 pci-0000:07:00.0-sas-0x500304800027367f-1 -a3 pci-0000:07:00.0-sas-0x500304800027367f-2 -a4 pci-0000:07:00.0-sas-0x500304800027367f-3 - -# Channel B: PCI Bus 7, Enclosure 0x500304800027367f -b1 pci-0000:07:00.0-sas-0x500304800027367f-4 -b2 pci-0000:07:00.0-sas-0x500304800027367f-5 -b3 pci-0000:07:00.0-sas-0x500304800027367f-6 -b4 pci-0000:07:00.0-sas-0x500304800027367f-7 - -# Channel C: PCI Bus 7, Enclosure 0x500304800027367f -c1 pci-0000:07:00.0-sas-0x500304800027367f-8 -c2 pci-0000:07:00.0-sas-0x500304800027367f-9 -c3 pci-0000:07:00.0-sas-0x500304800027367f-10 -c4 pci-0000:07:00.0-sas-0x500304800027367f-11 - -# Channel D: PCI Bus 7, Enclosure 0x500304800027367f -d1 pci-0000:07:00.0-sas-0x500304800027367f-12 -d2 pci-0000:07:00.0-sas-0x500304800027367f-13 -d3 pci-0000:07:00.0-sas-0x500304800027367f-14 -d4 pci-0000:07:00.0-sas-0x500304800027367f-15 diff --git a/etc/zfs/zdev.conf.x4550.example b/etc/zfs/zdev.conf.x4550.example deleted file mode 100644 index 9c611ed45..000000000 --- a/etc/zfs/zdev.conf.x4550.example +++ /dev/null @@ -1,66 +0,0 @@ -# -# Custom by-path mapping for large JBOD configurations -# -# Example Config: -# Sun x4550 for RHEL5 -# - -# Channel A: PCI Bus 2 -a1 pci-0000:02:00.0-sas-0x50062b0000000001:1:0-0xd6807184d601e192:0 -a2 pci-0000:02:00.0-sas-0x50062b0000000002:1:1-0xd4905378e6e3d592:1 -a3 pci-0000:02:00.0-sas-0x50062b0000000003:1:2-0xd3827673d806d392:2 -a4 pci-0000:02:00.0-sas-0x50062b0000000004:1:3-0xd6805385d6e3e192:3 -a5 pci-0000:02:00.0-sas-0x50062b0000000005:1:4-0xd680655bd6f5b792:4 -a6 pci-0000:02:00.0-sas-0x50062b0000000006:1:5-0x7a967598ec06d091:5 -a7 pci-0000:02:00.0-sas-0x50062b0000000007:1:6-0xd3826c60d8fcbf92:6 -a8 pci-0000:02:00.0-sas-0x50062b0000000008:1:7-0xd6805271d6e2cd92:7 - -# Channel B: PCI Bus 3 -b1 pci-0000:03:00.0-sas-0x50062b0000000002:1:0-0xd680685fd6f8bb92:0 -b2 pci-0000:03:00.0-sas-0x50062b0000000003:1:1-0xd58c706de200cb92:1 -b3 pci-0000:03:00.0-sas-0x50062b0000000004:1:2-0xd5897480df04de92:2 -b4 pci-0000:03:00.0-sas-0x50062b0000000005:1:3-0xd6805764d6e7c092:3 -b5 pci-0000:03:00.0-sas-0x50062b0000000006:1:4-0xd6806a6dd6fac992:4 -b6 pci-0000:03:00.0-sas-0x50062b0000000007:1:5-0xd58c6b84e2fbe192:5 -b7 pci-0000:03:00.0-sas-0x50062b0000000008:1:6-0xd58a576ee0e7cb92:6 -b8 pci-0000:03:00.0-sas-0x50062b0000000009:1:7-0xd5877871dd08cf92:7 - -# Channel C: PCI Bus 4 -c1 pci-0000:04:00.0-sas-0x50062b0000000003:1:0-0xd6806678d6f6d492:0 -c2 pci-0000:04:00.0-sas-0x50062b0000000004:1:1-0xd680696fd6f9cb92:1 -c3 pci-0000:04:00.0-sas-0x50062b0000000005:1:2-0xd3827182d801e292:2 -c4 pci-0000:04:00.0-sas-0x50062b0000000006:1:3-0xd680666fd6f6cb92:3 -c5 pci-0000:04:00.0-sas-0x50062b0000000007:1:4-0xd6806970d6f9cc92:4 -c6 pci-0000:04:00.0-sas-0x50062b0000000008:1:5-0xd6806b62d6fbbe92:5 -c7 pci-0000:04:00.0-sas-0x50062b0000000009:1:6-0xd58a5760e0e7bd92:6 -c8 pci-0000:04:00.0-sas-0x50062b000000000a:1:7-0xd680717fd601dc92:7 - -# Channel D: PCI Bus 41 -d1 pci-0000:41:00.0-sas-0x50062b0000000004:1:0-0xd6806572d6f5ce92:0 -d2 pci-0000:41:00.0-sas-0x50062b0000000005:1:1-0xd6806983d6f9df92:1 -d3 pci-0000:41:00.0-sas-0x50062b0000000006:1:2-0xd3826c69d8fcc892:2 -d4 pci-0000:41:00.0-sas-0x50062b0000000007:1:3-0xd680725fd602bc92:3 -d5 pci-0000:41:00.0-sas-0x50062b0000000008:1:4-0xd6806971d6f9cd92:4 -d6 pci-0000:41:00.0-sas-0x50062b0000000009:1:5-0xd680726dd602ca92:5 -d7 pci-0000:41:00.0-sas-0x50062b000000000a:1:6-0xd3827772d807d292:6 -d8 pci-0000:41:00.0-sas-0x50062b000000000b:1:7-0xd4955584ebe5e192:7 - -# Channel E: PCI Bus 42 -e1 pci-0000:42:00.0-sas-0x50062b0000000005:1:0-0xd4925676e8e6d392:0 -e2 pci-0000:42:00.0-sas-0x50062b0000000006:1:1-0xd6806b6ed6fbca92:1 -e3 pci-0000:42:00.0-sas-0x50062b0000000007:1:2-0xd382765fd806bf92:2 -e4 pci-0000:42:00.0-sas-0x50062b0000000008:1:3-0xd587786cdd08ca92:3 -e5 pci-0000:42:00.0-sas-0x50062b0000000009:1:4-0xd66f4e5bc5deb792:4 -e6 pci-0000:42:00.0-sas-0x50062b000000000a:1:5-0xd6806879d6f8d592:5 -e7 pci-0000:42:00.0-sas-0x50062b000000000b:1:6-0xd5885175dee1d292:6 -e8 pci-0000:42:00.0-sas-0x50062b000000000c:1:7-0xd588515fdee1bc92:7 - -# Channel F: PCI Bus 43 -f1 pci-0000:43:00.0-sas-0x50062b0000000006:1:0-0xd66d6978c3f9d492:0 -f2 pci-0000:43:00.0-sas-0x50062b0000000007:1:1-0xd6806a5cd6fab892:1 -f3 pci-0000:43:00.0-sas-0x50062b0000000008:1:2-0xd6806563d6f5bf92:2 -f4 pci-0000:43:00.0-sas-0x50062b0000000009:1:3-0xd6805664d6e6c092:3 -f5 pci-0000:43:00.0-sas-0x50062b000000000a:1:4-0xd58c707ee200dc92:4 -f6 pci-0000:43:00.0-sas-0x50062b000000000b:1:5-0xd5885781dee7de92:5 -f7 pci-0000:43:00.0-sas-0x50062b000000000c:1:6-0xd3827481d804e192:6 -f8 pci-0000:43:00.0-sas-0x50062b000000000d:1:7-0xd6806863d6f8bf92:7 |