There are tools in the NetApp Host Utilities that already do this very thing. It is recommended (and on some platforms it's mandatory) that you use this method to connect your systems to the NetApp SAN.
On unix systems, a popular command that I use is:
sanlun lun show -p
Unfortunately, I am not as verse on Windows systems, but I expect something similar (if not the same). Good luck.
Cheers,
Stetson M. Webster Professional Services Engineer NCIE-SAN, NCIE-B&R, SNIA-SCSE NetApp Global Services - Southeast District
919.250.0052 Mobile Stetson.Webster@netapp.com
Learn how: netapp.com/guarantee
________________________________
From: Romeo Theriault To: toasters@mathworks.com Sent: Thu Jan 15 09:49:19 2009 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,