6.5

Table Of Contents
Procedure
1 Join the target host to a given Virtual SAN cluster.
esxcli vsan cluster join --cluster-uuid <uuid>
N The UUID of the cluster is required.
2 Verify that the target host is joined to a Virtual SAN cluster.
esxcli vsan cluster get
3 Remove the target host from the Virtual SAN cluster.
esxcli vsan cluster leave
Add and Remove Virtual SAN Storage
You can use ESXCLI commands to add and remove Virtual SAN storage.
Procedure
1 Add an HDD or data disk for use by Virtual SAN.
esxcli vsan storage add --disks <device_name>
N The command expects an empty disk, which will be partitioned or formaed. Specify a device
name, for example, mpx.vmhba2:C0:T1:L0.
2 Add an SSD disk for use by Virtual SAN.
esxcli vsan storage add --ssd <device_name>
N The command expects an empty disk, which will be partitioned or formaed. Specify a device
name, for example, mpx.vmhba2:C0:T1:L0.
3 List the Virtual SAN storage conguration. You can display the complete list, or lter to show only a
single device.
esxcli vsan storage list --device <device>
4 Remove disks or disk groups.
N You can remove disks or disk groups only when Virtual SAN is in manual mode. For the
automatic disk claim mode, the remove action is not supported.
n
Remove an individual Virtual SAN disk.
esxcli vsan storage remove --disk <device_name>
Instead of specifying the device name, you can specify the UUID if you include the --uuid option.
n
Remove a disk group's SSD and each of its backing HDD drives from Virtual SAN usage.
esxcli vsan storage remove --ssd <device_name>
Instead of specifying the device name, you can specify the UUID if you include the --uuid option.
Any SSD that you remove from Virtual SAN becomes available for such features as Flash Read
Cache.
Chapter 4 Managing Storage
VMware, Inc. 61