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 [email protected].
To post to this group, send email to [email protected].
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