ESXi Fibre Channel Target and Path Discrepancy is noticed following Cisco UCS Firmware Upgrade - VMware vSphere ESXi
search cancel

ESXi Fibre Channel Target and Path Discrepancy is noticed following Cisco UCS Firmware Upgrade - VMware vSphere ESXi

book

Article ID: 458002

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:

  • Path Degradation: A sudden reduction in the number of targets, devices (LUNs), and paths available to an HBA (e.g., vmhba0) compared to pre-maintenance levels.

  • Missing Targets: Storage targets that were previously accessible appear missing from the HBA path list.

  • Environment Context: Typically observed in environments using Fibre Channel storage arrays (e.g., Pure Storage) connected via Cisco UCS fabrics.

  • Rescan Storage: Running "Rescan Storage" or executing "esxcli storage core adapter rescan" does not discover or restore the missing targets and devices.

  • ESXI host reboot: A cold reboot of the ESXi host temporarily clears the issue, restoring the full expected target and path configuration.

Environment

  • VMware vSphere ESXi 8.x

     

Cause

During a Cisco UCS Fabric Interconnect upgrade or restart, the virtual Fibre Channel (vHBA) interface undergoes link-state re-initialization. Under certain timing conditions, the vHBA link experiences a rapid, sub-second link bounce (transitioning UP, dropping DOWN within milliseconds, and then returning to UP).

This target discrepancy occurs when the link drops while the ESXi SCSI mid-layer (ScsiScan) is mid-flight discovering storage array endpoints:

  1. Initial Link Up & Target Discovery:

    When the vHBA link first signals UP, the Cisco native driver (nfnic) creates transport ports (tports) and triggers fabric/port login to discovered storage array targets:

    2026-09-19T08:14:07.418Z In(182) vmkernel: cpu2:####)nfnic: <1>: INFO: fnic_handle_link: 1171: fnic1: link up
    2026-09-19T08:14:07.418Z In(182) vmkernel: cpu2:####)nfnic: <1>: INFO: fnic_fdls_link_status_change: 104: fnic1: FDLS link status change link up:1, usefip:0
    2026-09-19T08:14:07.691Z In(182) vmkernel: cpu86:####)nfnic: <1>: INFO: fdls_create_tport: 2282: FDLS create tport: fcid: #### wwpn: ####
    2026-09-19T08:14:07.691Z In(182) vmkernel: cpu86:####)nfnic: <1>: INFO: fdls_create_tport: 2282: FDLS create tport: fcid: #### wwpn: ####

  2.  Sub-Second Link Flap During Device Enumeration:

    While the upper ESXi ScsiScan layer initiates SCSI inquiries to identify the LUNs behind those newly created transport ports, the link abruptly drops DOWN:

    2026-09-19T08:14:08.135Z In(182) vmkernel: cpu2:####)nfnic: <1>: INFO: fnic_fdls_link_status_change: 104: fnic1: FDLS link status change link up:0, usefip:0

  3. ScsiScan Abort ("No connection"):

    Because the link drops mid-handshake, ScsiScan commands fail with "No connection" errors on the paths assigned to those specific targets:

    2026-09-19T08:14:08.137Z In(182) vmkernel: cpu45:####)ScsiScan: 532: Path 'vmhba0:##:##:##': Failed to read VPD Device id page: No connection
    2026-09-19T08:14:08.137Z In(182) vmkernel: cpu68:####)ScsiScan: 532: Path 'vmhba0:##:##:##': Failed to read VPD Device id page: No connection
    2026-09-19T08:14:08.137Z In(182) vmkernel: cpu67:####)ScsiScan: 603: Path 'vmhba0:##:##:##': Failed to read VPD Extended Inquiry page: No connection

  4. Link Stabilization Without Target Recovery:

    When the link stabilizes back to UP moments later, the fabric state is already static and does not generate a new Registered State Change Notification (RSCN):

    2026-09-19T08:14:12.639Z In(182) vmkernel: cpu0:####)nfnic: <1>: INFO: fnic_handle_link: 1171: fnic1: link up
    2026-09-19T08:14:12.639Z In(182) vmkernel: cpu0:####)nfnic: <1>: INFO: fnic_fdls_link_status_change: 104: fnic1: FDLS link status change link up:1, usefip:0

Because the link drops mid-handshake, the HBA driver discards the pending discovery I/O, resulting in an H:0x1 (No Connection) SCSI status for the affected paths. When the link returns, the SCSI mid-layer does not trigger a re-scan of the specific aborted targets because the fabric state itself technically recovered, resulting in no new "fabric event" to notify the storage stack. Consequently, the host treats these paths as permanently disconnected until an administrative re-scan is performed.

Resolution

Immediate Workaround (Online Recovery Without Host Reboot):

If a target or path mismatch occurs following a maintenance window, an online Fibre Channel reset can be issued to tear down and cleanly re-negotiate fabric login without rebooting the host:

  1. Connect to the affected ESXi host via SSH as root.

  2. Issue a Fibre Channel reset on the degraded adapter (e.g., vmhba0):
    esxcli storage san fc reset -A vmhba0

  3. Rescan the adapter to populate the newly registered SCSI targets and devices:
    esxcli storage core adapter rescan --adapter=vmhba0

  4. Confirm in the vSphere Client or via CLI that target and path counts now match the partner adapter.

If the above doesn't resolve the issue, then proceed with the concerned ESXI host reboot to trigger the fabric login.

Additional Information

  • If path discrepancies persist after performing the recovery steps above, verify physical layer integrity (SFPs, cables) and consult your Cisco documentation regarding UCS link-timer profiles or firmware defects that may contribute to rapid link flap behavior.
  • For instructions on gathering diagnostic data, see Collecting diagnostic information for VMware ESXi.
  • To speak with a customer representative or a Support Engineer see Contact Support. Scroll to the bottom of the page and click on your respective region.