The vicfg-scsidevs command displays information about available LUNs on ESX/ESXi 4.x hosts.
You can run vicfg-scsidevs --query and vicfg-scsidevs --vmfs against ESX/ESXi version 3.5.
The other options are supported only against ESX/ESXi version 4.0 and later.

In previous releases of this command-line interface, the corresponding command is vicfg-vmhbadevs.

Specifies the target server and authentication information if required. Run vicfg-scsidevs --help
for a list of all connection options.

--compact-list | -c

Lists all logical devices, each on a single line, with limited information.
The information includes the device ID, device type, size, and plugin and device display name.
You can specify the --device option to list information about a specific device.

--device | -d

Used with other options to specify the device for which you want information.

--hba-device-list | -A

For each HBA, prints a mapping between the HBA and the devices for
which it provides paths.

Prints a help message for each command-specific and each connection option.
Calling the script with no arguments or with --help has the same effect.

--list | -l

Lists device information for all logical devices on this system.
The information includes the name (UUID), device type, display name, and multipathing plugin.
You can specify the --device option to list information about a specific device.

The following examples assume you are specifying connection options, either
explicitly or, for example, by specifying the server, user name, and password.
Run vicfg-scsidevs --help for a list of common options including connection options.

List all logical devices known on this system with detailed information:

vicfg-scsidevs <conn_options> -l

List all logical devices with abbreviated information:

vicfg-scsidevs <conn_options> -c

List all device unique identifiers with their primary name:

vicfg-scsidevs <conn_options> -u

List a specific logical device with its detailed information:

vicfg-scsidevs <conn_options -l -d mpx.vmhba32:C0:T1:L0

Print mappings for VMFS volumes to the corresponding partition, path
to that partition, VMFS uuid, extent number and volume names: