diff options
author | Jim Ramsay <jim_ramsay@dell.com> | 2011-06-03 11:25:22 -0400 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2011-07-07 16:39:13 -0500 |
commit | 0bf1fab1c040b506e3cb49f7ada8302d5006e79e (patch) | |
tree | 735fca32f6d037b491d1e3e4ef1e7efaa934fa41 /doc | |
parent | 3a89146c42863b7e06c52d914fb7c612b203f4c0 (diff) | |
download | open-iscsi-0bf1fab1c040b506e3cb49f7ada8302d5006e79e.tar.gz |
Add multiple sessions per iface commandline syntax
This accepts the syntax '-m session -r <n> -o new' and creates a new
session based on the session selected via the '-r' option, by setting
the 'multiple' flag in the session_rec_t.
Example:
# iscsiadm -m session
tcp: [4] <portal> <target>
# iscsiadm -m session -r 4 -o new
Logging in to [iface: iface0, target: <target>, portal: <portal>] (multiple)
Login to [iface: iface0, target: <target>, portal: <portal>] successful.
# iscsiadm -m session
tcp: [4] <portal> <target>
tcp: [5] <portal> <target>
Signed-off-by: Jim Ramsay <jim_ramsay@dell.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/iscsiadm.8 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/iscsiadm.8 b/doc/iscsiadm.8 index 53900a9..b41281a 100644 --- a/doc/iscsiadm.8 +++ b/doc/iscsiadm.8 @@ -10,7 +10,7 @@ iscsiadm \- open-iscsi administration utility \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 ] ] -\fBiscsiadm\fR \-m session [ \-hV ] [ \-d debug_level ] [ \-P printlevel ] [ \-r sessionid | sysfsdir [ \-R ] [ \-u | \-s ] ] +\fBiscsiadm\fR \-m session [ \-hV ] [ \-d debug_level ] [ \-P printlevel ] [ \-r sessionid | sysfsdir [ \-R ] [ \-u | \-s | \-o new ] ] \fBiscsiadm\fR \-m iface [ \-hV ] [ \-d debug_level ] [ \-P printlevel ] [ \-I ifacename ] [ [ \-o operation ] [ \-n name ] [ \-v value ] ] @@ -154,7 +154,8 @@ record. \fIrecid\fR is the target name and portal (IP:port). In iface mode, the \fIrecid\fR is the iface name. In discovery mode, the \fIrecid\fR is the portal and discovery type. - +.IP +In session mode, the \fInew\fR operation logs in a new session using the same node database and iface information as the specified session. .IP In discovery mode, if the \fIrecid\fR and new operation is passed in, but the \fI--discover\fR argument is not, then iscsiadm will only create a discovery record (it will not perform discovery). If the \fI--discover\fR argument is passed in with the portal and discovery type, then iscsiadm will create the discovery record if needed, and it will create records for portals returned by the target that do not yet have a node DB record. .IP |