Use it when the symptom is “iSCSI Connection Failure”: work through the layers in order and stop at the first one that fails.
iSCSI Connection Failure
iSCSI discovery and data access are layered: initiator identity → VLAN/IP/route/MTU → TCP portal → target discovery → authentication/login → session → LUN mapping → multipath/block device.
NIC → network → portal → login → session
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
iscsiadm -m session -P 3Primary Commands
Configuration and operational commands for this Topic.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Ping success ≠ TCP 3260 reachable.
- TCP portal reachable ≠ iSCSI login/session established.
- Session established ≠ LUN mapped or multipath assembled.
- CHAP authenticates peers; it ≠ payload encryption.
iscsiadm -m session -P 1— sessionsjournalctl -u iscsid --since -1h— errorsnc -vz <portal> 3260— reachability
ReferenceImportant terms & boundaries3 sections · depth on demand
Scope and what the checks show
A connection/login error shows failure at or before the iSCSI session boundary, but it does not show the target LUN or backend data is unhealthy.
In depth
Prove each layer from TCP up to the LUN
An iSCSI failure is one of: network, discovery, login/authentication, or the LUN not presented. iscsiadm(8) covers discovery, login and sessions.
# nc -zv 10.0.10.50 3260
Connection to 10.0.10.50 3260 port [tcp/iscsi-target] succeeded!
# iscsiadm -m discovery -t st -p 10.0.10.50:3260
10.0.10.50:3260,1 iqn.2005-10.org.example:storage.lun1
# iscsiadm -m node -T iqn.2005-10.org.example:storage.lun1 -p 10.0.10.50:3260 -l
# iscsiadm -m session -P 1
-t st is SendTargets discovery; -l in node mode logs in to that record; -m session -P prints sessions in tree form.
Where it breaks
| Stage | Symptom | Typical cause |
|---|---|---|
| TCP 3260 | Connection refused / timeout | Firewall, wrong portal IP, VLAN |
| Discovery | No targets returned | Target ACL does not include the initiator IQN |
| Login | Authorization failure | CHAP user/secret mismatch |
| Session up, no disk | No new sdX | LUN not mapped to this initiator; rescan needed |
| Session drops | Repeated reconnect messages in the kernel log | Network loss, MTU mismatch, target overload |
Identity checks
# cat /etc/iscsi/initiatorname.iscsi
InitiatorName=iqn.2004-10.com.ubuntu:01:host01
A cloned VM with the same initiator name as another host will see sessions kicked off in turn.
After the fix
Rescan the session (iscsiadm -m session -R) and confirm the LUN with lsblk -o NAME,SIZE,WWN,TRAN. With several paths, verify multipath -ll instead of the raw disks.
*The TCP connection and target discovery responses are illustrative, not evidence of a successful initiator login.*
Method
iSCSI connection failure, by error:
| Error / symptom | Cause |
|---|---|
iscsiadm: cannot make connection … No route to host | Network, VLAN, firewall |
| Login failed, auth (19/24) | CHAP name/secret, initiator IQN not in target ACL |
| Target not found in discovery | Wrong portal, target not configured for this initiator |
| Session drops under load | MTU mismatch, NIC/driver, switch buffer/flow control |
| Session up, no disks | LUN not mapped to this IQN |
iscsiadm -m session -P 3 | grep -E 'Target|State|Attached'
journalctl -u iscsid --since -1h
ping -M do -s 8972 <portal>
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Storage Troubleshooting → iSCSI Connection Failure. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.kernel.org/block/index.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Storage Troubleshooting → iSCSI Connection Failure proof map
Fast scope, dependency, failure-boundary and acceptance checks for Storage Troubleshooting → iSCSI Connection Failure.
| Troubleshooting boundary | What to verify | Proof limit |
|---|---|---|
| Scope / identity | Exact workload, object/device identity, affected hosts and incident window | Symptom naming alone is not root-cause proof |
| Dependency path | Host initiator/IQN → VLAN/IP/route/MTU → TCP portal → target/IQN → CHAP/login → iSCSI session → LUN mapping → multipath/block device → backend | Healthy adjacent layers do not prove end-to-end health |
| Failure boundary | A connection/login error proves failure at or before the iSCSI session boundary; it does not prove the target LUN or backend data is unhealthy. | Correlate evidence for the same operation and timestamps |
| Acceptance | Healthy evidence shows stable TCP reachability, authenticated session, expected LUN mapping and successful I/O over the intended path set. | Close only after the original workload/recovery test and regression check |