Thanks for reporting back.

If this happens again, give us the /var/log/messages and the output of

iscsiadm -m session -P 3

when the iscsiadm ….. —logout command is returning the errors you pasted below.



On Nov 30, 2014, at 12:08 AM, Shay Katz <shak...@gmail.com> wrote:

> Hi,
> 
> during the last week i have tried to reproduce the problem without success.
> 
> I guess it is false alarm.
> 
> Shay
> 
> On Monday, November 10, 2014 8:51:00 AM UTC+2, Mike Christie wrote:
> Could you attach your /var/log/messages for when you removed the portals and 
> when you ran the logout command?
> 
> 
> On Nov 7, 2014, at 12:56 AM, Shay Katz <sha...@gmail.com> wrote:
> 
>> Hi
>> 
>> I have client (centos 7) with logged in sessions,
>> 
>>  
>> [root@lgdrm1027 ~]# iscsiadm -m session
>> 
>> tcp: [1] 10.206.12.5:3260,1 iqn.2008-05.com.xtremio:001e679efc4a (non-flash)
>> 
>> tcp: [2] 10.205.12.5:3260,1 iqn.2008-05.com.xtremio:001e679efc4a (non-flash)
>> 
>> tcp: [3] 10.206.12.6:3260,1 iqn.2008-05.com.xtremio:001e679efc4b (non-flash)
>> 
>> tcp: [4] 10.205.12.6:3260,1 iqn.2008-05.com.xtremio:001e679efc4b (non-flash)
>> 
>> tcp: [5] 10.206.12.15:3260,1 iqn.2008-05.com.xtremio:001e679efff6 (non-flash)
>> 
>> tcp: [6] 10.205.12.15:3260,1 iqn.2008-05.com.xtremio:001e679efff6 (non-flash)
>> 
>> tcp: [7] 10.206.12.16:3260,1 iqn.2008-05.com.xtremio:001e679efff7 (non-flash)
>> 
>> tcp: [8] 10.205.12.16:3260,1 iqn.2008-05.com.xtremio:001e679efff7 (non-flash)
>> 
>>  
>> After logging in the user remove the portals from the target, now when I am 
>> trying to logged out the operation fails
>> 
>> And I didn't find how to remove them (There is no force flag):
>> 
>>  
>> [root@lgdrm1027 ~]# iscsiadm -m node -u
>> 
>> Logging out of session [sid: 1, target: 
>> iqn.2008-05.com.xtremio:001e679efc4a, portal: 10.206.12.5,3260]
>> 
>> Logging out of session [sid: 2, target: 
>> iqn.2008-05.com.xtremio:001e679efc4a, portal: 10.205.12.5,3260]
>> 
>> Logging out of session [sid: 3, target: 
>> iqn.2008-05.com.xtremio:001e679efc4b, portal: 10.206.12.6,3260]
>> 
>> Logging out of session [sid: 4, target: 
>> iqn.2008-05.com.xtremio:001e679efc4b, portal: 10.205.12.6,3260]
>> 
>> Logging out of session [sid: 5, target: 
>> iqn.2008-05.com.xtremio:001e679efff6, portal: 10.206.12.15,3260]
>> 
>> Logging out of session [sid: 6, target: 
>> iqn.2008-05.com.xtremio:001e679efff6, portal: 10.205.12.15,3260]
>> 
>> Logging out of session [sid: 7, target: 
>> iqn.2008-05.com.xtremio:001e679efff7, portal: 10.206.12.16,3260]
>> 
>> Logging out of session [sid: 8, target: 
>> iqn.2008-05.com.xtremio:001e679efff7, portal: 10.205.12.16,3260]
>> 
>> iscsiadm: Could not logout of [sid: 1, target: 
>> iqn.2008-05.com.xtremio:001e679efc4a, portal: 10.206.12.5,3260].
>> 
>> iscsiadm: initiator reported error (9 - internal error)
>> 
>> iscsiadm: Could not logout of [sid: 2, target: 
>> iqn.2008-05.com.xtremio:001e679efc4a, portal: 10.205.12.5,3260].
>> 
>> iscsiadm: initiator reported error (2 - session not found)
>> 
>> iscsiadm: Could not logout of [sid: 3, target: 
>> iqn.2008-05.com.xtremio:001e679efc4b, portal: 10.206.12.6,3260].
>> 
>> iscsiadm: initiator reported error (2 - session not found)
>> 
>> iscsiadm: Could not logout of [sid: 4, target: 
>> iqn.2008-05.com.xtremio:001e679efc4b, portal: 10.205.12.6,3260].
>> 
>> iscsiadm: initiator reported error (2 - session not found)
>> 
>> iscsiadm: Could not logout of [sid: 5, target: 
>> iqn.2008-05.com.xtremio:001e679efff6, portal: 10.206.12.15,3260].
>> 
>> iscsiadm: initiator reported error (2 - session not found)
>> 
>> iscsiadm: Could not logout of [sid: 6, target: 
>> iqn.2008-05.com.xtremio:001e679efff6, portal: 10.205.12.15,3260].
>> 
>> iscsiadm: initiator reported error (2 - session not found)
>> 
>> iscsiadm: Could not logout of [sid: 7, target: 
>> iqn.2008-05.com.xtremio:001e679efff7, portal: 10.206.12.16,3260].
>> 
>> iscsiadm: initiator reported error (2 - session not found)
>> 
>> iscsiadm: Could not logout of [sid: 8, target: 
>> iqn.2008-05.com.xtremio:001e679efff7, portal: 10.205.12.16,3260].
>> 
>> iscsiadm: initiator reported error (2 - session not found)
>> 
>> iscsiadm: Could not logout of all requested sessions
>> 
>> [root@lgdrm1027 ~]#
>> 
>> same scenario on centos 6.5 worked well.
>> 
>> Shay
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "open-iscsi" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to open-iscsi+...@googlegroups.com.
>> To post to this group, send email to open-...@googlegroups.com.
>> Visit this group at http://groups.google.com/group/open-iscsi.
>> For more options, visit https://groups.google.com/d/optout.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "open-iscsi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to open-iscsi+unsubscr...@googlegroups.com.
> To post to this group, send email to open-iscsi@googlegroups.com.
> Visit this group at http://groups.google.com/group/open-iscsi.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to