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 /scripts/common.sh.in | |
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 'scripts/common.sh.in')
-rw-r--r-- | scripts/common.sh.in | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/common.sh.in b/scripts/common.sh.in index c6d98f66b..c99894cbf 100644 --- a/scripts/common.sh.in +++ b/scripts/common.sh.in @@ -41,7 +41,7 @@ udevruledir=@udevruledir@ sysconfdir=@sysconfdir@ ETCDIR=${ETCDIR:-/etc} -DEVDIR=${DEVDIR:-/dev/disk/zpool} +DEVDIR=${DEVDIR:-/dev/disk/by-vdev} ZPOOLDIR=${ZPOOLDIR:-${pkglibexecdir}/zpool-config} ZPIOSDIR=${ZPIOSDIR:-${pkglibexecdir}/zpios-test} ZPIOSPROFILEDIR=${ZPIOSPROFILEDIR:-${pkglibexecdir}/zpios-profile} @@ -50,7 +50,6 @@ ZDB=${ZDB:-${sbindir}/zdb} ZFS=${ZFS:-${sbindir}/zfs} ZINJECT=${ZINJECT:-${sbindir}/zinject} ZPOOL=${ZPOOL:-${sbindir}/zpool} -ZPOOL_ID=${ZPOOL_ID:-${bindir}/zpool_id} ZTEST=${ZTEST:-${sbindir}/ztest} ZPIOS=${ZPIOS:-${sbindir}/zpios} @@ -525,7 +524,7 @@ udev_trigger() { # # The following udev helper functions assume that the provided -# udev rules file will create a /dev/disk/zpool/<CHANNEL><RANK> +# udev rules file will create a /dev/disk/by-vdev/<CHANNEL><RANK> # disk mapping. In this mapping each CHANNEL is represented by # the letters a-z, and the RANK is represented by the numbers # 1-n. A CHANNEL should identify a group of RANKS which are all |