When a cache drive fails in a vSAN environment, the entire Disk Group (DG) becomes unavailable because the cache drive stores the metadata for the associated capacity drives. This guide outlines the workflow to identify the failed drive, remove the stale Disk Group via CLI, and recreate it using the vSphere Client.
Symptoms
- vSAN Health check reports "Physical Disk Failure" or "Permanent Disk Failure."
- Disk Management in vCenter shows a Disk Group as "Unhealthy" or "Absent."
- Capacity of the affected host is missing from the vSAN Datastore.
Prerequisites
- Backup: Ensure you have a valid backup of your data.
- Maintenance Mode: If possible, place the host in Maintenance Mode with "Ensure Accessibility" to prevent data impact during the process.
- Hardware Replacement: Physically replace the failed cache drive before starting the software workflow.
VMware vSAN OSA
Manual Removal and Recreation
Step 1: Identify the Failed Cache Drive UUID
Connect to the affected ESXi host via SSH and run the following command to identify the UUID of the failed/absent disk:
vdq -i
Action: Locate the drive listed as "Ineligible" or with a "Reason" indicating it is not mounted/failed.
Note: If vdq -iH does not provide the UUID, you can also use esxcli vsan storage list to find the VSAN Disk Group UUID (which matches the VSAN UUID of the cache device).
Step 2: Remove the Failed Disk Group via CLI
Standard GUI removal often fails when a cache drive is physically absent or dead. Use the following command to force the removal of the stale DG metadata:
esxcli vsan storage remove -u <FAILED_CACHE_DISK_UUID>
Effect: This command removes the Disk Group mapping and clears vSAN partitions from the healthy capacity drives.
Benefit: This is a live operation; no host reboot is required.
Step 3: Clear Non-vSAN Partitions (If Needed)
If the capacity disks still show as "Ineligible" or have residual partitions, clear them to ensure they are "Eligible for use by vSAN".
Steps how to clean VSAN partitons
Step 4: Recreate the Disk Group via vCenter GUI
Once the CLI cleanup is complete, return to the vSphere Client to re-claim the disks:
Navigate to Cluster > Configure > vSAN > Disk Management.
Select the affected Host.
Click Claim Unused Disks (or Create Disk Group in older versions).
In the wizard:
Select the New Replacement Drive for the Cache Tier.
Select the Existing Healthy Drives for the Capacity Tier.
Click OK/Create.