Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTFSD

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

RE: Relation between "Logical Drive Letter" and "Scsi Port/Scsi Bus/T

OSR_Community_UserOSR_Community_User Member Posts: 110,217
Be aware of course that there is a many-to-many relationship between physical drives and logical drives; a physical drive may have multiple logical drives, and a logical drive may span many physical ones. ISTR IOCTL_SCSI_GET_ADDRESS gives you the data for the first physical if the logical is on multiple physical disks.

Andy C


---- you wrote:
> Open the drive and use the IOCTL_SCSI_GET_ADDRESS ioctl.
>
> Chris Wenzel
> Software Engineering
> Dell Storage Management
> [email protected]
>
>
>
> -----Original Message-----
> From: Shreedhara M.R. [mailto:[email protected]]
> Sent: Thursday, February 10, 2000 9:30 AM
> To: [email protected]; [email protected]
> Subject: [ntfsd] Relation between "Logical Drive Letter" and "Scsi
> Port/Scsi Bus/Target Id/Logical Unit Id"
>
>
> How to derive a relation between "Logical Drive Letter" and "Scsi
> Port/Scsi Bus/Target Id/Logical Unit Id".
>
> E.g.
> Assuming Drive "C:" and "D:" has a symbolic link to
> "\Device\Harddisk0\Partition1" "\Device\Harddisk1\Partition1" and We
> have two scsi cards supporting logical drives like "Scsi Port0/Scsi
> Bus0/Target ID0/Logical Unit ID0" and "Scsi Port1/Scsi Bus0/Target
> ID0/Logical Unit ID0".
>
> How can one decide that drive "C:" is on "Scsi Port0/Scsi Bus0/Target
> ID0/Logical Unit ID0" and drive "D:" is on "Scsi Port1/Scsi Bus0/Target
> ID0/Logical Unit ID0"
>
>
> Thanks
>
> sridhar
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> [ To unsubscribe, send email to [email protected] with body
> UNSUBSCRIBE (the subject is ignored). ]
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> [ To unsubscribe, send email to [email protected] with body
> UNSUBSCRIBE (the subject is ignored). ]
>


----------------------------------------------------------------
Get your free email from AltaVista at http://altavista.iname.com
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Internals & Software Drivers 15 November 2021 Live, Online
Writing WDF Drivers TBD Live, Online
Developing Minifilters 7 February 2022 Live, Online
Kernel Debugging 21 March 2022 Live, Online