vSAN capacity disk failed in one of Dell 730xd Host . When tried to remove the disk from the disk group even after putting the host into the Maintenance Mode the operation failed with the error that the disk can not be removed.
VMware vSAN 7.x
Removal of the failed vSAN disk failed since it was physically removed and replaced before removing it from the vSphere UI.
Record the absent capacity disk UUID by running this command
esxcli vsan storage list
Example output of an absent capacity device:
UnknownDevice: UnknownDisplay Name: UnknownIs SSD: trueVSAN UUID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx8fa3VSAN Disk Group UUID: VSAN Disk Group Name:Used by this host: falseIn CMMDS: falseOn-disk format version: 5Deduplication: falseCompression: falseChecksum: Checksum OK: falseIs Capacity Tier: falseEncryption: falseIs Mounted: falseDiskKeyLoaded: falseSample Output:
vdq -iHMappings: DiskMapping[0]: SSD: naa.xxxxxxxxxxxxxx MD: naa.xxxxxxxxxxxxxx MD: naa.xxxxxxxxxxxxxx MD: naa.xxxxxxxxxxxxxx MD: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx8fa3In the above output, absent capacity disk will only have the uuid while all other healthy devices will have the device naa.id
Remove the absent disk using the below command
esxcli vsan storage remove -u <UUID of the absent capacity disk to remove>