Start with the first failing layer. Probe TCP from the storage interface to the target portal. If it answers, verify that SendTargets returns the expected target IQN, then check the local node record and login credentials. If login succeeds, compare the live connections and paths with the intended multipath layout before changing recovery timers.
iscsiadm: initiator reported error (8 - connection timed out)
Open-iscsi reports code 8 as connection timed out. Probe the exact portal that timed out. Run these commands on the Linux initiator with OpenBSD netcat, using the target’s storage IP and the initiator’s storage IP. Use the configured TCP port if it differs from the iSCSI default, 3260. Open-iscsi error table · Open-iscsi README
ip route get '<PORTAL_IP>' from '<STORAGE_IP>'
nc -vz -w 5 -s '<STORAGE_IP>' '<PORTAL_IP>' 3260
Check that dev in the route lookup is the expected storage interface. If it points elsewhere, investigate the route first. The probe uses the storage source IP and allows five seconds for the TCP connection. Debian ip-route(8) · Debian nc(1)
| Probe result | What to check next |
|---|---|
| Succeeded | TCP reached a listener. Continue to SendTargets or check the node record if you already know the target IQN. |
| Connection refused | The attempt was rejected. First verify that the iSCSI service is listening on that portal IP and port. Linux connect(2) |
| Timed out | The TCP handshake did not complete in time. Check the storage route, VLAN, firewall drops and target port health. Microsoft TCP/IP troubleshooting · Microsoft iSCSI network checks |
On Windows Server, check TcpTestSucceeded, InterfaceAlias and SourceAddress together. A successful connection through a different adapter leaves the intended storage path unverified. Microsoft Test-NetConnection reference
Test-NetConnection -ComputerName '<PORTAL_IP>' -Port 3260 -InformationLevel Detailed
no portals found
On Linux, run scoped SendTargets discovery from a root shell. Use the configured discovery portal in IP:port form and the existing open-iscsi iface name, such as iface0 or default for an unbound configuration. For software iSCSI, routing still selects the discovery NIC. Open-iscsi README
iscsiadm -m discoverydb -t sendtargets -p '<DISCOVERY_PORTAL>' \
-I '<ISCSI_IFACE>' -o nonpersistent --discover
Look for the expected target IQN in a line of the form IP:port,portal-group-tag TARGET_IQN. Record its login IP, port and IQN. If the expected target is missing or iscsiadm reports No portals found, review preceding connection or authentication messages, then check target visibility and discovery CHAP for this initiator. Open-iscsi discovery and node diagnostics
Next, look up the existing node. Use the advertised login endpoint, which can differ from the discovery endpoint, and omit the portal-group tag. Open-iscsi README
iscsiadm -m node -T '<TARGET_IQN>' -p '<LOGIN_PORTAL>' \
-I '<ISCSI_IFACE>' -o show
A match displays the saved node settings. iscsiadm: No records found means no local record matches that IQN, portal and iface. Recheck all three against the intended path. Nonpersistent discovery leaves the node database alone, so a returned IQN can still have no saved record. Resolve the missing record before attempting login. Open-iscsi discovery and node diagnostics · Open-iscsi README
Login authentication failed
For a missing session with a matching node record, probe the advertised login portal first if it differs from the discovery address. Then attempt login for that specific path and check whether the target and portal appear in the session list. Open-iscsi README
iscsiadm -m node -T '<TARGET_IQN>' -p '<LOGIN_PORTAL>' \
-I '<ISCSI_IFACE>' --login
iscsiadm -m session -P 1
If login reports an auth failure, such as Login authentication failed, compare the settings on the initiator and target at the scope that failed. Open-iscsi login diagnostics
| Check | What must match |
|---|---|
| Target and initiator IQNs | Use the advertised target IQN for login. Compare the Linux initiator name in /etc/iscsi/initiatorname.iscsi, or the iface override, with the initiator IQN allowed by the target. On Windows Server, read Initiator Name on the iSCSI Initiator Configuration tab. |
| Discovery CHAP | Compare the portal’s discovery policy with discovery.sendtargets.auth.* in the saved SendTargets record. If the discovery record is absent, check the defaults in iscsid.conf. Compare the username, secret and direction privately. |
| Session CHAP | Compare the target’s login policy with the saved node’s node.session.auth.* settings. For mutual CHAP, also verify the reverse username and secret used by the initiator to authenticate the target. |
Use the node lookup above to inspect the saved session settings. Inspect the discovery record with this command. Keep secrets out of transcripts and support tickets, and omit the separate --show flag that reveals CHAP passwords. Open-iscsi README · Upstream iscsid.conf · Microsoft Initiator Name guidance · RFC 7143 CHAP
iscsiadm -m discoverydb -t sendtargets -p '<DISCOVERY_PORTAL>' -o show
Login succeeds but the disk misbehaves
On Windows Server, compare the sessions you expected with the connections that are actually up. Microsoft Get-IscsiSession reference · Microsoft Get-IscsiConnection reference
Get-IscsiSession
Get-IscsiConnection
Get-IscsiConnection -IscsiSession (Get-IscsiSession -SessionIdentifier '<SESSION_ID>')
In the session output, find the target IQN in TargetNodeAddress and check IsConnected, IsMultipathEnabled and NumberOfConnections. Substitute its SessionIdentifier in the last command to see that session’s endpoints. Repeat for the other expected sessions.
Compare each connection’s initiator address and target address and port with the planned adapter and portal pair. If only one pair remains, probe the missing portal from its intended source. If redundant connections share a physical adapter, trace the shared dependency. Microsoft Windows Server MPIO guidance
In a Windows command prompt, run mpclaim -s -d to check that MPIO has claimed the disk. On Linux with DM Multipath, run multipath -ll and find the LUN’s WWID. Check that its map contains the expected path entries and compare their states. If the same LUN appears as separate writable disks, resolve the claiming or mapping problem before writing to it. Microsoft Windows Server MPIO guidance · Red Hat multipath topology
If the paths are present but I/O stalls, compare VLAN, MTU and jumbo-frame settings across the host NIC, switch and target port on each affected path. Review switch port counters for anomalies. Microsoft iSCSI connectivity guidance
See Windows Server target and MPIO setup and iSCSI fundamentals and multipathing for the expected topology.
The timers that decide when I/O fails
The upstream open-iscsi configuration sets node.conn[0].timeo.noop_out_interval and node.conn[0].timeo.noop_out_timeout to five seconds each. The first controls when a ping is sent and the second controls how long to wait for its response. node.session.timeo.replacement_timeout defaults to 120 seconds for session re-establishment. Upstream iscsid.conf
If the session disappeared after reboot, check the saved node’s startup policy. Upstream defaults node.startup to manual. Upstream iscsid.conf
For surprise removal or failover trouble on Windows Server, Microsoft gives 179 as an example of a larger TimeOutValue in HKLM\SYSTEM\CurrentControlSet\Services\disk. Check the paths first and back up the registry before changing that value. Microsoft iSCSI connectivity guidance
Reading the Windows event log
In Event Viewer, filter the System log for Event ID 9. If the iSCSI event reports that the target did not respond, use the timestamp to check the target logs, storage NIC and switch port counters. Then compare current sessions and connections to see whether a path is missing.
Look for nearby iSCSI events 20, 27 and 39, I/O retries under 153, and surprise removal under 157. If the problem follows a reboot, check whether the storage NIC or team was ready when the iSCSI service started. The event and MPIO procedures here cover Windows Server 2016, 2019, 2022 and 2025. For a Windows 11 initiator, use Windows client guidance. Microsoft iSCSI connectivity guidance
When the volume itself is damaged
If a volume is RAW or the filesystem reports corruption, back up the affected volume before attempting repairs. For NTFS, Microsoft’s repair guidance lists chkdsk /f and chkdsk /r. If using refsutil salvage on ReFS, put logs and recovered data on a separate volume. Microsoft iSCSI connectivity guidance
A short checklist
- Probe the portal from the storage IP and confirm the expected route.
- Check the SendTargets result and the saved node record separately.
- Compare both IQNs and the CHAP settings for the exchange that failed.
- Compare live endpoints and verify that the multipath device has its expected paths.
- Correlate Windows events with path and target logs before changing timers.
For provisioning, see TrueNAS target setup or Unraid target setup. For storage protocol selection, see iSCSI vs NFS vs SMB.
Evidence and limits. The Linux commands and defaults are documented in upstream open-iscsi’s master branch, Debian’s trixie netcat manual and the RHEL 9 DM Multipath guide. The Windows guidance covers Windows Server 2016 through 2025 with Server 2025 cmdlet references. The steps were not run for this article.