SCSI FC/iSCSI paths · preserve identity and surviving I/O
Example: a host sees only one of four expected paths after switch maintenance. Preserve the surviving path while diagnosing the missing fabric.
About the command and output examples
Names, addresses and results are illustrative. Commands have not been executed against a live storage system or SAN switch for this publication. Confirm syntax and compatibility for your release, then rehearse in an approved lab. Existing-data recovery and destructive changes need an environment-specific plan. Read the editorial standards.
01Confirm impact and identity
- Record host, IQN/WWPN, LUN serial, LUN ID, SVM, protocol, affected fabric, and time. Check whether I/O is still running and whether multipath is protecting the workload.
- On ONTAP, confirm LUN online and mapped to the intended igroup. Compare host initiator ID exactly.
lun show
lun mapping show
network interface show
storage failover show02Walk the path
- For iSCSI: check host NIC/VLAN/MTU and route, TCP portal reachability, target service, discovery/session login, igroup IQN, then multipath.
- For FC: check HBA and switch port link, active zone set, target WWPN login, FC LIF state, igroup WWPN, host rescan, then multipath.
- Inspect one failed path at a time. Do not change a healthy fabric during an active outage unless the plan requires it.
The missing path is identified at a specific layer, such as switch zoning or initiator mapping.
03Restore and validate
- Apply the narrow fix through change control. Rescan the host and verify expected path count, path states, device serial, and I/O latency.
- If any device appears duplicated, stop before formatting or mounting. Verify serial and multipath aggregation.
All planned paths restored and stable; host logs show no new I/O errors.
04Worked outage: Fabric B is absent, Fabric A remains healthy
Start with the host device’s stable identifier, not a path device name that may change across reboots. Record which adapters and target WWPNs/portals belonged to the missing paths. A LUN mapping that works through Fabric A is useful evidence: changing it globally while investigating Fabric B can remove the surviving access.
| Stage | Fabric B evidence | Next check |
|---|---|---|
| Host adapter | Link down / no sessions | HBA/NIC, driver, optic/cable and port |
| Fabric connectivity | Initiator logged in; target missing | Target port/LIF and active fabric login |
| Authorization | Both endpoints present; no mapped device | Active zoning or iSCSI auth, then igroup/mapping |
| Host aggregation | Raw paths present but not in multipath | Supported host configuration and device identity |
- Compare the affected host with another host using the same switch or target, and compare B with A. Use the pattern to identify a shared component.
- For FC, verify the active configuration rather than only a saved zone database. For iSCSI, separate portal discovery from authenticated session login.
- After the narrow fix, rescan using the supported host process and confirm the same LUN identity, restored paths and application I/O.
05An identity mismatch changes the incident response
If maintenance makes a device look new or duplicate, stop before formatting, importing a filesystem or mounting a second copy. Compare LUN serial, WWID/NAA, mapping, datastore/filesystem identity and DR history. A path problem is not a reason to recreate a LUN. Preserve the original mappings and obtain a storage/host recovery decision for any identity conflict.
Closure records the specific failed path/component, original and recovered device identity, restored path coverage and application test.
06Worked case: one fabric path disappears after maintenance
Fictional investigation. A host still sees its LUN but has two paths instead of the four recorded before maintenance. The application is still serving I/O. Start by recording the LUN identity and preserving the surviving fabric; do not recreate a LUN that is already visible.
| Layer | Example observation | Decision |
|---|---|---|
| Host multipath | Same LUN identity; two Fabric A paths remain | Keep Fabric A untouched |
| Fabric B login | Host initiator is logged in; expected target is absent | Trace the target-facing connection before changing zoning |
| Target-facing switch port | Port is down after cabling work | Verify cable labels and target port against the change record |
| After approved cable correction | Target logs in and host paths recover to four | Verify application I/O and stable path counts |
- Use the pre-change path inventory to map lost paths to a specific fabric and target. Check that the target is expected to log in on that switch.
- Compare target-facing link status and logins before reviewing effective zoning or ONTAP LUN mapping. A target that is not logged in needs a link/login investigation first.
- Have the authorized operator correct the identified Fabric B connection. Recheck the target login, expected paths and application I/O; avoid touching the healthy fabric.
The original LUN identity is unchanged, the expected paths return, and the application remains healthy during the observation window.
Use the section links to revisit a step, or follow a related guide below.
Official references and further reading
Choose the matching release in the vendor documentation before using a command or design. References open on the publisher’s website; linked material remains with its publisher.