vSAN health continues to alert about failed disk which has been replaced
search cancel

vSAN health continues to alert about failed disk which has been replaced

book

Article ID: 447078

calendar_today

Updated On:

Products

VMware vSAN

Issue/Introduction

A capacity disk in a vSAN disk group fails, and is physically replaced.

Even though the disk is no longer physically in place, Skyline Health continues to alert about a failed disk.

Environment

vSAN OSA (all versions)

Cause

If a physical disk does not fail cleanly, vSAN retains a reference to it, which needs to be removed.

Resolution

Log onto an SSH session on the ESXi host.

Run this command to identify the failed disk UUID

esxcli vsan cluster get

 

All healthy disks will show output similar to the below:

naa.XXXXXXXXXXXXXXXX
   Device: naa.XXXXXXXXXXXXXXXX
   Display Name: naa.XXXXXXXXXXXXXXXX
   Is SSD: true
   VSAN UUID: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
   VSAN Disk Group UUID: YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY
   VSAN Disk Group Name: naa.YYYYYYYYYYYYYYYY
   Used by this host: true
   In CMMDS: true
...
   

 

For the unhealthy entry, it will show something like this:

Unknown
   Device: Unknown
   Display Name: Unknown
   Is SSD: false
   VSAN UUID: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX
   VSAN Disk Group UUID:
   VSAN Disk Group Name:
   Used by this host: false
   In CMMDS: false
...

 

 

Run this command to remove the UUID of the failed disk from vSAN

esxcli vsan storage remove -u XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX

 

 

If the reference to this disk is still present after running the above command, then schedule a cold boot of the ESXi host to force refresh the disk metadata.

- Put the ESXi host into Maintenance Mode using Ensure Data Accessibility before rebooting.

 

 

 

 

 

 

 

 

Additional Information

Managing and Configuring a vSAN disk group using esxcli commands