Use this when hosts use remote LUNs over Ethernet with iSCSI.
iSCSI · Storage Interfaces
iSCSI carries SCSI commands over TCP/IP, letting hosts use remote LUNs over ordinary Ethernet. An initiator logs into a target IQN, ideally over dedicated, redundant networks with CHAP and multipath.
1. iSCSI carries SCSI over TCP/IP (3260).
2. Use dedicated VLANs/NICs and multipath.
3. CHAP authentication.
4. Jumbo frames if consistent.
5. Initiator name (IQN) identifies host.
initiator → TCP 3260 → target → LUN
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Get-IscsiSession | Select TargetNodeAddress,IsConnectedVerification & 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 Checks Verify boundary
iscsiadm -m session -P 1
Get-IscsiSession | Select TargetNodeAddress,IsConnected
Step 2 Common mistakes Narrow the fault
- Teaming NICs for iSCSI instead of MPIO.
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.
- Initiator logs into target IQN over TCP 3260.
- Use dedicated networks and multipath.
- CHAP adds authentication.
iscsiadm -m session -P 3— sessions and devicesiscsiadm -m discovery -t sendtargets -p <ip>— discoverping -M do -s 8972 <target>— jumbo path
ReferenceHow it works1 section · depth on demand
How it works
iSCSI carries SCSI commands over TCP/IP (port 3260). The host (initiator) discovers targets on a portal, logs in to a target IQN, and sees its LUNs as local block devices. Redundancy comes from multipath (MPIO/dm-multipath) over separate NICs and subnets, not from NIC teaming. It runs on ordinary Ethernet, so latency and loss on that network show up as disk latency.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
iSCSI carries SCSI commands over TCP/IP
An iSCSI initiator (host) connects to a target (array or server) through a portal (IP address and port, normally 3260). Both sides are named with IQNs, for example iqn.2026-11.com.example:san01. After login, the target's LUNs appear on the host as ordinary SCSI disks.
The open-iscsi workflow
iscsiadm(8) documents SendTargets discovery (-m discovery -t st -p ip:port), node login (-m node -T <iqn> -p <portal> -l), the session view in tree form (-m session -P), and session rescan (-m session -R).
# cat /etc/iscsi/initiatorname.iscsi
InitiatorName=iqn.2004-10.com.ubuntu:01:host01
# iscsiadm -m discovery -t st -p 10.0.30.50:3260
10.0.30.50:3260,1 iqn.2026-11.com.example:san01
10.0.31.50:3260,2 iqn.2026-11.com.example:san01
# iscsiadm -m node -T iqn.2026-11.com.example:san01 -l
# iscsiadm -m session
tcp: [1] 10.0.30.50:3260,1 iqn.2026-11.com.example:san01 (non-flash)
tcp: [2] 10.0.31.50:3260,2 iqn.2026-11.com.example:san01 (non-flash)
# multipath -ll
Building blocks
| Element | Role |
|---|---|
| Initiator IQN | Host identity; the target's ACLs grant LUNs to it |
| Portal | IP:port where the target listens |
| Target portal group (TPG) | Set of portals and LUNs on the target |
| CHAP | Optional authentication, one-way or mutual |
| Session | Logged-in connection; one per path |
Production design
| Practice | Reason |
|---|---|
| Two NICs, two subnets or VLANs, two switches | Independent paths for multipath |
| dm-multipath on top of the sessions | Path failover and load spreading |
| Dedicated storage network, jumbo frames end to end if used | Isolation and efficiency |
Login at boot (node.startup = automatic in iscsid.conf or the node record) | LUNs available before services start |
_netdev on file-system mounts | Mount only after the network and iSCSI are up |
Documented example, not captured output.
Facts
| Item | Value |
|---|---|
| Port | TCP 3260 |
| Identity | IQN (iqn.yyyy-mm.domain:name) |
| Auth | CHAP / mutual CHAP |
| Redundancy | Multipath over separate NICs/subnets |
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 Interfaces → iSCSI. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.t10.org/ · confidence 94%