Query about SCSI Device Names

Hi,

I have Emulex HBA on my Windows2003 system which is connected to Xyratex
Storage Array. Using HBAAnywhere I can understand that Lun exposed for
me is Bus 1, Target 2 and Lun 0, and the name shown by HBAAnywhere is
\.\Scsi3:1:2:0 . Now I am interested to know what is actual Device Name
for \.\Scsi3:1:2:0. i.e \.\PhusicalDrive. I am interested to know
“X” part of \.\PhysicalDrive. Is there any API whoch will give me
direct mapping in user space?

Thanks in advance.
Kumar.

Microsoft’s implementation of the API using WMI is also available from
Win2K onwards - Emulex & QLogic both have support for this (and it is
required for Server 2003 SP1). This gives you access to the same
information using WMI and not just through a user-mode library. See the
DDK for more information.


From: xxxxx@attotech.com [mailto:xxxxx@attotech.com]
Sent: Monday, March 14, 2005 8:02 AM
Subject: Re: Query about SCSI Device Names

You can use IOCTL_SCSI_GET_ADDRESS on each \.\PhysicalDriveX, to find
the one with the corresponding SCSI_ADDRESS. This is documented in the
DDK.
Alternatively, Emulex probably supports the SNIA HBA API, which will
also provide this information. (http://sourceforge.net/projects/hbaapi/)

Jason

xxxxx@lists.osr.com wrote on 03/14/2005 08:27:32 AM:

Hi,

I have Emulex HBA on my Windows2003 system which is connected to
Xyratex
Storage Array. Using HBAAnywhere I can understand that Lun exposed for
me is Bus 1, Target 2 and Lun 0, and the name shown by HBAAnywhere is
\.\Scsi3:1:2:0 . Now I am interested to know what is actual Device
Name
for \.\Scsi3:1:2:0. i.e \.\PhusicalDrive. I am interested to know
> “X” part of \.\PhysicalDrive. Is there any API whoch will give me
> direct mapping in user space?
>
> Thanks in advance.
> Kumar.
>
> —
> Questions? First check the Kernel Driver FAQ at http://www.
> osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag
argument: ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com