In VMware Cloud Foundation deployments, vSAN automatically claims all local storage devices on your ESXi host. You can make the devices ineligible for regular vSAN and available for vSAN Direct.
This topic describes how you can use the
esxcli command to mark the devices as
vSAN Direct. Alternately, you can use a script. See
Using Script to Tag Storage Devices for vSAN Direct.
Procedure
- Tag local storage device for vSAN Direct.
esxcli vsan storage tag add -d diskName -t vsanDirect
For example,
esxcli vsan storage tag add -d mpx.vmhba0:C0:T1:L0 -t vsanDirect
The device becomes ineligible for regular
vSAN.
- Remove the vSAN Direct tag from the device.
esxcli vsan storage tag remove -d diskName -t vsanDirect
For example,
esxcli vsan storage tag remove -d mpx.vmhba0:C0:T1:L0 -t vsanDirect