|
|
9603323 |
--- open-iscsi-2.0-868-test1/README 2008-03-14 12:28:27.000000000 -0500
|
|
|
9603323 |
+++ open-iscsi-2.0-868-test1.work/README 2008-03-14 12:29:06.000000000 -0500
|
|
|
9603323 |
@@ -225,11 +225,11 @@ Usage: iscsiadm [OPTION]
|
|
|
9603323 |
Stats prints the iSCSI stats for the session.
|
|
|
9603323 |
-m node --logoutall=[all|manual|automatic]
|
|
|
9603323 |
Logout "all" the running sessions or just the ones
|
|
|
9603323 |
- with a node or conn startup value manual or automatic.
|
|
|
9603323 |
+ with a node startup value manual or automatic.
|
|
|
9603323 |
Nodes marked as ONBOOT are skipped.
|
|
|
9603323 |
-m node --loginall=[all|manual|automatic]
|
|
|
9603323 |
Login "all" the running sessions or just the ones
|
|
|
9603323 |
- with a node or conn startup value manual or automatic.
|
|
|
9603323 |
+ with a node startup value manual or automatic.
|
|
|
9603323 |
Nodes marked as ONBOOT are skipped.
|
|
|
9603323 |
-m session display all active sessions and connections
|
|
|
9603323 |
-m session --sid=[sid] [ --print=level | --rescan | --logout ]
|
|
|
9603323 |
@@ -769,16 +769,16 @@ Note: this may only work for distros wit
|
|
|
9603323 |
To automate login to a node, use the following with the record ID
|
|
|
9603323 |
(record ID is the targetname and portal) of the node discovered in the
|
|
|
9603323 |
discovery above:
|
|
|
9603323 |
- iscsiadm -m node -T targetname -p ip:port --op update -n node.conn[0].startup -v automatic
|
|
|
9603323 |
+ iscsiadm -m node -T targetname -p ip:port --op update -n node.startup -v automatic
|
|
|
9603323 |
|
|
|
9603323 |
To set the automatic setting to all portals on a target through every
|
|
|
9603323 |
interface setup for each protal, the following can be run:
|
|
|
9603323 |
- iscsiadm -m node -T targetname --op update -n node.conn[0].startup -v automatic
|
|
|
9603323 |
+ iscsiadm -m node -T targetname --op update -n node.startup -v automatic
|
|
|
9603323 |
|
|
|
9603323 |
-Or to set the "node.conn[0].statup" attribute to "startup" as default for
|
|
|
9603323 |
+Or to set the "node.startup" attribute to "startup" as default for
|
|
|
9603323 |
all sessions add the following to the /etc/iscsi/iscsid.conf:
|
|
|
9603323 |
|
|
|
9603323 |
- node.conn[0].startup = automatic
|
|
|
9603323 |
+ node.startup = automatic
|
|
|
9603323 |
|
|
|
9603323 |
Setting this in iscsid.conf, will not affect existing nodes. It will only
|
|
|
9603323 |
affect nodes that are discovered after setting the value.
|