Use this when hosts cannot see storage due to login problems.
Fabric Login
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show flogi database vsan 10Verification & 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 (Cisco MDS) Verify boundary
show flogi database vsan 10
show fcns database vsan 10
show zoneset active vsan 10
A port that is in FLOGI but not in the FCNS database, or not in the active zone set, will not see its targets.
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.
show flogi database— fabric loginsshow fcns database— name server registrationscat /sys/class/fc_host/host*/port_state— Online
ReferenceHow it works1 section · depth on demand
Login sequence
| Step | Between | Purpose |
|---|---|---|
| FLOGI | N_Port → fabric (F_Port) | Join fabric, get FC ID (24-bit address) |
| PLOGI to name server | N_Port → FCNS | Register and query |
| PLOGI | Initiator → target | Port-to-port session |
| PRLI | Initiator → target | Agree on upper protocol (FCP/SCSI, NVMe) |
If the host is not in show flogi database, the problem is physical/link or port configuration; if it is but cannot see LUNs, check zoning and LUN masking.
ReferenceImportant terms & boundaries1 section · depth on demand
How it works
An FC port goes through a fixed login sequence before it can do I/O:
1. Link up – speed negotiation and port mode (F, E, NP).
2. FLOGI – fabric login; the switch assigns the FC ID.
3. Name server registration (PLOGI to FFFFFC, then RFT_ID/RFF_ID) – the port announces itself as initiator or target.
4. SCR – registers for state change notifications (RSCN).
5. Name server query – the initiator asks which targets it can see (only those zoned with it).
6. PLOGI – port login to each target.
7. PRLI – process login, establishes the FCP (SCSI) session.
When a host sees no LUNs, find the first step that did not happen: no FLOGI = link/port problem, FLOGI but no target in the name-server query = zoning, PRLI done but no LUNs = LUN masking on the array.
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 Fibre Channel → Fabric Login. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.snia.org/education/what-is-fibre-channel · confidence 94%