iSCSI Hub
Isometric storage array with concentric target rings on top, ringed by glowing blocks and inbound arrows, representing iSCSI targets and initiators
fundamentals

iSCSI Targets, Initiators, LUNs and MPIO Explained

How iSCSI targets, initiators, LUNs and IQNs fit together, the iscsiadm commands to discover, log in and list LUNs, and why MPIO is not link aggregation.

By iSCSI Hub Editorial · ·Updated · 9 min read

An iSCSI target is the storage end, an iSCSI initiator is the client end, and a LUN is one logical unit inside the target that the initiator reads and writes. RFC 7143 describes iSCSI as “a transport protocol for SCSI that works on top of TCP”, with TCP 3260 as the only allowed default port. The initiator logs in to the target, and the LUNs it is given appear as SCSI devices on the host.

What an iSCSI LUN is

A LUN is a logical unit number: the SCSI address of one logical unit within a target. RFC 7143 says a target device “contains one or more SCSI target ports and one or more device servers and associated LUs”. On the wire, “The LUN field is 64 bits and should be formatted in accordance with [SAM2]” (section 11.2.1.7), so the LUN is a SCSI address that iSCSI carries. What backs a LUN and which host should own it are covered in What is an iSCSI LUN?.

ObjectWhat it identifiesRFC 7143 wording
Target IQNThe storage endpoint”iSCSI names are globally unique” (section 4.2.7)
PortalA network endpointA target portal “is identified by its IP address and its listening TCP port”
LUNA logical unit within the target”The LUN field is 64 bits”
Initiator IQNThe client endpointThe initiator name is “the worldwide unique name of the initiator”

LUN vs iSCSI: what is the difference?

iSCSI is the transport and a LUN is the destination of its commands. They are not alternatives: an “iSCSI LUN” is a LUN reached over iSCSI.

iSCSILUN
What it isA transport for SCSI on top of TCPThe address of one logical unit in a target
Specified inRFC 7143SAM2; iSCSI carries it in a 64-bit field
What the host seesSessions and connectionsA SCSI device with an [H:C:T:L] address

lsscsi(8) explains that address: “the first element ‘H’ is the host number, the second element ‘C’ is the controller number, the third element ‘T’ is the target number and the final element is the Logical Unit Number (LUN)”.

What is an iSCSI target?

An iSCSI target is the storage-side endpoint that initiators log in to. RFC 7143 defines it through the SCSI target device, which holds target ports and logical units, and identifies a target portal by “its IP address and its listening TCP port”. It adds that “implementations MUST NOT default to the use of port 860, as 3260 is the only allowed default”.

Software targets publish ceilings worth checking before designing around one. Microsoft’s iSCSI Target Server scalability limits, checked November 2026:

ItemLimitEnforced
Target instances per server256No
LUs or virtual disks per server512No
LUs per target instance256 (128 on Windows Server 2012)Yes
Sessions per target instance544 (512 on Windows Server 2012)Yes
MPIO paths4No
Fixed VHD max size.vhdx: 64 TBYes
iSCSI offloadNot supportedN/A

What is an iSCSI initiator?

An iSCSI initiator is the client end: software or hardware on the host that logs in to a target and sends the SCSI commands. The term comes from SCSI itself: RFC 7143 notes that “Clients of a SCSI interface are called” initiators, and the other end is the target.

Broadcom’s vSphere documentation names three initiator types for ESXi hosts:

Initiator typeWhat the docs say it relies onExample
SoftwareVMware code in the VMkernelESXi software iSCSI adapter
Dependent hardwareVMware networking and VMware iSCSI configuration and management interfacesiSCSI-licensed Broadcom 5709 NIC
Independent hardwareIts own networking and iSCSI configuration and management interfacesQLogic QLA4052

On Windows, the Microsoft iSCSI Initiator “enables you to connect a Windows host to an external iSCSI storage array using Ethernet network interface cards (NICs)”. On Linux, the open-iscsi project supplies iscsiadm, its administration utility.

How targets and initiators are named

