aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/iscsictl
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2015-04-02 11:52:34 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2015-04-02 11:52:34 +0000
commit42e70ae82a7d574530b7cbe6a73e616c17e91791 (patch)
treeff08bf29c273acdbaa337ce9149e131906ac2f86 /usr.bin/iscsictl
parent522196b5edabf1b400378d83af80e2dda83ef888 (diff)
downloadsrc-42e70ae82a7d574530b7cbe6a73e616c17e91791.tar.gz
src-42e70ae82a7d574530b7cbe6a73e616c17e91791.zip
Add IPv6 example to iscsi.conf(5) and tweak ordering.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=280984
Diffstat (limited to 'usr.bin/iscsictl')
-rw-r--r--usr.bin/iscsictl/iscsi.conf.512
1 files changed, 9 insertions, 3 deletions
diff --git a/usr.bin/iscsictl/iscsi.conf.5 b/usr.bin/iscsictl/iscsi.conf.5
index 9e40cb0b3225..8740fe508b04 100644
--- a/usr.bin/iscsictl/iscsi.conf.5
+++ b/usr.bin/iscsictl/iscsi.conf.5
@@ -95,14 +95,14 @@ or
.Qq Ar CRC32C .
Default is
.Qq Ar None .
-.It Cm TargetName
-Sets the target name.
-Not required for discovery sessions.
.It Cm InitiatorName
Sets the initiator name.
By default, the name is concatenation of
.Qq Ar iqn.1994-09.org.freebsd:
with the hostname.
+.It Cm TargetName
+Sets the target name.
+Not required for discovery sessions.
.It Cm TargetAddress
Sets the target address and port, in
.Sy address[:port]
@@ -140,6 +140,12 @@ myiscsi { # nickname
targetaddress = iscsi1
targetname = iqn.1900.com.com:sn.123456
}
+
+myiscsi6 { # nickname
+ targetaddress = [2001:db8::de:ef]:3260
+ targetname = iqn.1900.com.com:sn.123456
+}
+
chaptest {
targetaddress = 10.0.0.1;
targetname = iqn.1900.com.com:sn.123456;