On 01/27/2011 03:48 PM, Heinrich Rebehn wrote:
For some reason the posting below did not make it to the mailinglist, so i send 
it again.

-Heinrich


Hi all,

i hope someone can help me with this. I have been googling for days now, but 
cannot find a solution.

I have set up a Ubuntu-10.10 that boots from a iSCSI disk using iscsistart in 
the initrd.

What is the version of open-iscsi being used? What is the kernel version?

Is this some iscsi boot functionality built into ubuntu or something you have put together?

When are you starting iscsid? Is it from the initramfs/initrd or from the init scripts right after we have switched from the initramfs/initrd to the real root disk?


This works fine so far!
But in order to secure the connection against target reboots, i tried to start 
iscsid.
Unfortunately this does not work, iscsid stops the connection and then fails to 
start it again:

root@localhost [~] # iscsid -f -d8

iscsid: cannot make a connection to 134.102.176.37:3260 (-1,2)

We cannot seem to connect to the portal's address. That is the correct ip and port, right? When iscsid is run, is the network up? Can you ping the initiator nic at this time?

It seems that the network should be up because iscsistart logged in, but I think when you switch from the initramfs/initrd to the real root disk maybe iptables could screw things up or of the normal nic setup stuff is run it could screw up the network (if maybe the initramfs and normal init network stuff is not in sync it could mess things up).




Any ideas?

What do
"login failed STATE_XPT_WAIT/R_STAGE_SESSION_REOPEN 0"
and

It is just internal state info. xpt wait means we were waiting to connect to the target and session reopen means we were trying to reopen the session. 0 means it was the first try.

"Cannot match (null) to net/scsi interface."
mean?

It means we did not have any iface info. If you were not binding the session to a specific offload card or nic then this should be null. The default is to not bind.

--
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to