Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

My Subscriptions

Loading

Knowledge Base

Identifying Symmetrix devices using the esxcfg-mpath and symdev commands (1010402)

Last Updated: 3/20/2024Categories: How toTotal Views: 27892Language:
Chinese (Simplified)JapaneseEnglish

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Purpose

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.

Note: Information is obtained from the EMC Symmetrix using the 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.

Note: The preceding link was correct as of May 9, 2011. If you find the link is broken, provide feedback and a VMware employee will update the link.

Resolution

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.

Connect to the ESX/ESXi host and obtain a list of all devices by their Network Addressing Authority (NAA) identifier.

Connect to the EMC Symmetrix using the symdev command and obtain a list of all devices by their WWN identifier and Disk IDs.

Search the output of step 2 for each device from step 1, matching the ESX/ESXi host NAA against the Symmetrix WWN.

Device identifiers on ESX/ESXi

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 using the remote vCLI commands, see the VMware Command-Line Interface documentation. 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), Using Tech Support Mode in ESXi 4.1 or 5.0 (1017910), or Using ESXi Shell in ESXi 5.0 and 5.1 (2004746).

For ESX/ESXi 3.x, obtain a list of devices using the console command 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) ...

For ESX/ESXi 4.x, obtain a list of devices using the command 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 ...

For ESXi 5.x, obtain a list of devices using the command esxcli storage core device list . The device's Network Addressing Authority (NAA) identifier is listed as the Device UID and is also embedded within the VML identifier (remove the first 10 and last 12 digits to produce the NAA). For example:

esxcli storage core device list

naa. 60060480000190300919533030304133
Display Name: EMC Fibre Channel Disk (naa. 60060480000190300919533030304133 )
Has Settable Display Name: true
Size: 249271
Device Type: Direct-Access
Multipath Plugin: NMP
Devfs Path: /vmfs/devices/disks/naa. 60060480000190300919533030304133
Vendor: EMC
Model: SYMMETRIX
Revision: 5772
SCSI Level: 4
Is Pseudo: true
Status: on
Is RDM Capable: true
Is Local: false
Is Removable: false
Is SSD: false
Is Offline: false
Is Perennially Reserved: false
Thin Provisioning Status: unknown
Attached Filters:
VAAI Status: unsupported
Other UIDs: vml.0200000000 60060480000190300919533030304133 53594d4d4554

Note: The identifiers are also accessible via the CanonicalName property of a ScsiLun in PowerCLI. For more information, see the vSphere PowerCLI documentation.

Device identifiers on a Symmetrix

EMC Symmetrix devices can be managed using the symdev command supplied with EMC Solutions Enabler.

To obtain a list of storage devices:

Discover the Symmetrix arrays using the command:

symcfg discover

List all the connected Symmetrix arrays by their SymmID using the command:

symcfg list

For example:

SymmID Attachment Model Version Cache(MB) PhyDevs SymDevs
1234 Local ABCD-1 5874 229376 152 19924
5678 Remote ABCD-1 5874 229376 0 21153

List all devices in the Symmetrix using the symdev command, specifying the SymmID from step 2:

symdev list -wwn -sid <SymmID>

For example:

symdev list -wwn -sid 1234

Num WWN
4E0F Not Visible 60060480000190300919533030304133
4E10 Not Visible 60000480000192602314533034453130
4E11 Not Visible 60000480000192602314533034453131
4E12 Not Visible 60000480000192602314533034453132

The Network Addressing Authority (NAA) for the device is listed in the WWN column.

Note: When presented to an ESXi/ESX host, the Symmetrix devices will be shown in the format: sym.xxxxxxxxx.

Device identifiers on a Clariion

EMC Clariion devices can be managed using the symdev command supplied with EMC Solutions Enabler. To identify the Device WWN on a Clariion:

To determine the NAA identifier on the ESX/ESXi, run this command:

esxcfg-scsidevs -m

The output will look similar to this:

naa.60060160946028003ed1033043dde011:1 /vmfs/devices/disks/naa.60060160946028003ed1033043dde011:1 4e84a079-84e764df-d643-d8d3855ff8b4 0 cx4-120

To determine which device naa.60060160946028003ed1033043dde011 relates to on a Clariion, run this command:

symdev list -wwn -clariion

Clariion ID: CKM00100900477

Num Physical Name Config Cap(MB) WWN

00000 Not Visible RAID-5 20480 6006016094602800D620BA18DDDAE011
00001 Not Visible RAID-5 10240 60060160946028003ED1033043DDE011
00002 Not Visible RAID-5 10240 60060160946028006C04B098D5DEE011
00003 Not Visible RAID-5 10240 60060160946028000045C63CA4E0E011

The Network Addressing Authority (NAA) for the device is listed in the WWN column.

Related Information

The output of these commands can be redirected to a file for later reference or searching. For example:

vicfg-scsidevs --compact-list > vicfg-scsidevs-output.txt

Unable to connect to an ESX host using Secure Shell (SSH)
Identifying disks when working with VMware ESXi/ESX
Using Tech Support Mode in ESXi 4.1, ESXi 5.x, and ESXi 6.x
Using ESXi Shell in ESXi 5.x and 6.x
esxcfg-mpath および symdev コマンドを使用した対象デバイスの識別
使用 esxcfg-mpath 和 symdev 命令标识 Symmetrix 设备

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
vNetwork Distributed Switch 上的专用 VLAN (PVLAN) - 概念概述 (1010691)

KB
•
VMkernel ネットワーク インターフェイスの ARP およびネイバー検出のキャッシュの表示 (2000130)

KB
•
VLAN privada (PVLAN) en el conmutador distribuido vNetwork: Resumen del concepto (1010691)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-5 of 5

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

VMware ESX Server

Related Versions:

VMware vSphere ESXi 5.0

VMware ESXi 4.1.x Installable

VMware ESXi 4.1.x Embedded

VMware ESXi 4.0.x Installable

VMware ESXi 4.0.x Embedded

VMware ESXi 3.5.x Installable

VMware ESXi 3.5.x Embedded

VMware ESX Server 3.5.x

VMware ESX Server 3.0.x

VMware ESX 4.1.x

VMware ESX 4.0.x

view all

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant