Hi

I'd like to identify the SCSI HDD's that are attached to my Adaptec RAID
controller. Maybe using IOCTL_SCSI_PASS_THROUGH to the driver I could do
that.

Thank you

--
Leandro Gustavo Biss Becker
eSystech Embedded Systems Technologies
+55(41)3029-2960
http://www.esystech.com.br

Re: What driver should I open in user level to send IOCTL to the SCSI mini port ? by Gary

Gary
Wed Jun 23 11:15:25 CDT 2004

Enumerate the SCSI HDDs you have connected using a GUID such as
GUID_DEVINTERFACE_DISK, open a handle to the one you want and send the IOCTL
to the drive. It has to go down to the miniport and the miniport will
intercept it, if it handles pass through.

--
Gary G. Little
Seagate Technologies, LLC

"Leandro Becker" <spamfromhell@gotohell.com> wrote in message
news:%23YSWZOTWEHA.212@TK2MSFTNGP12.phx.gbl...
> Hi
>
> I'd like to identify the SCSI HDD's that are attached to my Adaptec RAID
> controller. Maybe using IOCTL_SCSI_PASS_THROUGH to the driver I could do
> that.
>
> Thank you
>
> --
> Leandro Gustavo Biss Becker
> eSystech Embedded Systems Technologies
> +55(41)3029-2960
> http://www.esystech.com.br
>
>



Re: What driver should I open in user level to send IOCTL to the SCSI mini port ? by Leandro

Leandro
Wed Jun 23 12:44:22 CDT 2004

Thank you.

This is the enumeration of the scsi disk (found by WMI):

instance of Win32_PnPEntity
{
Caption = "Disk drive";
ClassGuid = "{4D36E967-E325-11CE-BFC1-08002BE10318}";
ConfigManagerErrorCode = 0;
ConfigManagerUserConfig = FALSE;
CreationClassName = "Win32_PnPEntity";
Description = "Disk drive";
DeviceID = "SCSI\\DISK&VEN_ADAPTEC&PROD_ARRAY&REV_V1.0\\6&1202EE51&0&400";
Manufacturer = "(Standard disk drives)";
Name = "Disk drive";
PNPDeviceID =
"SCSI\\DISK&VEN_ADAPTEC&PROD_ARRAY&REV_V1.0\\6&1202EE51&0&400";
Service = "disk";
Status = "OK";
SystemCreationClassName = "Win32_ComputerSystem";
SystemName = "XXXXXX";
};

And this of the raid adapter:

instance of Win32_PnPEntity
{
Caption = "Adaptec SCSI RAID Management Device";
ClassGuid = "{4D36E97D-E325-11CE-BFC1-08002BE10318}";
ConfigManagerErrorCode = 0;
ConfigManagerUserConfig = FALSE;
CreationClassName = "Win32_PnPEntity";
Description = "Adaptec SCSI RAID Management Device";
DeviceID =
"SCSI\\PROCESSOR&VEN_ADAPTEC&PROD_MANAGEMENT&REV_V1.0\\6&1202EE51&0&500";
Manufacturer = "Adaptec";
Name = "Adaptec SCSI RAID Management Device";
PNPDeviceID =
"SCSI\\PROCESSOR&VEN_ADAPTEC&PROD_MANAGEMENT&REV_V1.0\\6&1202EE51&0&500";
Status = "OK";
SystemCreationClassName = "Win32_ComputerSystem";
SystemName = "XXXXXX";
};

How I can find the string to pass to the CreateFile function ? Do you have
some tip ?


Thank you again ...

"Gary G. Little" <gary.g.little.nospam@seagate.com> wrote in message
news:x0iCc.2552$624.1385@newssvr23.news.prodigy.com...
> Enumerate the SCSI HDDs you have connected using a GUID such as
> GUID_DEVINTERFACE_DISK, open a handle to the one you want and send the
IOCTL
> to the drive. It has to go down to the miniport and the miniport will
> intercept it, if it handles pass through.
>
> --
> Gary G. Little
> Seagate Technologies, LLC
>
> "Leandro Becker" <spamfromhell@gotohell.com> wrote in message
> news:%23YSWZOTWEHA.212@TK2MSFTNGP12.phx.gbl...
> > Hi
> >
> > I'd like to identify the SCSI HDD's that are attached to my Adaptec RAID
> > controller. Maybe using IOCTL_SCSI_PASS_THROUGH to the driver I could do
> > that.
> >
> > Thank you
> >
> > --
> > Leandro Gustavo Biss Becker
> > eSystech Embedded Systems Technologies
> > +55(41)3029-2960
> > http://www.esystech.com.br
> >
> >
>
>



