From bba365cfc810161cf63b6e07100b7a6bd082ee6d Mon Sep 17 00:00:00 2001 From: Andreas Buschmann Date: Wed, 19 Aug 2015 13:01:40 +0200 Subject: Add extra keyword 'slot' to vdev_id.conf Add new keyword 'slot' to vdev_id.conf This selects from where to get the slot number for a SAS/SATA disk Needed to enable access to the physical position of a disk in a Supermicro 2027R-AR24NV . Signed-off-by: Brian Behlendorf Signed-off-by: Ned Bass Closes #3693 --- man/man5/vdev_id.conf.5 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'man/man5') diff --git a/man/man5/vdev_id.conf.5 b/man/man5/vdev_id.conf.5 index 7ac324738..4fea83157 100644 --- a/man/man5/vdev_id.conf.5 +++ b/man/man5/vdev_id.conf.5 @@ -88,6 +88,19 @@ switch port. .BR vdev_id (8) internally uses this value to determine which HBA or switch port a device is connected to. The default is 4. + +.TP +\fIslot\fR +Specifies from which element of a SAS identifier the slot number is +taken. The default is bay. + +\fIbay\fR - read the slot number from the bay identifier. + +\fIphy\fR - read the slot number from the phy identifier. + +\fIid\fR - use the scsi id as the slot number. + +\fIlun\fR - use the scsi lun as the slot number. .SH EXAMPLES A non-multipath configuration with direct-attached SAS enclosures and an arbitrary slot re-mapping. @@ -96,6 +109,7 @@ arbitrary slot re-mapping. multipath no topology sas_direct phys_per_port 4 + slot bay # PCI_SLOT HBA PORT CHANNEL NAME channel 85:00.0 1 A -- cgit v1.2.3