This article provides steps for System and Storage Administrators to identify the mapping of a LUN being presented from an EMC Symmetrix to an ESX/ESXi host. The process combines information available from the ESX/ESXi host with information from the EMC Symmetrix. This may be necessary when attempting to locate a device or ensuring correct presentation.
symdev
command-line utility. This command is part of EMC Solutions Enabler, a suite of command-line tools released by EMC for managing storage environments. Licensing and configuration of EMC Solutions Enabler are outside the scope of this article. For licensing and full usage information, see https://support.emc.com/products/SolutionsEnabler.A full list of devices can be obtained from both an ESX/ESXi host and from a Symmetrix. The devices in each list are correlated based on key Network Addressing Authority (NAA) identifiers used for each device.
VMware ESX/ESXi 3.x and 4.x represent a unique device using a vml identifier, plus a naa or mpx identifier. Local and remote management tools expose these device identifiers. For more information on working with these identifiers, see Identifying disks when working with VMware ESX (1014953).
Before beginning, open a console session where the command-line utility will be used. For more information on opening a console session to use the local console on an ESX or ESXi host, see Unable to connect to an ESX host using Secure Shell (SSH) (1003807) or Using ESXi Shell in ESXi 5.0 and 5.1 (2004746).
esxcfg-mpath --list
or the rCLI command vicfg-mpath --list
. The device's Network Addressing Authority (NAA) identifier is embedded within the VML identifier. Remove the first 10 and last 12 digits to produce the NAA. For example:vicfg-mpath --server esxhostname --username root --list
Disk vmhba1:4:5 vml.0200050000 6006048000019030091953303030413353594d4d4554 /dev/sd N ( 249271MB) ...
esxcfg-scsidevs --compact-list
, or the vCLI command vicfg-scsidevs --compact-list
. The device's Network Addressing Authority (NAA) identifier is listed as the Device UID. For example:vicfg-scsidevs --server esxhostname --username root --compact-list
Device UID Console Device Size Plugin Display Name
naa. 60060480000190300919533030304133
/dev/sd N
249271MB
NMP ...
60060480000190300919533030304133
60060480000190300919533030304133
)249271
60060480000190300919533030304133
60060480000190300919533030304133
53594d4d4554 Note: The identifiers are also accessible via the CanonicalName property of a ScsiLun in PowerCLI.
EMC Symmetrix devices can be managed using the symdev
command supplied with EMC Solutions Enabler.
To obtain a list of storage devices:
symcfg discover
symcfg list
SymmID Attachment Model Version Cache(MB) PhyDevs SymDevs
1234 Local ABCD-1 5874 229376 152 19924
5678 Remote ABCD-1 5874 229376 0 21153
symdev
command, specifying the SymmID
from step 2:symdev list -wwn -sid <SymmID>
symdev list -wwn -sid 1234
Num WWN
4E0F Not Visible
60060480000190300919533030304133
4E10 Not Visible 60000480000192602314533034453130
4E11 Not Visible 60000480000192602314533034453131
4E12 Not Visible 60000480000192602314533034453132
symdev
command supplied with EMC Solutions Enabler. To identify the Device WWN on a Clariion:vicfg-scsidevs --compact-list > vicfg-scsidevs-output.txt