Both ends are named, most often with an iSCSI qualified name, or IQN. RFC 7143 builds it from a yyyy-mm date code, a reversed domain name and an optional colon-prefixed string; its example is iqn.2001-04.com.example:storage.tape1.sys1.xyz. The date must fall in a period when the naming authority owned the domain. The RFC also defines eui. and naa. formats, and says “The UTF-8 encoding of the name is not larger than 223 bytes”.

On uniqueness, RFC 7143 says: “iSCSI names are globally unique”. It adds: “No two initiators or targets can have the same name”. On Linux, the open-iscsi README has you set up an initiatorname.iscsi file, and its build options give /etc/iscsi as the default configuration directory.

For worked target examples, see Unraid iSCSI target setup and TrueNAS iSCSI target setup, zvol to login.

Discovery and authentication

RFC 7143 says “An initiator may discover the iSCSI Target Names to which it has access” with a SendTargets request, and treats discovery as its own session type, limited to target discovery. A normal session then logs in to one target. Discovery and login problems are covered in iSCSI troubleshooting for login, timeout and path errors.

For authentication, RFC 7143 (section 9.2.1) says “Compliant iSCSI initiators and targets MUST implement the CHAP authentication method”, “including the target authentication option”. It adds that a compliant implementation “SHOULD NOT continue with the login step in which it should send a CHAP response” unless it can verify that the CHAP secret is at least 96 bits, or that IPsec protects the connection.

CHAP does not encrypt traffic. The RFC says that without IPsec, once authentication completes, “all PDUs are sent and received in the clear”.

iscsiadm commands to discover, log in and auto-login

The iscsiadm(8) manual page gives discovery and login examples. Here the man page’s example addresses and IQN are replaced with placeholders:

# discover targets on a portal
iscsiadm --mode discoverydb --type sendtargets --portal <ip> --discover

# log in to one target on that portal
iscsiadm --mode node --targetname <iqn> --portal <ip>:3260 --login

# log out again
iscsiadm --mode node --targetname <iqn> --portal <ip>:3260 --logout

New node records start with manual login. The default iscsid.conf says “The default is manual” and sets node.startup = manual. To log in automatically at startup, the open-iscsi README updates the saved record:

iscsiadm -m node -T targetname -p ip:port --op update -n node.startup -v automatic

The README warns that changing the default in iscsid.conf “will not affect existing nodes”; it “will only affect nodes that are discovered after setting the value”. So update records you already discovered with the command above.

How to list iSCSI LUNs with iscsiadm

iscsiadm has no “list LUNs” mode; the man page lists discovery, discoverydb, node, fw, host, iface and session modes. LUNs show up in session mode at print level 3, which the open-iscsi README describes as “3 = Print SCSI info like LUNs, device state”.

On a Linux host running open-iscsi:

  1. sudo iscsiadm -m session: for session mode, the man page says “all active sessions and connections are displayed”. The README shows a line such as tcp [2] 10.15.84.19:3260,2 iqn.1992-08.com.netapp:sn.33615311.
  2. sudo iscsiadm -m session -P 3 adds the SCSI devices and LUNs behind each session. The man page says -P prints sessions “in tree format”.
  3. lsscsi -s lists each SCSI device’s [H:C:T:L] address with its size. The last number is the LUN, and lsscsi(8) says -s prints “disk capacity in human readable form”.
  4. After mapping a new LUN on the target, sudo iscsiadm -m session -R rescans. Per the man page, “If no sid has been passed in rescan all running sessions”; add -r with a session ID to rescan just one. Then repeat step 3.

On Windows, Microsoft’s Get-Disk reference “gets all disks attached via the iSCSI bus” and passes them to Get-IscsiSession to show the sessions behind them:

Get-Disk | Where-Object -FilterScript {$_.BusType -Eq "iSCSI"} | Get-IscsiSession | Format-Table

Network design

Microsoft’s iSCSI connectivity troubleshooting guidance asks: “Are iSCSI, management, and client networks segregated and correctly routed”? It also says to “Make sure that MTUs and Jumbo Frames are consistent end to end”. For a cluster node, it says to route iSCSI traffic “through dedicated network adapters” and not share adapters with production or cluster traffic.

