Discovery
Cheat sheet · https://pcornel.dk/topic.php?topic=4104
Answer
Discovery can be statically configured or use mechanisms such as SendTargets depending on implementation. Discovery returns target/portal information, but actual login, authentication and LUN mapping occur afterward.
Remember
- Discovery success ≠ login success.
- Discovered target ≠ authorized LUN access.
- Stale discovery cache ≠ current target state.
- Discovering more portals ≠ MPIO configured.
First checks
iscsiadm -m discovery -t sendtargets -p <ip>— SendTargets discoveryiscsiadm -m discoverydb— stored discovery recordsGet-IscsiTargetPortal— Windows portals
Verify in this order
discovery portal → target list → node records
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.
iSCSI → Discovery SAN/iSCSI map
| SAN/iSCSI boundary | What to verify | Proof limit |
|---|---|---|
| Identity / presentation | Initiator + target identity, portal/fabric path, LUN stable ID and mapping | Discovery or login alone does not prove correct storage ownership |
| Path / transport | Link/VLAN/IP/TCP or fabric state, path independence, session/path errors and multipath grouping | One reachable path does not prove resilience or backend health |
| Failure boundary | Discovery proves target metadata was returned through a discovery path; it does not prove operational sessions or storage access. | Correlate host, network/fabric and target/array evidence for the same time window |
| Acceptance | Healthy evidence: discovery returns only expected target names/portals and current records match the intended network design. | 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=4104