You can run esxcli storage core path to display information about Fibre Channel or iSCSI LUNs.
Important: Use industry-standard device names, with format
eui.xxx
or
naa.xxx
to ensure consistency. Do not use VML LUN names unless device names are not available.
Names of virtual machine HBAs are not guaranteed to be valid across reboots.
You can display information about paths by running esxcli storage core path. Specify one of the options listed in Connection Options for ESXCLI Host Management Commands in place of <conn_options>
.
- List all devices with their corresponding paths, state of the path, adapter type, and other information.
esxcli <conn_options> storage core path list
- Limit the display to only a specified path or device.
esxcli <conn_options> storage core path list --path <path> esxcli <conn_options> storage core path list --device <device>
- List the statistics for the SCSI paths in the system. You can list all paths or limit the display to a specific path.
esxcli <conn_options> storage core path stats get esxcli <conn_options> storage core path stats get --path <path>
- List detailed information for the paths for the device specified with
--device
.esxcli <conn_options> storage core path list -d <naa.xxxxxx>
- List all adapters.
esxcli <conn_options> storage core adapter list
- Rescan all adapters.
esxcli <conn_options> storage core adapter rescan