VMware vSAN 7.x
VMware vSAN 8.x
For a disk to be eligible for use in vSAN, it must not have any partitions on it. If any partitions exist on the disk, especially remnants from previous configurations, vSAN will mark the disk as ineligible for use.
Example :
Certain functionalities, such as vSAN or virtual flash resource, require that your ESXihost uses clean storage devices. You can erase an HHD or flash device and remove all existing data.
Make sure that the host is in the connected state.
Verify that the devices you plan to erase are not in use.
Required privilege: Host.Config.Storage
Refer : Erase ESXi Storage Devices
If the above steps do not work the follow the fix mentioned in KB # 374125
If the above also does not work, then clear the partitions on the device from the hardware management console (iLO, iDRAC, and so on).