6.5

Table Of Contents
n
List detailed information for the paths for the device specied with --device.
vicfg-mpath <conn_options> -l -d mpx.vmhba32:C0:T1:L0
vicfg-mpath <conn_options> --list --device naa.60060...
Changing the State of a Path
You can change the state of a path with ESXCLI or with vicfg-mpath.
Disable a Path with ESXCLI
You can temporarily disable a path with ESXCLI for maintenance or other reasons, and enable the path
when you need it again.
If you are changing a path's state, the change operation fails if I/O is active when the path seing is changed.
Reissue the command. You must issue at least one I/O operation before the change takes eect.
Specify one of the options listed in “Connection Options for vCLI Host Management Commands,” on
page 19 in place of <conn_options>.
Procedure
1 (Optional) List all devices and corresponding paths.
esxcli <conn_options> storage core path list
The display includes information about each path's state.
2 Set the state of a LUN path to o.
esxcli <conn_options> storage core path set --state off --path vmhba32:C0:T1:L0
What to do next
When you are ready, set the path state to active again.
esxcli <conn_options> storage core path set --state active --path vmhba32:C0:T1:L0
Disable a Path with vicfg-mpath
You can temporarily disable a path with vicfg-mpath for maintenance or other reasons, and enable the path
when you need it again.
If you are changing a path's state, the change operation fails if I/O is active when the path seing is changed.
Reissue the command. You must issue at least one I/O operation before the change takes eect.
Specify one of the options listed in “Connection Options for vCLI Host Management Commands,” on
page 19 in place of <conn_options>.
Procedure
1 (Optional) List all devices and corresponding paths.
vicfg-mpath <conn_options> --list-paths
The display includes information about each path's state.
2 Set the state of a LUN path to o.
vicfg-mpath <conn_options> --state off --path vmhba32:C0:T1:L0
What to do next
When you are ready, set the path state to active again.
vicfg-mpath <conn_options> --state active --path vmhba32:C0:T1:L0
Chapter 4 Managing Storage
VMware, Inc. 53