メインコンテンツまでスキップ

LUN NAA 番号とシリアル番号を照合する方法

Views:
858
Visibility:
Public
Votes:
2
Category:
flexpod-with-infrastructure-automation
Specialty:
virt
Last Updated:

環境

  • SAN
  • FlexPod

説明

LUN Network Address Authority(NAA;ネットワークアドレス局)番号は、LUNのグローバル一意識別子です。NAA番号を使用すると、LUNのシリアル番号を特定できます。また、その逆も可能です。

手順

Data ONTAP 7-Modeまたはclustered Data ONTAP 8.3以降には、LUNのシリアル番号を16進形式で取得するためのlunコマンドが用意されています。

lun serial -x /vol/test/lun

Serial (hex)#: 0x486e542d4f5a2f47694d684b

次のNAA番号のLUNの例を考えてみましょう。

naa.60a98000486e542d4f5a2f47694d684b

NAA文字列と最初の8文字を削除します。この例では、naa.60a98000(NetAppベンダー識別子の1つ)です。

残りの値(486e542d4f5a2f47694d684b)は16進数の文字列で、16進数からASCIIに変換するとLUNのシリアル番号になります。使用可能なlun serial -xコマンドがないバージョンのData ONTAPを使用している場合は、HEXからASCII(またはその逆)に変換するWebベースのツールが多数あります。

486e542d4f5a2f47694d684b 16進数でHnt-oz/GiMhKのASCII値に変換

コマンドの出力を使用する lun show –vか、ストレージシステムのAutoSupport出力の[LUN configuration]セクションで、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-0Z/GiMhK)をメモします。naa.60a98000486e542d4f5a2f47694d684bのLUNは/vol/test/lunです。

注: VMware ESX環境でのディスクの識別の詳細については、VMwareの記事 1014953を参照してください。

NetApp NAAプレフィックスは次のとおりです。

clustered Data ONTAPとData ONTAP 7-Mode NAA 60a98000
clustered Data ONTAP NAA 600a0980
Eシリーズ naa.60080e5 naa.600a098 naa.6d039ea

 

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.