Great! This is exactly what I was looking for. Thanks, should be fairly easy to script too.
On Thu, Jan 15, 2009 at 1:02 PM, Dalvenjah FoxFire dalvenjah@dal.netwrote:
Yup, you can -- the command is scsi_id from the udev packages. Note that you have to have sysfs (/sys) mounted and active for this to work. Determine the Linux block device name (e.g. /dev/sdc), then replace /dev/ with /block/ and pass it to scsi_id: /sbin/scsi_id -g -u -s /block/sdc360a.... It's what the dm-multipath software uses to determine which devices are the same LUN. -dalvenjah
On Jan 15, 2009, at 8:27 AM, Romeo Theriault wrote:
Thanks for the reply. We're a unix shop so I don't have to worry about windows. I was aware that I can get this kind of information from the Host Utilities but was wondering if there was a way to get the info without installing Host Utilities. I'd be mainly interested in Linux.
Thanks for the help.
Romeo
On Thu, Jan 15, 2009 at 10:16 AM, Webster, Stetson < Stetson.Webster@netapp.com> wrote:
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,
Romeo Theriault System Administrator Information Technology Services
-- Romeo Theriault System Administrator Information Technology Services