freebsd-dev/etc
Tony Hutter c66401fae0 Add enclosure_symlinks option to vdev_id
Add an 'enclosure_symlinks' option to vdev_id.conf.  This creates
consistently named symlinks to the enclosure devices (/dev/sg*) based
off the configuration in vdev_id.conf.  The enclosure symlinks show
up in /dev/by-enclosure/<prefix>-<channel><num>.  The links make it
make it easy to run sg_ses on a particular enclosure device.  The
enclosure links are created in addition to the normal
/dev/disk/by-vdev links.

'enclosure_symlinks' is only valid in sas_direct configurations.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Simon Guest <simon.guest@tesujimath.org>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #8194
2018-12-14 17:27:49 -08:00
..
init.d zfs-functions.in: is_mounted() always returns 1 2018-12-04 09:57:29 -08:00
modules-load.d Add kernel module auto-loading 2018-03-13 10:45:55 -07:00
sudoers.d zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
systemd Minor documentation, logging, and testing typos 2018-06-07 09:38:39 -07:00
zfs Add enclosure_symlinks option to vdev_id 2018-12-14 17:27:49 -08:00
Makefile.am zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00