Skip to main content
NetApp Knowledge Base

How to match LUNs NAA number to its serial number

Views:
15,372
Visibility:
Public
Votes:
15
Category:
flexpod-with-infrastructure-automation
Specialty:
virt
Last Updated:

Applies to

  • SAN
  • FlexPod

Description

A LUN Network Address Authority (NAA) number is a globally unique identifier for a LUN. The NAA number can be used to determine a LUN's serial number and vice versa.

Procedure

Data ONTAP operating in 7-Mode or clustered Data ONTAP 8.3 or later include a LUN command to obtain the LUN serial number in the hexadecimal format:

lun serial -x /vol/test/lun

Serial (hex)#: 0x486e542d4f5a2f47694d684b

Take the example of a LUN with the following NAA number:

naa.60a98000486e542d4f5a2f47694d684b

Remove the NAA string and the first 8 characters. In this example, naa.60a98000 (this is one of the NetApp vendor identifiers).

The remaining value (486e542d4f5a2f47694d684b) is the hexadecimal string which, when converted from HEX to ASCII, will be the LUN serial number. There are many Web-based tools to convert HEX to ASCII and vice versa if you are using a version of Data ONTAP that does not have the lun serial -x command available.

486e542d4f5a2f47694d684b in HEX converts to an ASCII value of HnT-OZ/GiMhK

You can either use the output of the command lun show –v, or review the 'LUN CONFIGURATION' section of a storage system’s autosupport output to determine which is the LUN, based on the LUN serial number in the ASCII format.

The following is an example of the output of the lun show –v command:

Filer1> lun show -v /vol/test/lun
/vol/test/lun  5g (5368709120)(r/w, online, mapped)
Serial#: HnT-OZ/GiMhK
Share: none
Space Reservation: disabled
Multiprotocol Type: vmware
Maps: test=0

Note the LUN serial number above (HnT-0Z/GiMhK). The LUN with naa.60a98000486e542d4f5a2f47694d684b is /vol/test/lun.

Note: For more information on identifying disks in a VMware ESX environment, see VMware article 1014953.

NetApp NAA prefixes are as follows:

Clustered Data ONTAP and Data ONTAP 7-Mode naa.60a98000
Clustered Data ONTAP naa.600a0980
E-Series naa.60080e5, naa.600a098, naa.6d039ea

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.