summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ctld/ctl.conf.5
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-02-07 13:19:04 +0000
committermav <mav@FreeBSD.org>2015-02-07 13:19:04 +0000
commit43853f69150cc79a03bf0a28215f8609479a4c0e (patch)
treeae85e4ae407409dc63dc9c310d8f357bd42151d2 /usr.sbin/ctld/ctl.conf.5
parenta83ab699d8fb53004948fc645798595bf98ac813 (diff)
downloadFreeBSD-src-43853f69150cc79a03bf0a28215f8609479a4c0e.zip
FreeBSD-src-43853f69150cc79a03bf0a28215f8609479a4c0e.tar.gz
Teach ctld(8) to control non-iSCSI CTL ports.
This change introduces new target option "port", that assigns current target to specified CTL port. On config application ctld(8) will apply LUN mapping according to target configuration to specified port and bring the port up. On shutdown cltd(8) will remove the mapping and put the port down. This change allows to configure both iSCSI and FibreChannel targets in the same configuration file in alike way. Kernel side support was added earlier at r278037. MFC after: 2 weeks Relnotes: yes Sponsored by: iXsystems, Inc.
Diffstat (limited to 'usr.sbin/ctld/ctl.conf.5')
-rw-r--r--usr.sbin/ctld/ctl.conf.57
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/ctld/ctl.conf.5 b/usr.sbin/ctld/ctl.conf.5
index 4046998..c74e291 100644
--- a/usr.sbin/ctld/ctl.conf.5
+++ b/usr.sbin/ctld/ctl.conf.5
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 6, 2015
+.Dd February 7, 2015
.Dt CTL.CONF 5
.Os
.Sh NAME
@@ -67,6 +67,7 @@ file is:
.No target Ar name {
.Dl auth-group Ar name
.Dl portal-group Ar name Op Ar agname
+.Dl port Ar name
.Dl lun Ar number Ar name
.Dl lun Ar number No {
.Dl path Ar path
@@ -321,6 +322,10 @@ on TCP port 3260 on all configured IPv4 and IPv6 addresses.
Optional second argument specifies auth group name for connections
to this specific portal group.
If second argument is not specified, target auth group is used.
+.It Ic port Ar name
+Assign specified CTL port (such as "isp0") to the target.
+On startup ctld configures LUN mapping and enables all assigned ports.
+Each port can be assigned to only one target.
.It Ic redirect Aq Ar address
IPv4 or IPv6 address to redirect initiators to.
When configured, all initiators attempting to connect to this target
OpenPOWER on IntegriCloud