summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6>2007-02-08 19:57:22 +0000
committermnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6>2007-02-08 19:57:22 +0000
commit4d1147d4d4e45e26176d507f4a068d9afb8d39f9 (patch)
tree06ddf9f35d6badd6898160ba3f7c73c9de990c48 /doc
parentb4a62d156e793115d973d6841e060b5a5e77e57c (diff)
downloadopen-iscsi-4d1147d4d4e45e26176d507f4a068d9afb8d39f9.tar.gz
add some more comments to docs to doc -r sysfsdir and remove --map. Also add some notes about --targetname and --portal usage
git-svn-id: svn://svn.berlios.de/open-iscsi@769 d7303112-9cec-0310-bdd2-e83a94d6c2b6
Diffstat (limited to 'doc')
-rw-r--r--doc/iscsiadm.819
1 files changed, 13 insertions, 6 deletions
diff --git a/doc/iscsiadm.8 b/doc/iscsiadm.8
index 6214b4b..437e443 100644
--- a/doc/iscsiadm.8
+++ b/doc/iscsiadm.8
@@ -5,10 +5,10 @@ iscsiadm \- open-iscsi administration utility
\fBiscsiadm\fR -m discovery [ -dhV ] [ -t type -p ip:port [ -l ] ] |
[ -o operation ] [ -n name ] [ -v value ]
-\fBiscsiadm\fR -m node [ -dhV ] [ -L all,manual,automatic ] [ -U all,manual,automatic ] [ -S ] [ [ -T targetname -p ip:port | -M sysdir ] [ -l | -u ] ]
+\fBiscsiadm\fR -m node [ -dhV ] [ -L all,manual,automatic ] [ -U all,manual,automatic ] [ -S ] [ [ -T targetname -p ip:port ] [ -l | -u ] ]
[ [ -o operation ] [ -n name ] [ -v value ] [ -p ip:port ] ]
-\fBiscsiadm\fR -m session [ -dhV ] [ -r sessionid [ -R ] [ -u | -s ] ]
+\fBiscsiadm\fR -m session [ -dhV ] [ -r sessionid | sysfsdir [ -R ] [ -u | -s ] ]
.SH "DESCRIPTION"
The iscsiadm utility is a command-line tool allowing discovery and login
@@ -72,7 +72,7 @@ operator.
Specifies a database operator \fIop\fR. \fIop\fR must be one of
\fInew\fR, \fIdelete\fR, \fIupdate\fR or \fIshow\fR.
.IP
-This option is only valid for all modes.
+This option is only valid for all modes, but delete should not be used on a running session.
.IP
\fInew\fR is currently valid only for node and session mode. It creates a new
database record for a given \fIportal\fR (IP address and port number).
@@ -95,16 +95,23 @@ Use target portal with ip-address \fIip\fR and \fIport\fR, the default
.IP
This option is only valid for discovery, or for node operations with
the \fInew\fR operator.
+.IP
+This should be used along with --target in node mode, to specify what the open-iscsi docs refer to as a node or node record. Note: open-iscsi's use of the word node, does not match the iSCSI RFC's iSCSI Node term.
.TP
\fB\-T\fR, \fB\-\-targetname=\fItargetname\fR
Use target \fItargetname\fR.
+.IP
+This should be used along with --portal in node mode, to specify what the open-iscsi docs refer to as a node or node record. Note: open-iscsi's use of the word node, does not match the iSCSI RFC's iSCSI Node term.
.TP
-\fB\-r\fR, \fB\-\-sid=\fIsid\fR
-Use session ID \fIsid\fR.
+\fB\-r\fR, \fB\-\-sid=\fIsid | sysfsdir\fR
+Use session ID \fIsid\fR. The sid of a session can be found from running
+iscsiadm in session mode with the --info argument.
+
+Instead of sid, a sysfs path containing the session can be used. For example using one of the following: /sys/devices/platform/hostH/sessionS/targetH:B:I/H:B:I:L, /sys/devices/platform/hostH/sessionS/targetH:B:I, or /sys/devices/platform/hostH/sessionS, for the sysfsdir argument would result in the session with sid S to be used.
.IP
-\fIsid\fR is only required for session mode.
+\fIsid | sysfsdir\fR is only required for session mode.
.TP
\fB\-R\fR, \fB\-\-rescan\fR