vSAN cache disk is showing absent for one of the ESXi host
vSAN 8
vSAN 7
vSAN disk management shows the Cache disk as faulty.
Replace the physical disk and recreate the disk group.
This will make the disk group healthy.
Follow the KB - https://knowledge.broadcom.com/external/article?articleNumber=315532 on how to create the disk group using the CLI method.
Before following the below action plan, we need check the ESXi host logs to check for the failure reported on the faulty drive. If vSAN has acknowledged the device as faulty or marked it as offline, we can proceed with the below steps.
esxcli commands:esxcli system maintenanceMode set --enable true -m ensureObjectAccessibilityesxcli system maintenanceMode set --enable true -m evacuateAllDataesxcli system maintenanceMode set --enable true -m noActionesxcli vsan storage listnaa.123456XXXXXXXXXXX:Device: naa.123456XXXXXXXXXXXDisplay Name: naa.123456XXXXXXXXXXXIs SSD: trueVSAN UUID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx8fa3VSAN Disk Group UUID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxd008eVSAN Disk Group Name: naa.50000XXXXX1245Used by this host: trueIn CMMDS: trueOn-disk format version: 5Deduplication: trueCompression: trueChecksum: 5356031598619392290Checksum OK: trueIs Capacity Tier: trueEncryption: falseDiskKeyLoaded: false VSAN UUID and VSAN Disk Group UUID fields will matchIs Capacity Tier: falseesxcli vsan storage remove -u <VSAN Disk Group UUID>esxcli vsan storage listesxcli vsan storage add -s naa.xxxxxx -d naa.xxxxxxx -d naa.xxxxxxxxxx -d naa.xxxxxxxxxxxxesxcli vsan storage list command to see the new disk group and verify that all disks are reporting True in the "In CMMDS:" field output.https://knowledge.broadcom.com/external/article?articleNumber=315532