General
1822151 Members
4184 Online
109640 Solutions
New Discussion юеВ

Identifying exact Luns in Windows. SCSI INQ under windows?

 
generic_1
Respected Contributor

Identifying exact Luns in Windows. SCSI INQ under windows?

Hello,
I have have EMC Symetrix, HSG80, and EVA5000 san storage presented to older Windows 2000 systems. I inherited the environment and I would like to be able to correlete an exact lun/luns to specific driver leters on servers. However this is a pain on the HSG80 and EVA5000 because windows likes to do its own lun enumeration. I know I could see that i have say 4 60 gig luns/disks presetned to a windows system but since in the device properties I cant see the real lun number and they are all the same size it becomes a nightmare.
Have any of you written anything to do scsi inq under windows to grab this info, or know of any free tools that get this. EMC symetrix support the sym commands which seems more helpful. But it would be nice if there was a tool that could get all of the info for all the disks, IE HSG80 and EVA5000.
Many Thanks In advance :).
5 REPLIES 5
generic_1
Respected Contributor

Re: Identifying exact Luns in Windows. SCSI INQ under windows?

Anyone out here written scsi inquire programs for windows in order to get lun IDS and info?
SAKET_5
Honored Contributor

Re: Identifying exact Luns in Windows. SCSI INQ under windows?

Hi Jeff,

Not sure if I understand it correctly but you should be able to get the BTL (Bus, Target and Lun values for a Windows level disk partition such as C:\, D:\, etc. or the Windows level disks such as Disk 0, Disk 1)by right clicking the appropriate entity (disk/partition) and checking the "Location" field. This field lists the BTL value.

Once you get the LUN value, it should be straightforward to map your storage array level Vdisk/StorageSet IDs.

Let me know if this doesnt help.

Saket.
generic_1
Respected Contributor

Re: Identifying exact Luns in Windows. SCSI INQ under windows?

The lun number presented by windows itself for say an HSG80 or EVA 5000 disk most of the time seems to be a number windows chose.
I am looking if anyone out there wrote a utility to do a standard scsi inquiry or extended one to pull lun specific information from the disk device. This way you can match say lun1/disk1 off of the san device to a specific disk/lun under windows. This is very usful in identifying what luns come from what san devices exactly if you need to tract stuff down and they never wrote it down for you before you got it :).

SCSI INQ is an industry stadard.
Uwe Zessin
Honored Contributor

Re: Identifying exact Luns in Windows. SCSI INQ under windows?

I've once tried SCU:
http://home.comcast.net/~SCSIguy/SCSI_FAQ/RMiller_Tools/scu.html
it doesn't seem to cope with LUNs > 7 on Windows at least, but it knows how to deal with page 83(16) where the LUN WWN is stored.
.
generic_1
Respected Contributor

Re: Identifying exact Luns in Windows. SCSI INQ under windows?

Anyone have SCSI inquire or extended SCSI inquire utility for windows that can just do a dump to a file. I dont mind if the dump is still in hex. Be nice not to have a 7 lun limit ;).