StorageConnectivityAlarm: Persistent alarms following improper LUN decommissioning on ESXi 8.0/9.0
search cancel

StorageConnectivityAlarm: Persistent alarms following improper LUN decommissioning on ESXi 8.0/9.0

book

Article ID: 452546

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

The following symptoms may occur after unmounting or deleting a datastore if the underlying LUN was unmapped from the storage array without a prior "Detach" operation in vSphere:

  • vCenter triggers alarm.StorageConnectivityAlarm for a decommissioned device.
  • Alarm state shows as "Unset" or references "Unknown" datastores.
  • vmkernel.log reports: WARNING: ScsiDevice: ####: Device :naa.### has been removed or is permanently inaccessible.
  • hostd.log shows the host attempting to initialize defunct devices cached in the ConfigStore.

Environment

VMware vSphere ESXi 8.x
VMware vSphere ESXi 9.x

Cause

This issue occurs when the Detach step is omitted from the storage decommissioning workflow. While unmounting removes the filesystem, the ESXi kernel continues to poll the SCSI block device. If the LUN is unpresented array-side, ESXi registers a Permanent Device Loss (PDL) and caches the stale device identifier in the ConfigStore database.

Resolution

If possible reboot the ESXi hosts in the cluster to clear stale devices from host configurations. If host can not be rebooted Contact Support to resolve this issue without rebooting the ESXi host, the stale entries must be manually purged by Broadcom Support from the ConfigStore. 


To prevent this in the future ensure to follow the below steps when decommissioning a datastore:

    1. Evacuate VMs / Data.

    2. Unmount Datastore in vSphere Client.

    3. Detach Storage Device (Host > Configure > Storage Devices > Detach).

    4. Delete / Remove Datastore from Inventory.

    5. Unpresent LUN on Storage Array.

    6. Perform Rescan Storage on clusters/hosts.

Additional Information

Contact Support If the alarm persists after performing these steps, Contact Support.