On 07/28/2011 06:02 PM, Farhan Ahmed wrote:
> No I passed my SAN discovery address
> 
> iscsiadm -m discovery -t st -p 192.168.42.190 -l eth3 -d 8
> 

What is the command you have been running to do discovery? Just run that
same command but also pass it the -d 8 argument to get some debugging.




> On Fri, Jul 29, 2011 at 9:04 AM, Mike Christie <[email protected]> wrote:
> 
>> On 07/28/2011 05:56 PM, Farhan Ahmed wrote:
>>> Hi Mike,
>>>
>>> I issued command iscsiadm -m discovery -t st  -p ip -I eth3 -d 8
>>> and I am getting this line
>>>
>>>
>>> iscsiadm: Could not match
>>> iface[hw=00:21:28:C0:BB:D3,ip=,net_if=eth3,iscsi_if=eth3] to host.
>>>
>>> Is it safe to ignore?
>>
>> Did you pass "ip" or did you pass your discovery address
>> 192.168.whatever.it.was?
>>
>>
>>>
>>> Farhan
>>> On Fri, Jul 29, 2011 at 8:48 AM, Mike Christie <[email protected]>
>> wrote:
>>>
>>>> On 07/27/2011 06:25 PM, Farhan Ahmed wrote:
>>>>> Thanks Mike, Yes I have set right kernel values of rp_filter, please
>> find
>>>>> the attached file which includes debug output,tcpdump and command
>> output.
>>>>> Discovery works fine for eth3 but iscsiadm cant login though. I can see
>>>> the
>>>>> packets are coming in/out at right interface eth3
>>>>>
>>>>
>>>> Are you seeing packets going through eth3 when you run the iscsiadm
>>>> login command or discovery?
>>>>
>>>> I tested this here and confirmed it at least works for me. In the iscsid
>>>> -d 8 -f & log we want to see a line like:
>>>>
>>>> iscsid: Binding session -1 to eth5
>>>>
>>>> that which indicates we are doing binding instead of just using the
>>>> default routing.
>>>>
>>>> (my iscsi iface is for eth5 you should see eth3). In the iscsiadm.txt
>>>> outpout I did not see that line so for some reason the normal session is
>>>> not getting bound to the proper iface.
>>>>
>>>> So send the info I was asking about in the other mail and could you also
>>>> send the output of
>>>>
>>>> iscsiadm -m iface -I eth3
>>>>
>>>>
>>>>
>>>> For discovery if you did
>>>>
>>>> iscsiadm -m discovery -t st  -p ip -I eth3 -d 8
>>>>
>>>> then you would see a similar "Binding session" line indicating we are
>>>> binding the session to a iface.
>>>>
>>>
>>
>>
> 

-- 
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