diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2008-04-22 18:02:40 -0500 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2008-04-22 18:02:40 -0500 |
commit | 263c9f94c2136c849f28e526305b8556a62f6435 (patch) | |
tree | 41257cfe396deecad77eecaeae42544bcddb8276 /etc | |
parent | 72b87a9012bec0beba950d644ed14baa923ac120 (diff) | |
download | open-iscsi-263c9f94c2136c849f28e526305b8556a62f6435.tar.gz |
Support mutlple ifaces with the same binding (lack of binding).
If you wanted to be able to create multiple session to the same
target portal, then you can now do
iscsiadm -m iface -I iface0 -o new
If you want to, set a binding:
iscsiadm -m iface -I iface0 ....set your binding
repeat iface creation
iscsiadm -m discovery -t st -p ip:port -I iface0 -I iface1 -I ....
or you can create and bind statically
iscsiadm -m node -T my_target -i ip:port,tpgt -I iface0 -I iface1 -I ....
then login like normal. Or you can login/logout of specific ifaces
like with the normal binding.
There is one known bug where discovery is not printing the
portals and binding setup nicely.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/iface.example | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/iface.example b/etc/iface.example index b5751d8..7684aea 100644 --- a/etc/iface.example +++ b/etc/iface.example @@ -31,7 +31,12 @@ # iface.initiatorname = iqn.2003-04.com.fedora:test # # -# REQUIRED: [iface.net_ifacename | iface.hwaddress] +# REQUIRED to be able to bind a session to a network device: +# [iface.net_ifacename | iface.hwaddress] +# +# OPTIONAL if you are creating ifaces so you can create multiple sessions +# using the default behavior where the network layer selects the device. +# # __One__ of the following values are required for binding a session # to a specific nic/netdevice. # |