跳转到主内容

如何将 LUN NAA 编号与其序列号匹配

Views:
142
Visibility:
Public
Votes:
0
Category:
flexpod-with-infrastructure-automation
Specialty:
virt
Last Updated:

适用场景

  • SAN
  • FlexPod

问题描述

LUN 网络地址授权机构( NAA )号是 LUN 的全局唯一标识符。NAA 号可用于确定 LUN 的序列号,反之亦然。

操作步骤

在 7- 模式或集群模式 Data ONTAP 8.3 或更高版本中运行的 Data ONTAP 包含一个 LUN 命令、用于以十六进制格式获取 LUN 序列号:

lun serial -x /vol/test/lun

Serial (hex)#: 0x486e542d4f5a2f47694d684b

以以下 NAA 编号的 LUN 为例:

naa.60a98000486e542d4f5a2f47694d684b

删除 NAA 字符串和前 8 个字符。在此示例中、 naa.60a98000 (这是 NetApp 供应商标识符之一)。

剩余值( 486E542D4F5 A2F47694D684B )是十六进制字符串,从十六进制转换为 ASCII 后,该字符串将是 LUN 序列号。如果您使用的 Data ONTAP 版本没有 LUN serie-x 命令可用、则可以使用许多基于 Web 的工具将十六进制转换为 ASCII ,反之亦然。

486e542d4f5a2f47694d684b 十六进制转换为 ASCII 值 HNT-OZ/Gimhk

您可以使用命令的输出lun show –v、或查看存储系统 AutoSupport 输出的“ LUN 配置”部分、根据 ASCII 格式的 LUN 序列号确定哪个是 LUN 。

以下是lun show –v 命令输出的示例:

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

请记下上面的 LUN 序列号( HNT-0 Z/Gimhk )。NAA 的 LUN 。 60A98000486E542D4F5A2F47694D684B 为 /vol/test/lun 。

注:有关在 VMware ESX 环境中识别磁盘的详细信息,请参见 VMware 文章 1014953

NetApp NAA 前缀如下所示:

集群模式 Data ONTAP 和 Data ONTAP 7- 模式 NAA.60A98000
集群模式 Data ONTAP NAA600A0980
E 系列 NAA 60080E50

 

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.
Scan to view the article on your device