- If you are replacing physical disks, additional steps are required:
1. VMware recommends the node is placed into Maintenance Mode as detailed in the Resolution section step 2, before triggering a power off or performing any host maintenance vSAN disks are hot swappable in the following circumstances:
a) Hybrid configuration and the controller supports hot swapping disks
b) All flash, Deduplication and Compression is disabled and the controller supports hot swapping disks
If you're unsure if the controller supports hot swapping of disks or Deduplication and Compression is enabled then treat it as it's not supported and put the node into Maintenance Mode with Ensure Accessibility, power off the node and replace the disk
Note: Disk groups with Deduplication and Compression enabled or replacing a failed cache tier disk requires the deletion of the disk group prior to replacing the failed disk. Follow the steps in the above Resolution section to replace the failed disk. If you can hot swap the failed disk be sure to run a rescan of the HBA so the new disk is detected and presented to ESXi for use
2. Log in to the node via SSH as root and run the below command to rescan all HBAs:
esxcli storage core adapter rescan --all
3. Verify that all disks are presented through the controller by running this command:
vdq -iq | less
Lists all the disks naa.xxxxx and tags for the SSD disk and capacity disk.
4. Tag the appropriate disk as a new capacity disk by running this command:
esxcli vsan storage tag add -d naa.xxxxxx -t capacityFlash
Note: This is only required for All Flash environments.
5. Tag the SSD disk as Cache disk by running this command.
esxcli vsan storage tag add -s t10.NVMe____INTEL_SSDPEDMD800G4_____
Note: Make a note of exact name from the vdq -iq command output
6 Remove the failed disk from the disk group esxcli vsan storage remove -d naa.xxxxxxx
7. To add the new capacity tier disk run esxcli vsan storage add -s naa.xxxxxx -d naa.xxxxxxx
Note: The -s switch is only required in the add command if multiple disk groups are present to distinguish which disk group to add the capacity tier disk to. You can also use more than one -d for multiple capacity tier disks to be added to the disk group.