summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2010-03-22 17:28:41 -0500
committerMike Christie <michaelc@cs.wisc.edu>2010-03-22 17:28:41 -0500
commitad873767436f1cc242f0d4a522a2fce7133795c1 (patch)
treed2a245e1cf80db6bc88a767e9b5f82921147d586 /doc
parent1b6a16b5df857e37d75379371aeaa30de6e0f769 (diff)
downloadopen-iscsi-ad873767436f1cc242f0d4a522a2fce7133795c1.tar.gz
iscsiadm: add nonpersistent mode to discovery mode
The default behavior for iscsiadm discovery mode is to store the portals found in the node DB. This adds a op "nonpersistent" to run iscsiadm discovery in a nonpersistent mode. In thos mode iscsiadm will not access the node DB. iscsiadm -m discovery -t st -p ip -o nonpersistent will just print out the portals found. icssiadm -m discovery -t st -p ip -o nonpersistent -l will print out the portals found and login. If this command is run to logout you must run in session mode. iscsiadm -m session -u would logout all the sessions.
Diffstat (limited to 'doc')
-rw-r--r--doc/iscsiadm.84
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/iscsiadm.8 b/doc/iscsiadm.8
index 0cb0012..1c60216 100644
--- a/doc/iscsiadm.8
+++ b/doc/iscsiadm.8
@@ -127,7 +127,7 @@ operator.
.TP
\fB\-o\fR, \fB\-\-op=\fIop\fR
Specifies a database operator \fIop\fR. \fIop\fR must be one of
-\fInew\fR, \fIdelete\fR, \fIupdate\fR or \fIshow\fR.
+\fInew\fR, \fIdelete\fR, \fIupdate\fR, \fIshow\fR or \fInonpersistent\fR.
.IP
This option is valid for all modes except fw. Delete should not be used on a running session. If it is iscsiadm will stop the session and then delete the
record.
@@ -142,6 +142,8 @@ record.
also used when there are no commands passed into session mode and a running
sid is passed in.
\fIname\fR and \fIvalue\fR are currently ignored when used with \fIshow\fR.
+.IP
+\fInonpersistent\fR instructs iscsiadm to not manipulate the node DB.
.TP
\fB\-p\fR, \fB\-\-portal=\fIip[:port]\fR