Pcornel
Storage · SAN

Target

Cheat sheet · https://pcornel.dk/topic.php?topic=4068

Back to the Topic

Answer

The target presents protocol-specific target identities/ports and ties those endpoints to LUN mappings. A storage array can have many target ports for redundancy and performance, but all paths to one LUN must refer to the same underlying logical unit.

Remember

  • Target ≠ LUN.
  • Target port reachable ≠ host authorized to a LUN.
  • More target ports ≠ more redundancy unless they are placed across independent failure domains.
  • Target login ≠ backend media healthy.

First checks

  • iscsiadm -m discovery -t st -p <ip> — iSCSI targets
  • cat /sys/class/fc_remote_ports/rport-*/port_name — FC target WWPNs
  • targetcli ls — Linux LIO target config

Verify in this order

target port → LUNs → initiators

Where it usually breaks

First mismatch in initiator → link/fabric/network → session/login → target port → LUN/namespace presentation → multipath → block consumer; preserve identity/pre-state before mutation.

SAN → Target SAN/iSCSI map

SAN/iSCSI boundaryWhat to verifyProof limit
Identity / presentationInitiator + target identity, portal/fabric path, LUN stable ID and mappingDiscovery or login alone does not prove correct storage ownership
Path / transportLink/VLAN/IP/TCP or fabric state, path independence, session/path errors and multipath groupingOne reachable path does not prove resilience or backend health
Failure boundaryA reachable target proves endpoint connectivity; it does not prove correct LUN mapping, backend health or upper-layer consistency.Correlate host, network/fabric and target/array evidence for the same time window
AcceptanceHealthy evidence: expected target ports are reachable through intended paths, return consistent logical-unit identity and show no unexplained transport/controller errors.Close only after the original block workload and upper-layer consistency check succeeds

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4068

Confirmation

Confirm action

Continue?