summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ctladm
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-07-05 19:30:20 +0000
committermav <mav@FreeBSD.org>2014-07-05 19:30:20 +0000
commitdd9568e89220188d1c2f0861713f1ec90ccaae02 (patch)
treed9d1bc31625bc0a1bcdb8fb67f74fe2df92960d4 /usr.sbin/ctladm
parent40297ad93010083dc2b2edc6c393e280170d47fb (diff)
downloadFreeBSD-src-dd9568e89220188d1c2f0861713f1ec90ccaae02.zip
FreeBSD-src-dd9568e89220188d1c2f0861713f1ec90ccaae02.tar.gz
Burry devid port method, which was a gross hack.
Instead make ports provide wanted port and target IDs, and LUNs provide wanted LUN IDs. After that core Device ID VPD code only had to link all of them together and add relative port and port group numbers. LUN ID for iSCSI LUNs no longer created by CTL, but by ctld, and passed to CTL as "scsiname" LUN option. This makes LUNs to report the same set of IDs, independently from the port through which it is accessed, as required by SCSI specifications.
Diffstat (limited to 'usr.sbin/ctladm')
-rw-r--r--usr.sbin/ctladm/ctladm.82
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/ctladm/ctladm.8 b/usr.sbin/ctladm/ctladm.8
index 73846a9..536d456 100644
--- a/usr.sbin/ctladm/ctladm.8
+++ b/usr.sbin/ctladm/ctladm.8
@@ -945,6 +945,8 @@ Specifies LUN vendor string up to 8 chars.
Specifies LUN product string up to 16 chars.
.It Va revision
Specifies LUN revision string up to 4 chars.
+.It Va scsiname
+Specifies LUN SCSI name string.
.It Va unmap
Set to "on", enables UNMAP support for the LUN.
.El
OpenPOWER on IntegriCloud