Hi
Like Stetson said LUN S/N is exposed by the Host Utilities.  It's also available to the operating system and is commonly used for multipathing.  Whether it's available to user or admin commands depends on the OS and/or MPIO software.
 
Also, the LUN S/N as reported by the lun serial command is in a kinda base64 (uses A-Z, a-z,0-9, /, and - to represent 64 possible values for each digit), and the command in your OS may report in decimal or hex.
 
For implications of LUN /SN with ESX, see NOW kb33990 (https://now.netapp.com/Knowledgebase/solutionarea.asp?id=kb33990)
 
Share and enjoy!
 
Peter


From: Romeo Theriault [mailto:romeotheriault@gmail.com]
Sent: Thursday, January 15, 2009 6:49 AM
To: toasters@mathworks.com
Subject: lun serial question

I recently became aware of the lun serial command and am wondering if there is anyway for a client that has said lun or luns presented to them to "see" this lun serial string. I'm thinking this would be an ideal way (i.e. script) to find out which lun corresponds to which filesystem/mountpoint on servers with lots of luns.

Thanks,
--
Romeo Theriault
System Administrator
Information Technology Services