Re: What driver should I open in user level to send IOCTL to the SCSI mini port ? by Peter

Peter
Wed Jun 23 12:41:03 CDT 2004

However be prepared for the RAID controller not to process vendor-specific
commands to its RAID volumes. There is no defined method of accessing
individual devices behind a hardware RAID set ... if the vendor miniport
provides one that's fine but it's a vendor specific mechanism.

most RAID controllers aren't going to like the idea of you sending arbitrary
commands to individual disks and potentially screwing up the state the
controller maintains.

-p

--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Gary G. Little" <gary.g.little.nospam@seagate.com> wrote in message
news:x0iCc.2552$624.1385@newssvr23.news.prodigy.com...
> Enumerate the SCSI HDDs you have connected using a GUID such as
> GUID_DEVINTERFACE_DISK, open a handle to the one you want and send the
> IOCTL
> to the drive. It has to go down to the miniport and the miniport will
> intercept it, if it handles pass through.
>
> --
> Gary G. Little
> Seagate Technologies, LLC
>
> "Leandro Becker" <spamfromhell@gotohell.com> wrote in message
> news:%23YSWZOTWEHA.212@TK2MSFTNGP12.phx.gbl...
>> Hi
>>
>> I'd like to identify the SCSI HDD's that are attached to my Adaptec RAID
>> controller. Maybe using IOCTL_SCSI_PASS_THROUGH to the driver I could do
>> that.
>>
>> Thank you
>>
>> --
>> Leandro Gustavo Biss Becker
>> eSystech Embedded Systems Technologies
>> +55(41)3029-2960
>> http://www.esystech.com.br
>>
>>
>
>



Re: What driver should I open in user level to send IOCTL to the SCSI mini port ? by Leandro

Leandro
Wed Jun 23 12:58:38 CDT 2004

I'd like to only know the number of disks and disks data like name, serial
number ...
There is no way to do this ? Even the RAID controller being a SCSI ?

"Peter Wieland [MSFT]" <peterwie@online.microsoft.com> wrote in message
news:%23kvlAlUWEHA.4024@TK2MSFTNGP09.phx.gbl...
> However be prepared for the RAID controller not to process vendor-specific
> commands to its RAID volumes. There is no defined method of accessing
> individual devices behind a hardware RAID set ... if the vendor miniport
> provides one that's fine but it's a vendor specific mechanism.
>
> most RAID controllers aren't going to like the idea of you sending
arbitrary
> commands to individual disks and potentially screwing up the state the
> controller maintains.
>
> -p
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> "Gary G. Little" <gary.g.little.nospam@seagate.com> wrote in message
> news:x0iCc.2552$624.1385@newssvr23.news.prodigy.com...
> > Enumerate the SCSI HDDs you have connected using a GUID such as
> > GUID_DEVINTERFACE_DISK, open a handle to the one you want and send the
> > IOCTL
> > to the drive. It has to go down to the miniport and the miniport will
> > intercept it, if it handles pass through.
> >
> > --
> > Gary G. Little
> > Seagate Technologies, LLC
> >
> > "Leandro Becker" <spamfromhell@gotohell.com> wrote in message
> > news:%23YSWZOTWEHA.212@TK2MSFTNGP12.phx.gbl...
> >> Hi
> >>
> >> I'd like to identify the SCSI HDD's that are attached to my Adaptec
RAID
> >> controller. Maybe using IOCTL_SCSI_PASS_THROUGH to the driver I could
do
> >> that.
> >>
> >> Thank you
> >>
> >> --
> >> Leandro Gustavo Biss Becker
> >> eSystech Embedded Systems Technologies
> >> +55(41)3029-2960
> >> http://www.esystech.com.br
> >>
> >>
> >
> >
>
>