Before adding interfaces, compare the network and media ceilings with the iSCSI Throughput and MPIO Calculator for a given path count, block size and storage class.

MPIO gets redundancy from separate paths, each with its own iSCSI connection. Microsoft’s MPIO troubleshooting guidance says: “For redundancy, make sure that each iSCSI connection uses a different network adapter”. It adds: “If the system detects only one path, rebuild the iSCSI connections”.

On Linux, multipath(8) is “used to detect and coalesce multiple paths to devices, for fail-over or performance reasons”. Microsoft’s connectivity guidance lists one cause of iSCSI disconnects as LBFO NIC teams that “aren’t ready when iSCSI services start”, and notes LBFO teaming is deprecated for Hyper-V deployments as of Windows Server 2022.

Our view: use MPIO with one connection per adapter for iSCSI redundancy, and do not count a bonded link as a second path.

Connect the initiator and check persistence

For sessions that should come back at boot, set node.startup to automatic on each saved record, since the README says changing iscsid.conf “will not affect existing nodes”.

Verify MPIO failover before using the LUN

On Linux, multipath(8) says -ll shows the current multipath topology “from all available information”. On Windows, Microsoft’s MPIO guidance runs mpclaim -s -d to look for MPIO or storage errors, and says to rebuild the iSCSI connections if only one path is detected.

Also decide what should happen when every path is down. The default iscsid.conf sets node.session.timeo.replacement_timeout = 120, described as “the length of time to wait for session re-establishment” in seconds. The login and path troubleshooting guide covers that timer. For the Windows side, configure a Windows Server iSCSI target with CHAP and MPIO before checking path failover.

Common mistakes

  • Scripts that rely on Windows disk numbers. Microsoft’s connectivity guidance says: “Make sure that applications and scripts don’t rely on disk numbers. Path failovers can change the numbers”.
  • Two sessions through the same adapter. Microsoft’s MPIO guidance wants each iSCSI connection on a different network adapter.
  • Editing iscsid.conf and expecting saved nodes to change. The README says the change “will not affect existing nodes”.
  • Cloned hosts sharing one initiator name, which RFC 7143 rules out: “No two initiators or targets can have the same name”.
  • Expecting CHAP to hide data. Without IPsec, RFC 7143 says PDUs travel “in the clear”.

When several machines need the same data at once, iSCSI vs NFS vs SMB compares block and file sharing.

Where to go next

FAQ

how many luns can an iscsi target have?

It depends on the target software rather than the protocol, whose LUN field is 64 bits wide. Microsoft’s iSCSI Target Server enforces 256 LUs per target instance (128 on Windows Server 2012) and lists 512 per server as a tested, not enforced, limit. Other targets set their own limits, so check the vendor’s documentation.

what port does iscsi use?

iSCSI uses TCP port 3260 by default. RFC 7143 says “3260 is the only allowed default”, and port 860, if used, “MUST be explicitly specified”.

Evidence note: facts and commands come from RFC 7143, the open-iscsi README and iscsid.conf, the Ubuntu iscsiadm, lsscsi and multipath manual pages, Microsoft Learn and Broadcom VMware documentation, as of 2026-11-18. The commands were not run by us.

Sources

  1. RFC 7143: Internet Small Computer System Interface (iSCSI) Protocol (Consolidated)
  2. open-iscsi: default iscsid.conf with documented timer values
  3. open-iscsi: initiator configuration and persistent sessions
  4. iscsiadm(8): open-iscsi administration utility (Ubuntu manual page)
  5. lsscsi(8): list SCSI devices and their attributes (Ubuntu manual page)
  6. multipath(8): device mapper target autoconfig (Ubuntu manual page)
  7. Microsoft Learn: Multipath I/O troubleshooting guidance
  8. Microsoft Learn: iSCSI storage connectivity troubleshooting guidance
  9. Microsoft Learn: iSCSI Target Server scalability limits
  10. Microsoft Learn: Get-Disk (Storage module)
  11. Microsoft iSCSI Initiator (archived Windows Server 2008 R2 documentation)
  12. Broadcom TechDocs: vSphere 7.0 iSCSI initiators

Related