summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authormnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6>2007-04-24 05:37:14 +0000
committermnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6>2007-04-24 05:37:14 +0000
commitdc66321ecd2c3a152a411f0b1f7191061ad9831c (patch)
tree7b8cf4a0986e48e04717c17386fed122b2029697 /README
parente99657f3342b376b09c31c153153a186936a131a (diff)
downloadopen-iscsi-dc66321ecd2c3a152a411f0b1f7191061ad9831c.tar.gz
For the new op we still had to run it once for every new entry we wanted. If we just wanted to add a new nic entry for every existing node this was a pain. This patch makes it so the new op will traverse the db and add new records if there is a pattern match. TODO: fix up the iterators and merge group login/logout functionality
git-svn-id: svn://svn.berlios.de/open-iscsi@810 d7303112-9cec-0310-bdd2-e83a94d6c2b6
Diffstat (limited to 'README')
-rw-r--r--README9
1 files changed, 8 insertions, 1 deletions
diff --git a/README b/README
index 657e7e4..8c8d256 100644
--- a/README
+++ b/README
@@ -317,10 +317,17 @@ Usage: iscsiadm [OPTION]
./iscsiadm -m node -o new -T iqn.2005-03.com.max \
-p 192.168.0.1:3260 -I 00:0F:1F:92:6B:BF
- The -I/--interface is optiniol. If not passed in, "default" is used.
+ The -I/--interface is optional. If not passed in, "default" is used.
For iscsi_tcp, this would allow the network layer to decide what is
best.
+ - Adding custom NIC config to multiple targets:
+
+ ./iscsiadm -m node -o new -I 00:0F:1F:92:6B:BF
+
+ This command will add a interface config using the iSCSI and SCSI
+ settings from iscsid.conf to every target that is in the node db.
+
- Removing iSCSI portal:
./iscsiadm -m node -o delete -T iqn.2005-03.com.max -p 192.168.0.4:3260