If you detect a failed storage device or if you upgrade a device, you can manually remove it from a host by using an ESXCLI command.
About this task
If you remove a flash caching device, Virtual SAN deletes the disk group that is associated with the flash device and all its member devices.
Verify that the storage controllers on the hosts are configured in passthrough mode and support the hot-plug feature.
If the storage controllers are configured in RAID 0 mode, see the vendor documentation for information about adding and removing devices.
- Open an SSH connection to the ESXi host.
- To identify the device ID of the failed device, run this command and learn the device ID from the output.
esxcli vsan storage list
- To remove the device from Virtual SAN, run this command.
esxcli vsan storage remove -d device_id
What to do next
Add a new device to the host.
The host automatically detects the device.
If the host is unable to detect the device, perform a device rescan.