Re: What driver should I open in user level to send IOCTL to the SCSI mini port ? by Leandro

Leandro
Wed Jun 23 13:10:44 CDT 2004

Forget. I've found the solution to knowing a GUID, open the device driver !
Thank you

"Gary G. Little" <gary.g.little.nospam@seagate.com> wrote in message
news:x0iCc.2552$624.1385@newssvr23.news.prodigy.com...
> Enumerate the SCSI HDDs you have connected using a GUID such as
> GUID_DEVINTERFACE_DISK, open a handle to the one you want and send the
IOCTL
> to the drive. It has to go down to the miniport and the miniport will
> intercept it, if it handles pass through.
>
> --
> Gary G. Little
> Seagate Technologies, LLC
>
> "Leandro Becker" <spamfromhell@gotohell.com> wrote in message
> news:%23YSWZOTWEHA.212@TK2MSFTNGP12.phx.gbl...
> > Hi
> >
> > I'd like to identify the SCSI HDD's that are attached to my Adaptec RAID
> > controller. Maybe using IOCTL_SCSI_PASS_THROUGH to the driver I could do
> > that.
> >
> > Thank you
> >
> > --
> > Leandro Gustavo Biss Becker
> > eSystech Embedded Systems Technologies
> > +55(41)3029-2960
> > http://www.esystech.com.br
> >
> >
>
>



Re: What driver should I open in user level to send IOCTL to the SCSI mini port ? by Mark

Mark
Thu Jun 24 07:03:43 CDT 2004

You will be able to enumerate the logical disks presented by the raid
controller, not the physical disks providing the redundant storage of the
raid controller. The LUNs will operate like standard scsi disk target/luns.
The rest is vendor specific.

--

=====================
Mark Roddy
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com
markr@hollistech.com


"Leandro Becker" <spamfromhell@gotohell.com> wrote in message
news:u7o7QtUWEHA.3016@tk2msftngp13.phx.gbl...
> I'd like to only know the number of disks and disks data like name, serial
> number ...
> There is no way to do this ? Even the RAID controller being a SCSI ?
>
> "Peter Wieland [MSFT]" <peterwie@online.microsoft.com> wrote in message
> news:%23kvlAlUWEHA.4024@TK2MSFTNGP09.phx.gbl...
> > However be prepared for the RAID controller not to process
vendor-specific
> > commands to its RAID volumes. There is no defined method of accessing
> > individual devices behind a hardware RAID set ... if the vendor miniport
> > provides one that's fine but it's a vendor specific mechanism.
> >
> > most RAID controllers aren't going to like the idea of you sending
> arbitrary
> > commands to individual disks and potentially screwing up the state the
> > controller maintains.
> >
> > -p
> >
> > --
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.
> > "Gary G. Little" <gary.g.little.nospam@seagate.com> wrote in message
> > news:x0iCc.2552$624.1385@newssvr23.news.prodigy.com...
> > > Enumerate the SCSI HDDs you have connected using a GUID such as
> > > GUID_DEVINTERFACE_DISK, open a handle to the one you want and send the
> > > IOCTL
> > > to the drive. It has to go down to the miniport and the miniport will
> > > intercept it, if it handles pass through.
> > >
> > > --
> > > Gary G. Little
> > > Seagate Technologies, LLC
> > >
> > > "Leandro Becker" <spamfromhell@gotohell.com> wrote in message
> > > news:%23YSWZOTWEHA.212@TK2MSFTNGP12.phx.gbl...
> > >> Hi
> > >>
> > >> I'd like to identify the SCSI HDD's that are attached to my Adaptec
> RAID
> > >> controller. Maybe using IOCTL_SCSI_PASS_THROUGH to the driver I could
> do
> > >> that.
> > >>
> > >> Thank you
> > >>
> > >> --
> > >> Leandro Gustavo Biss Becker
> > >> eSystech Embedded Systems Technologies
> > >> +55(41)3029-2960
> > >> http://www.esystech.com.br
> > >>
> > >>
> > >
> > >
> >
> >
>
>