On shutdown iscsi reports "iscsiadm: No matching sessions found" and iscsid issues a warning "Not stopping iscsid : iscsi sessions still active" in RHEL 6

Solution Unverified - Updated -

Issue

  • When stopping all services on shutdown there is a warning :
"Not stopping iscsid : iscsi sessions still active"
  • shutdown hangs or delays when iscsid reports sessions are still active
  • If attempting to manually log out of all iSCSI sessions using the --logoutall=all or -U all it does not find any matching sessions:
# iscsiadm -m session
tcp: [1] 192.168.2.19:3260,2001 iqn.1992-08.com.example:sn.1573969083
# iscsiadm -m node --logoutall=all

iscsiadm: No matching sessions found

If using --logout or -u instead it logs out successfully:

# iscsiadm -m node -u
Logging out of session [sid: 1, target: iqn.1992-08.com.example:sn.1573969083, portal: 192.168.2.19,3260]
Logout of [sid: 1, target: iqn.1992-08.com.example:sn.1573969083, portal: 192.168.2.19,3260] successful.

Environment

  • Red Hat Enterprise Linux (RHEL) 6
  • iscsi-initiator-utils

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.