Add and Remove
vSAN
Storage
vSAN
StorageYou can use ESXCLI commands to add and
remove
vSAN
storage. You can also retrieve information about the vSAN
storage configuration.- Add an HDD or data disk for use byvSAN.esxcli vsan storage add --disks <device_name>The command expects an empty disk, which is partitioned or formatted. Specify a device name, for example,mpx.vmhba2:C0:T1:L0.
- Add an SSD disk for use byvSAN.esxcli vsan storage add --ssd <device_name>The command expects an empty disk, which is partitioned or formatted. Specify a device name, for example,mpx.vmhba2:C0:T1:L0.
- List thevSANstorage configuration. You can display the complete list, or filter to show only a single device.esxcli vsan storage list --device <device>
- Remove disks or disk groups.You can remove disks or disk groups only whenvSANis in manual mode. For the automatic disk claim mode, the remove action is not supported.
- Remove an individualvSANdisk.
Instead of specifying the device name, you can specify the UUID if you include theesxcli vsan storage remove --disk <device_name>--uuidoption. - Remove a disk group's SSD and each of its backing HDD drives fromvSANusage.
Instead of specifying the device name, you can specify the UUID if you include theesxcli vsan storage remove --ssd <device_name>--uuidoption. Any SSD that you remove fromvSANbecomes available for such features as Flash Read Cache.