summaryrefslogtreecommitdiff
path: root/doc/iscsiadm.8
diff options
context:
space:
mode:
Diffstat (limited to 'doc/iscsiadm.8')
-rw-r--r--doc/iscsiadm.815
1 files changed, 7 insertions, 8 deletions
diff --git a/doc/iscsiadm.8 b/doc/iscsiadm.8
index 106c5bc..7ff3d57 100644
--- a/doc/iscsiadm.8
+++ b/doc/iscsiadm.8
@@ -2,11 +2,10 @@
.SH NAME
iscsiadm \- open-iscsi administration utility
.SH SYNOPSIS
-\fBiscsiadm\fR \-m discovery2 [ \-hV ] [ \-d debug_level ] [ \-P printlevel ] [ \-I iface \-t type \-p ip:port [ \-lD ] ] | [ [ -p ip:port -t type ] \
+\fBiscsiadm\fR \-m discoverydb [ \-hV ] [ \-d debug_level ] [ \-P printlevel ] [ \-I iface \-t type \-p ip:port [ \-lD ] ] | [ [ -p ip:port -t type ] \
[ \-o operation ] [ \-n name ] [ \-v value ] [ \-lD ] ]
-\fBDEPRECIATED: iscsiadm\fR \-m discovery [ \-hV ] [ \-d debug_level ] [ \-P printlevel ] [ \-I iface \-t type \-p ip:port [ \-l ] ] | [ [ -p ip:port ] \
-[ \-o operation ] [ \-n name ] [ \-v value ] [ \-l | \-D ] ]
+\fBiscsiadm\fR \-m discovery [ \-hV ] [ \-d debug_level ] [ \-P printlevel ] [ \-I iface \-t type \-p ip:port [ \-l ] ] | [ [ -p ip:port ] [ \-l | \-D ] ]
\fBiscsiadm\fR \-m node [ \-hV ] [ \-d debug_level ] [ \-P printlevel ] [ \-L all,manual,automatic ] [ \-U all,manual,automatic ] [ \-S ] [ [ \-T targetname \-p ip:port \-I iface ] [ \-l | \-u | \-R | \-s] ]
[ [ \-o operation ] [ \-n name ] [ \-v value ] [ \-p ip:port ] ]
@@ -76,7 +75,7 @@ are experimental and the use is not supported as a stable interface yet.
In discovery mode multiple interfaces can be specified by passing in multiple
\-I/\-\-interface instances. For example,
-"iscsiadm \-m discovery2 \-t st \-p ip:port \-I iface0 \-I iface2 --discover"
+"iscsiadm \-m discoverydb \-t st \-p ip:port \-I iface0 \-I iface2 --discover"
Will direct iscsiadm to setup the node db to create records which will create
sessions though the two intefaces passed in.
@@ -99,7 +98,7 @@ This command and iscsid's SIGTERM handling are experimental.
Discover targets using the discovery record with the \fIrecid\fR matching
the the discovery type and portal passed in. If there is no matching record,
it will be created using the iscsid.conf discovery settings.
-This must be passed in \fIdiscovery2\fR mode to instruct iscsiadm to perform
+This must be passed in \fIdiscoverydb\fR mode to instruct iscsiadm to perform
discovery.
.IP
This option is only valid for SendTargets discovery mode.
@@ -123,9 +122,9 @@ for session mode).
.TP
\fB\-m, \-\-mode \fIop\fR
specify the mode. \fIop\fR
-must be one of \fIdiscovery2\fR, \fInode\fR, \fIfw\fR, \fIhost\fR \fIiface\fR or \fIsession\fR.
+must be one of \fIdiscoverydb\fR, \fInode\fR, \fIfw\fR, \fIhost\fR \fIiface\fR or \fIsession\fR.
.IP
-If no other options are specified: for \fIdiscovery2\fR and \fInode\fR, all
+If no other options are specified: for \fIdiscoverydb\fR and \fInode\fR, all
of their respective records are displayed; for \fIsession\fR, all active
sessions and connections are displayed; for \fIfw\fR, all boot firmware
values are displayed; for \fIhost\fR, all iSCSI hosts are displayed; and
@@ -301,7 +300,7 @@ discovery type. An SLP implementation is under development.
Discover targets at a given IP address:
.ft R
- iscsiadm \-\-mode discovery2 \-\-type sendtargets \-\-portal 192.168.1.10 \-\-discover
+ iscsiadm \-\-mode discoverydb \-\-type sendtargets \-\-portal 192.168.1.10 \-\-discover
.nf
Login, must use a node record id found by the discovery: