2010-06-14 08:01 AM - last edited on 2014-09-26 03:05 PM by peluso
I'm looking for a way to extract the LUN WWN from a Netapp LUN.
From the netapp mib, I only have the LUN Serial Number. I was wondering if such concept exists on Netapp filers.. ?
If it is not available from the MIB, I wonder if other API would expose it ?
2010-06-14 09:51 AM
Hi Marc and welcome to the communities!
My understanding is that in NetApp world igroup (initiator group) carries WWN address, not an individual LUN.
E.g. this shows how to identify a particular LUN by using its ID plus igroup WWN combination:
2010-06-15 08:02 AM
First, I unfortunatly don't have access to read the provided link . I guess my level of access prohibit this page to be viewed...
Well, my understand of LUNs, is that all vendors, either in the FiberChannel world, and in the iSCSI world uses LUN WWN, which would be a unique identifer of a LUN. They also provide a Serial Number, as in regular SCSI. These refers to VDP pages 0x80 & 0x83. Please correct me if I'm wrong.
I can already the the Serial Number, but I'm wondering how the LUN WWN is handled on Netapp filers, or even if such concepts exists.
2010-06-16 04:27 AM
This is what the article says:
|How to determine which LUN on the filer is mounted as which drive on the Windows host|
2013-04-09 04:21 PM
Take the serial number from your lun show -v:
filer> lun show -v
/vol/vol1/lun0 40m (41943040)
Run the "OdCvFnbbKzih" through your favorite online text to hex converter and you get:
add the NetApp prefix "60a98000"
and you get "60a98004f644376466e62624b7a6968" which is the WWID of the LUN.
Hope that helps,
2013-08-20 07:02 AM
I am getting wwid as '360a98000426d526f4224443042567a61'. please let me know whether the prefix for netapp is changed now?
i used the scsi_id command in centos to get the wwid of the iscsi lun.
2013-09-11 10:29 AM
The '360a98000426d526f4224443042567a61' is what you will see on a linux box.
The "naa.60a98000426d526f4224443042567a61" is what you will see in vmware.
Looks like Igor's method is much faster at getting the WWN.