You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to Remove stale ISCSI Target Node Information from ISCSI Initiator Server

edited Aug 9, 2022 4:45PM in Linux

Applies to: 

Oracle Cloud Infrastructure

Linux OS – Oracle Linux 5.1 to Oracle Linux 7.6 (OL5U1 to OL7U6)

SYMPTOMS

Stale ISCSI target connections which are still present on Initiator node can lead to various issues like:

- hung iscsid service which can lead to global outage

- flood of messages error like:

messages:Jun 3 13:58:00 <HOSTNAME> iscsid: iscsid: Connection5:0 to [target: iqn-name, portal: ip-here,3260] through [iface: default] is shutdown.
messages:Jun 3 13:58:00 <HOSTNAME> iscsiadm: iscsiadm: Could not login to [iface: default, target: iqn-name, portal: ip-here,3260].
messages:Jun 3 13:58:00 <HOSTNAME> iscsiadm: Logging in to [iface: default, target: iqn-name, portal: ip-here,3260] (multiple)
messages:Jun 7 04:24:15 <HOSTNAME> iscsid: iscsid: Connection2:0 to [target: iqn-name, portal: ip-here,3260] through [iface: default] is shutdown.
messages:Jun 7 04:24:15 <HOSTNAME> iscsiadm: iscsiadm: Could not login to [iface: default, target: iqn-name, portal: ip-here,3260].
messages:Jun 7 04:24:15 <HOSTNAME> iscsiadm: Logging in to [iface: default, target: iqn-name, portal: ip-here,3260] (multiple)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!