Belo mentioned methods can be used to change multipathing policy and to enable or disable paths on an ESXi host:
- ESXi command line – Use the command line to modify the multipathing information when performing troubleshooting procedures.
- vSphere Client – Use this option when you are performing system maintenance.
VMware ESXi 6.x and later:
Change multipathing policy
- Log in to the ESXi host.
- Run this command:
esxcli storage nmp device set --device naa_################################ --psp path_policy
Where:
naa_id is the NAA ID of the device
path_policy is one of the PSP options listed in Multipathing policies in ESXi/ESX.
For example, to change the above device path policy to Round Robin:
esxcli storage nmp device set --device naa.################################ --psp VMW_PSP_RR
To change multipathing settings for your storage in the vSphere Client
- Select an ESXi host you want to modify. Click the Configuration tab.
- Click Storage Devices.
- Select a mapped LUN or datastore from the list.
- Click Properties, In the Properties dialog, select the desired extent, if necessary.
- Scroll down to Multipathing Policies, click on Edit Multipathing.

- Under the Policy section, select the desired multipathing policy from the dropdown.

- Click Ok to confirm the change in path policy.
For more information on multipathing options, see
Multipathing policies in ESXi/ESX.
Enable or disable a path
To enable or disable a path from the ESXi host command line:
- Log in to the ESXi host.
- Run the command:
esxcli storage core path set --state=state -p path
Where:
path is the particular path to be enabled/disabled
device is the NAA ID of the device
state is active or off
For example, to disable path fc.################:################-fc.################:################-naa.################################, which has a Runtime Name of vmhba3:C0:T1:L0, for device naa.################################:
esxcli storage core path set --state=off -p fc.################:################-fc.################:################-naa.################################
Change a path
To change (or set) the path for a LUN from the ESXi host command line:
- Log in to the ESXi host.
- Run the command:
esxcli storage nmp psp fixed deviceconfig set -d naa_################################ --path path
Where:
path is the particular path to be set for a LUN
device is the NAA ID of the device
path is the Runtime Name of the path to use
For example, to set a new path of vmhba32:C0:T18:L for naa.################################:
esxcli storage nmp psp fixed deviceconfig set -d naa.################################ --path vmhba32:C0:T18:L0
To enable or disable a path for your storage in the vSphere Client
- Click the ESXi host you want to modify. Click the Configuration tab.
- Click Storage Devices.
- Click a mapped LUN or datastore from the list.
- Click Paths.
- In the Paths dialog, select the desired path and click Disable or Enable. If the currently active path is disabled, it forces a path failover.
For more information on multipathing options, see
Multipathing policies in ESXi/ESX.