Re: iSNS discovery error (login)

2009-01-19 Thread Dheeraj Sangamkar
As far as I know, your transactions/sessions with the iSNS server and those with the iSCSI target should be independent. The iSNS can give you target information and you can use it to connect to target and login. Targets themselves are iSNS clients like your initiator. They register the

Re: iSNS discovery error (login)

2009-01-19 Thread Nikhil Talpallikar
I agree .. that is why I am having trouble (unable to connect the dots) .. and need some explanation if anyone has come across this kind of situation and solved it. Afterall what effect can iSNS discovery have on Login PDU ?? Just unable to connect and reason what I

Re: PATCH: make open-iscsi userspace tools functionality available as a library

2009-01-19 Thread Bart Van Assche
On Mon, Jan 19, 2009 at 2:07 PM, Hans de Goede hdego...@redhat.com wrote: Therefore we would like to export (some) of the functionality of iscsiadm as a C-library. Great ! I've got documentation of the proposed API here: http://people.atrpms.net/~hdegoede/html/libiscsi_8h.html Not so

Re: PATCH: make open-iscsi userspace tools functionality available as a library

2009-01-19 Thread Hans de Goede
Bart Van Assche wrote: On Mon, Jan 19, 2009 at 2:07 PM, Hans de Goede hdego...@redhat.com wrote: Therefore we would like to export (some) of the functionality of iscsiadm as a C-library. Great ! I've got documentation of the proposed API here:

WELCOME TO FREE WEB....................

2009-01-19 Thread saranya
FREE FREE FREE FREE FREE FREE http://freewebs.com/adolfsz/ *** --~--~-~--~~~---~--~~ You

Re: PATCH: make open-iscsi userspace tools functionality available as a library

2009-01-19 Thread Hans de Goede
Boaz Harrosh wrote: Hans de Goede wrote: Hi All, The API currently offers pretty minimal functionality (just what we need in anaconda) I'm fine with extending this (patches welcome). But currently I would like to focus on the set of functionality as the current API offers and try to

Re: PATCH: make open-iscsi userspace tools functionality available as a library

2009-01-19 Thread Bart Van Assche
On Mon, Jan 19, 2009 at 4:35 PM, Hans de Goede hdego...@redhat.com wrote: - libiscsi_discover_sendtargets - maybe (very maybe) the int port could be dropped and const char *address could be of the form address_or_host[:port].

Re: Nodes and Sendtargets directories use after login?

2009-01-19 Thread Mike Christie
HIMANSHU wrote: This is related to my this post. http://groups.google.com/group/open-iscsi/browse_thread/thread/40166b414bbda322/66ff12bbb I want to confirm my observations.If I am wrong,forgive me. Can I delete nodes and sendtargets once the discovery and login are done with 'target'

Re: iSNS discovery error (login)

2009-01-19 Thread Mike Christie
Nikhil Talpallikar wrote: Hi, I cannot login to a target if I do a discovery via iSNS server, but if I do Are you doing iscsiadm -m discovery -t isns discovery using SendTarget method I can login I could figure out something.but i am not able to resolve it. When I do

Re: iSNS discovery error (login)

2009-01-19 Thread vaibhav pol
Check your CHAP setting in your configure file. Vaibhav Pol On Tue, Jan 20, 2009 at 12:03 AM, Mike Christie micha...@cs.wisc.eduwrote: Nikhil Talpallikar wrote: Hi, I cannot login to a target if I do a discovery via iSNS server, but if I do Are you doing iscsiadm -m discovery -t

Re: iSNS discovery error (login)

2009-01-19 Thread Nikhil Talpallikar
hi, On Tue, Jan 20, 2009 at 12:03 AM, Mike Christie micha...@cs.wisc.eduwrote: Nikhil Talpallikar wrote: Hi, I cannot login to a target if I do a discovery via iSNS server, but if I do Are you doing iscsiadm -m discovery -t isns yes discovery using SendTarget method I can

Re: iSNS discovery error (login)

2009-01-19 Thread Nikhil Talpallikar
hi, On Tue, Jan 20, 2009 at 12:03 AM, Mike Christie micha...@cs.wisc.edu wrote: Nikhil Talpallikar wrote: Hi, I cannot login to a target if I do a discovery via iSNS server, but if I do Are you doing iscsiadm -m discovery -t isns yes discovery using SendTarget method I can

Re: PATCH: make open-iscsi userspace tools functionality available as a library

2009-01-19 Thread Ulrich Windl
On 19 Jan 2009 at 17:16, Boaz Harrosh wrote: [...] - libiscsi_discover_sendtargets - maybe (very maybe) the int port could be dropped and const char *address could be of the form address_or_host[:port]. Regarding defaults