mirror_zfs/etc/zfs
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
..
Makefile.am vdev_id: extension for new scsi topology 2017-09-27 10:39:47 -07:00
vdev_id.conf.alias.example vdev_id support for device link aliases 2012-12-03 14:04:47 -08:00
vdev_id.conf.multipath.example Add vdev_id for JBOD-friendly udev aliases 2012-06-01 08:55:14 -07:00
vdev_id.conf.sas_direct.example Add enclosure_symlinks option to vdev_id 2018-12-14 17:27:49 -08:00
vdev_id.conf.sas_switch.example Add vdev_id for JBOD-friendly udev aliases 2012-06-01 08:55:14 -07:00
vdev_id.conf.scsi.example vdev_id: extension for new scsi topology 2017-09-27 10:39:47 -07:00