Hi experts,

When I try to log out a target which is already deleted at the target 
server side, I can see a error :

Logging out of session [sid: 1, target: 
iqn.2015-07.com.example:test:844a36e0-e921-4988-9538-a32112aa40d4, portal: 
147.2.207.200,3260]
iscsiadm: Could not logout of [sid: 1, target: 
iqn.2015-07.com.example:test:844a36e0-e921-4988-9538-a32112aa40d4, portal: 
147.2.207.200,3260].
iscsiadm: initiator reported error (9 - internal error)
iscsiadm: Could not logout of all requested sessions

I think maybe the reason is that, the target is deleted, so the initiator 
can not get a logout response PDU, so errors.We would meet the same 
situation when target still alive but network down.
I have a proposal, can we set a time out values, for example 10 seconds, 
once time out, log out anyway, then print some message like "The target is 
not reachable, logged out". I think this operation is not harmful to the 
target side.
Do you experts think that make sense?


Thanks
BR
Zhu Lingshan

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