summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2010-07-01 22:47:39 -0500
committerMike Christie <michaelc@cs.wisc.edu>2010-07-01 22:47:39 -0500
commit8805c7a09104b89ca186c64aeebefa249c9f55a6 (patch)
tree4c4451d6b8d5d8c67daf9e51f61c8055d03f6d63 /README
parentcc7a06351e74f7e2e95676446fc4011d51d86a41 (diff)
downloadopen-iscsi-8805c7a09104b89ca186c64aeebefa249c9f55a6.tar.gz
iscsiadm: mark discovery mode as depreciated
discovery2 mode should be used instead of discovery mode.
Diffstat (limited to 'README')
-rw-r--r--README57
1 files changed, 57 insertions, 0 deletions
diff --git a/README b/README
index 33454ae..2e09abb 100644
--- a/README
+++ b/README
@@ -342,6 +342,63 @@ Usage: iscsiadm [OPTION]
-h, --help display this help and exit
+Depreciated Commands:
+---------------------
+
+***********************************************************
+** discovery mode has been replaced with discovery2 mode **
+***********************************************************
+ -m discovery --type=[type] --interface=iscsi_ifacename \
+ --portal=[ip:port] --login --print=[N] \
+ --op=[op]=[NEW | UPDATE | DELETE | NONPERSISTENT]
+ perform [type] discovery for target portal with
+ ip-address [ip] and port [port].
+
+ This command will not use the discovery record
+ settings. It will use the iscsid.conf discovery
+ settings and it will overwrite the discovery
+ record with iscsid.conf discovery settings if it
+ exists. By default, it will then remove records for
+ portals no longer returned. And,
+ if a portal is returned by the target, then the
+ discovery command will create a new record or modify
+ an existing one with values from iscsi.conf and the
+ command line.
+
+ [op] can be passed in multiple times to this
+ command, and it will alter the DB manipulation.
+
+ If [op] is passed in and the value is
+ "new", iscsiadm will add records for portals that do
+ not yet have records in the db.
+
+ If [op] is passed in and the value is
+ "update", iscsiadm will update node records using
+ info from iscsi.conf and the command line for portals
+ that are returned during discovery and have
+ a record in the db.
+
+ If [op] is passed in and the value is "delete",
+ iscsiadm will delete records for portals that
+ were not returned during discovery.
+
+ If [op] is passed in and the value is
+ "nonpersistent" iscsiadm will not store
+ the portals found in the node DB.
+
+ See the example section for more info.
+
+ See below for how to setup iscsi ifaces for
+ software iscsi or override the system defaults.
+
+ Multiple ifaces can be passed in during discovery.
+ -m discovery --print=[N] display all discovery records from internal
+ persistent discovery database.
+ -m discovery --interface --portal=[ip:port] --print=[N] --discover
+ perform discovery based on portal in database. See
+ above for info in the interface argument.
+
+
5.1 iSCSI iface setup
=====================