# VMware vSAN: forcibly removing a disk

- Link: https://www.silviobalduzzi.com/en/2020/09/vmware-vsan-force-remove-disk/
- Published: 2020-09-18T15:47:11+02:00
- Author: balduz84

When working with a vSAN cluster, you may need to replace a failed disk and find
yourself in a situation where removing it from the GUI is not possible. In my case,
the error I was getting in vCenter was: **[Unable to removed “Absent VSAN disk”](https://communities.vmware.com/message/2720154#2720154)**.

To fix this problem, you can force the removal of the disk via SSH by running the
following commands (on the host that reports the broken disk):

> esxcli vsan storage list

This should return output similar to the following:

> [root@esxi:~] esxcli vsan storage list
> naa.50014ee2b3159279Device: naa.50014ee2b3159279Display
> Name: naa.50014ee2b3159279Is SSD: falseVSAN UUID: 524e53f1-5c58-65a1-b74b-45eef4ef12c5VSAN
> Disk Group UUID: 52770f3a-cbfe-4572-e584-191164fe643aVSAN Disk Group Name: naa.
> 55cd2e404b55498eUsed by this host: trueIn CMMDS: trueOn-disk format version: 10Deduplication:
> falseCompression: falseChecksum: 4308889842710721654Checksum OK: trueIs Capacity
> Tier: trueEncryption Metadata Checksum OK: trueEncryption: falseDiskKeyLoaded:
> falseIs Mounted: trueCreation Time: Fri Sep 18 10:25:54 2020
> **Unknown**
> Device: UnknownDisplay Name: UnknownIs SSD: falseVSAN UUID: **5263d9d3-
> 9ed7-76d0-d9b0-7d11a8a5e645**VSAN Disk Group UUID:VSAN Disk Group Name:Used by
> this host: falseIn CMMDS: falseOn-disk format version: -1Deduplication: falseCompression:
> falseChecksum:Checksum OK: falseIs Capacity Tier: falseEncryption Metadata Checksum
> OK: trueEncryption: falseDiskKeyLoaded: falseIs Mounted: falseCreation Time: Unknown

Then remove the disk, taking its UUID from the output of the previous command:

> esxcli vsan storage remove -u **5263d9d3-9ed7-76d0-d9b0-7d11a8a5e645**

This command doesn’t return any output, but you can then run the “_esxcli vsan storage
list_” command again to check that the old disk has been removed successfully.
