thanks, i could discover using bond0 but could not login.

iscsi-target (openfiler): eth0 (
iscsi-initiator: eth0 (, bond0-mode4 (

# BEGIN RECORD 2.0-871
iface.iscsi_ifacename = iface0
 iface.net_ifacename = bond0
 iface.transport_name = tcp

 [r...@pc176 ifaces]# iscsiadm -m discovery -t st -p
 interface iface0,1
 [r...@pc176 ifaces]#  iscsiadm --mode node --targetname --portal --login
 interface iface0
 Logging in to [iface: iface0, target:,
 iscsiadm: Could not login to [iface: iface0, target:
 vg0drbd-iscsi0, portal:,3260]:
 iscsiadm: initiator reported error (8 - connection timed out)

 i could use eth0 to discover and login

 ping from iscsi-initiator is ok
 ping from iscsi-target is ok is authorised in iscsi-target to login

On Mar 8, 6:30 pm, Pasi Kärkkäinen <> wrote:
> On Mon, Mar 08, 2010 at 02:08:43AM -0800, aclhkaclhk aclhkaclhk wrote:
> > my server has eth0 (onboard), eth1 and eth2 (intel lan card). eth1 and
> > eth2 are bonded as bond0
> > i want to login iscsi target using bond0 instead of eth0.
> > iscsiadm --mode node --targetname --
> > portal --login --interface bond0
> > iscsiadm: Could not read iface info for bond0.
> > with interface, eth0 is used.
> > the bonding was setup correctly. it could be used by xen.
> You need to create the open-iscsi 'iface0' first, and bind it to 'bond0'.
> Then you can login using 'iface0' interface.
> Like this (on the fly):
> # iscsiadm -m iface -I iface0 -o new
> New interface iface0 added
> # iscsiadm -m iface -I iface0 --op=update -n iface.net_ifacename -v bond0
> iface0 updated.
> You can set up this permanently in /var/lib/iscsi/ifaces/ directory,
> by creating a file called 'iface0' with this content:
> iface.iscsi_ifacename = iface0
> iface.transport_name = tcp
> iface.net_ifacename = bond0
> Hopefully that helps.
> -- Pasi

You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to