diff options
author | sckobras <[email protected]> | 2017-08-15 00:18:26 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-08-14 15:18:26 -0700 |
commit | d49d9c2bdc31263536d3b714d7e393b66321886a (patch) | |
tree | 81f66c04711c00aff1157a276f36622129c3f13a /man/man5 | |
parent | d977122da92e870a6a8990437ced845a04c39cfc (diff) |
vdev_id: implement slot numbering by port id
With HPE hardware and hpsa-driven SAS adapters, only a single phy is
reported, but no individual per-port phys (ie. no phy* entry below
port_dir), which breaks topology detection in the current sas_handler
code. Instead, slot information can be derived directly from the port
number. This change implements a new slot keyword "port" similar to
"id" and "lun", and assumes a default phy/port of 0 if no individual
phy entry can be found. It allows to use the "sas_direct" topology with
current HPE Dxxxx and Apollo 45xx JBODs.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Daniel Kobras <[email protected]>
Closes #6484
Diffstat (limited to 'man/man5')
-rw-r--r-- | man/man5/vdev_id.conf.5 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/man/man5/vdev_id.conf.5 b/man/man5/vdev_id.conf.5 index 4fea83157..eff8c27cc 100644 --- a/man/man5/vdev_id.conf.5 +++ b/man/man5/vdev_id.conf.5 @@ -90,7 +90,7 @@ internally uses this value to determine which HBA or switch port a device is connected to. The default is 4. .TP -\fIslot\fR <bay|phy|id|lun> +\fIslot\fR <bay|phy|port|id|lun> Specifies from which element of a SAS identifier the slot number is taken. The default is bay. @@ -98,6 +98,8 @@ taken. The default is bay. \fIphy\fR - read the slot number from the phy identifier. +\fIport\fR - use the SAS port as the slot number. + \fIid\fR - use the scsi id as the slot number. \fIlun\fR - use the scsi lun as the slot number. |