A server can have a functioning Fibre Channel adapter, an illuminated switch port and a reachable storage array yet still see no logical unit. In a switched Fibre Channel SAN, those observations describe different layers. Fabric login, port login, process login, device discovery, zoning and storage-side LUN masking are related checks, not interchangeable proof that an application can use a disk.
Understanding FLOGI, PLOGI and PRLI makes troubleshooting far more precise. These Fibre Channel services have different participants and objectives, and the right question is which stage of communication has actually succeeded.
The identities you must distinguish first
A Fibre Channel endpoint generally has a World Wide Port Name (WWPN) and may have a World Wide Node Name (WWNN). The WWPN identifies a port for purposes such as fabric discovery and zoning; it is not the same as the port’s address inside a particular fabric. A fabric assigns a 24-bit Fibre Channel ID (FCID) during fabric login. This address is used for routing frames within the fabric and can change when topology or login state changes.
On a typical switched SAN, a host bus adapter presents one or more initiator ports and a storage array presents target ports. A switch manages fabric services. Administrators commonly separate fabrics for resilience and may divide traffic into virtual SANs (VSANs) where the platform supports them. A WWPN is therefore useful for identifying the intended device; an FCID helps troubleshoot the actual current fabric presence.
Before analyzing logins, document the host WWPNs, array target WWPNs, fabric or VSAN, switch interface and expected storage mapping. Confusing a port’s WWPN with its current FCID leads to incorrect zoning and misleading incident notes.
FLOGI: joining the switched fabric
FLOGI (fabric login) is an Extended Link Service exchange between a fabric-attached endpoint and the switch fabric. The endpoint presents its identity and service parameters; a successful fabric login establishes its fabric presence and assigns the FCID used in that fabric. Cisco MDS documentation uses the show flogi database command to verify that the expected storage or host port appears in the switch’s FLOGI table.
This is the first important boundary: a successful FLOGI means that the fabric recognizes the port. It does not prove that the host has permission to discover a specific target, that the target has accepted a protocol session, or that a LUN is mapped to the host. Conversely, if a host is absent from the switch’s login database, there is little value in starting with filesystem troubleshooting.
Check physical link state, supported speed, optics, cabling, switch-port configuration, the correct fabric/VSAN and whether the host interface has initialized. Repeated FLOGI failures may also reflect incompatible parameters or unstable links. The appropriate switch command output must be interpreted for the exact vendor software and interface type.
The fabric name server: making endpoints discoverable
The Fibre Channel name server maintains registrations and discovery attributes that help endpoints find other ports. An N_Port may register characteristics such as WWPN, FCID and supported FC-4 protocols; fabric name-service behavior is described in Cisco’s MDS FLOGI and FCNS documentation. Cisco’s show fcns database displays name-server entries, which can help establish whether the expected initiator and target are discoverable in the relevant VSAN.
Name-server presence is not a blanket authorization. What a host can discover may be constrained by the fabric’s active zoning policy. A target can also appear in the fabric while its storage array declines to present any mapped LUNs to that host. This explains why troubleshooting should compare FLOGI, name-server state, active zones and target-side access instead of treating them as a single “connected” status.
PLOGI: establishing a port-to-port session
PLOGI (port login) establishes a session between Fibre Channel N_Ports, exchanging and agreeing on service parameters used for communication. Ports also use PLOGI when communicating with certain well-known fabric services, including the name server. A host initiator may therefore successfully join the fabric and still fail at the endpoint-to-endpoint port-login stage.
If an expected target is visible in the name-server database but the host reports a port-login failure, investigate the active zone membership, target port state, transport compatibility, switch events and HBA logs. A PLOGI problem is not fixed simply by rescanning operating-system disks: the required Fibre Channel communication has not yet been established successfully.
Unlike a generic Ethernet ping, the storage administrator is checking session establishment between named Fibre Channel ports and their supported fabric services. An FCID can help identify the present port, but durable zoning policy is often defined around WWPNs.
PRLI: agreeing on the upper-layer protocol role
PRLI (process login) establishes the required upper-layer process relationship between ports. For conventional SCSI over Fibre Channel (FCP), it can negotiate the appropriate FC-4 process parameters, including initiator and target roles. IBM’s Fibre Channel login documentation distinguishes FLOGI, PLOGI and PRLI and notes that PRLI is tied to the needs of the upper-layer protocol, rather than being an optional decoration on every storage path.
A port can be fabric-visible and PLOGI-capable without a usable SCSI-FCP relationship. Troubleshooting a PRLI failure requires checking both sides’ supported protocol roles, configuration and error reporting. Do not infer SCSI LUN availability from a successful PLOGI. Also avoid assuming that every Fibre Channel workload uses identical upper-layer sessions: NVMe over Fibre Channel has its own association and connection mechanisms, which must be diagnosed using the relevant protocol documentation.
A useful sequence, with the necessary caveats
- Physical and link initialization: The port and switch interface come up at compatible settings.
- FLOGI: The endpoint joins the fabric and gains an FCID.
- Name-service registration and discovery: Relevant identities and capabilities become available, subject to supported fabric behavior and zoning.
- PLOGI: Required endpoint ports establish their session and exchange parameters.
- PRLI: For FCP, the initiator and target establish the applicable upper-layer process relationship.
- Target access and host discovery: The array maps authorized logical units, and the operating system discovers usable paths and devices.
This is a diagnostic model, not a claim that all vendors send these frames in one universal, unvarying order. Some fabric services use their own port logins and some discovery work happens in parallel or through device-specific implementations. Inspect actual protocol traces and vendor documentation when sequence details matter.
Zoning and LUN masking protect different boundaries
Fabric zoning restricts which initiator and target ports may communicate within a fabric. It is commonly configured with WWPNs and active zonesets. Storage-side LUN masking or host mapping determines which volumes a particular host initiator is permitted to access. Both must be correct for the intended storage path; neither substitutes for transport health or operating-system multipath configuration.
For example, suppose host WWPN A is in a valid zone with array target WWPN B. The host appears in FLOGI and FCNS. If the array’s host object does not include A or the desired volume is not mapped, SCSI discovery may still return no usable disk. Adding unrelated initiators to the zone will not solve that mapping problem and may make isolation worse.
A common operational practice is to limit zones to the required initiator-target relationships and configure redundant independent paths. The precise zoning strategy depends on platform recommendations and the fabric architecture; use the actual design and security policies rather than indiscriminately widening visibility.
NPIV, virtual initiators and fabric login
N_Port ID Virtualization (NPIV) allows multiple virtual port identities to share a physical Fibre Channel connection when supported by the switch, adapter and virtualization stack. Virtual identities can have their own WWPNs and FCIDs, which matters for zoning and host-mapping rules. In some NPV/NPIV arrangements, downstream end-device FLOGIs are represented upstream using FDISC exchanges; Cisco documents this behavior for its NPV devices.
This means a physical HBA can appear healthy while a virtual machine’s assigned WWPN is absent or incorrectly zoned. Check both physical link health and the virtual port’s actual fabric presence. Do not assume the hypervisor’s virtual WWPN automatically inherits every permission of the physical port.
A practical no-LUN troubleshooting runbook
Start with a change-controlled, read-only observation of the failure. Capture the host and target WWPNs, affected initiator, switch interface, VSAN, array host object, requested volume and the timestamp of the last known good path. Then work from the lower layers upward:
- Link: Verify the physical interface is up, optics and cabling are supported and counters do not show repeated errors or link resets.
- FLOGI: Use an appropriate switch command such as
show flogi databaseto locate the expected WWPN in the correct fabric. If missing, check link initialization before application settings. - Name server: Inspect
show fcns databaseor its vendor equivalent for the initiator and target identities and advertised FC-4 capabilities. - Zones: Confirm the intended zoneset is active, and that the precise host and target ports are authorized to communicate. A saved but inactive zoneset does not prove access.
- Port and process sessions: Review HBA, switch and array logs for PLOGI/PRLI accept/reject messages, protocol-role mismatches and recurrent timeouts.
- Array mapping: Check that the host initiator is registered under the intended host object, with the correct volumes mapped and no accidental masking.
- Host discovery: Only then perform approved rescan and multipathing checks. Verify path count, volume identity and application-safe device handling.
A useful incident record distinguishes “not fabric logged in,” “fabric logged in but target not discovered,” “target discovered but process login rejected,” and “session established but no mapped LUN.” Each outcome sends the engineer to a different team or control plane.
Common misunderstandings that slow recovery
- “WWPN and FCID are interchangeable”: They are not. The WWPN identifies the port; the FCID is a fabric-assigned route address.
- “FLOGI means the SAN is secure”: Fabric login is not, by itself, a substitute for fabric security, zoning or storage authorization.
- “Name-server visibility guarantees storage access”: Zoning, protocol login, target mappings and host drivers may still block usable access.
- “A successful PLOGI proves SCSI is ready”: FCP process login and LUN mapping are separate checks.
- “Rescan first”: Operating-system rescans cannot repair broken fabric discovery or target-side access controls.
- “All SAN traffic is Fibre Channel SCSI”: FCP, NVMe/FC, iSCSI and FCoE have distinct protocol and deployment requirements. Their troubleshooting evidence should not be mixed.
For selecting or comparing broader storage transport approaches, Fibre Channel, FCoE and iSCSI addresses the architecture choice rather than repeating the login procedure covered here.
What a successful Fibre Channel login really proves
A working SAN path is a chain of verified facts: link up, recognized WWPN and fabric login, discoverable target, accepted port and upper-layer sessions, active access policy, mapped storage and a healthy host path. Cisco’s current MDS documentation provides the fabric-side FLOGI and name-server checks; IBM’s technical SAN references explain why PLOGI and PRLI are separate protocol milestones. Diagnose the broken link in that chain with specific evidence instead of treating every missing volume as a generic zoning problem.