Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Can Windows 2008 handle the maximum number of targets?

Reply
Thread Tools Display Modes

Can Windows 2008 handle the maximum number of targets?

 
 
RamenWarrior
Guest
Posts: n/a

 
      07-08-2009
I inherited a storport driver and need to increase the number of targets that
it can manage. The fields (pathID, targetID) in an SRB seem to allow a
maximum of 64K devices. However the source code I have access to indicates
that there were problems found when maximumTargetsAllowed was set to 0xFF in
the PORT_CONFIGURATION_INFORMATION.

I verified this myself by changing the code in my driver so that 32 buses
with 255 targets were allowed. The system will now hang somewhere in the boot
process after my driver is initialized and HWFindAdapter is called.

Since Windows should support complex FC fabric topologies with huge numbers
of devices, I find this rather surprising. I suppose it is possible that
there is an error somewhere in my code but I thought I would check here as
well since my changes were so small and the change in behavior so interesting.
 
Reply With Quote
 
 
 
 
Alexander Grigoriev
Guest
Posts: n/a

 
      07-09-2009

see storport.h:
SCSI_MAXIMUM_BUSES 8
SCSI_MAXIMUM_TARGETS_PER_BUS 128


Anyway, even with these limitations number of LUNs is pretty much
unmanageable... What's the point in having that many?

"RamenWarrior" <> wrote in message
news:89C405B6-6B9D-41A1-A8C3-...
>I inherited a storport driver and need to increase the number of targets
>that
> it can manage. The fields (pathID, targetID) in an SRB seem to allow a
> maximum of 64K devices. However the source code I have access to indicates
> that there were problems found when maximumTargetsAllowed was set to 0xFF
> in
> the PORT_CONFIGURATION_INFORMATION.
>
> I verified this myself by changing the code in my driver so that 32 buses
> with 255 targets were allowed. The system will now hang somewhere in the
> boot
> process after my driver is initialized and HWFindAdapter is called.
>
> Since Windows should support complex FC fabric topologies with huge
> numbers
> of devices, I find this rather surprising. I suppose it is possible that
> there is an error somewhere in my code but I thought I would check here
> as
> well since my changes were so small and the change in behavior so
> interesting.



 
Reply With Quote
 
RamenWarrior
Guest
Posts: n/a

 
      07-09-2009
I guess it would have been helpful to see an assertion check fail if the
maximum value was exceeded. The hang was just mysterious.


"Alexander Grigoriev" wrote:

> see storport.h:
> SCSI_MAXIMUM_BUSES 8
> SCSI_MAXIMUM_TARGETS_PER_BUS 128
>
>
> Anyway, even with these limitations number of LUNs is pretty much
> unmanageable... What's the point in having that many?
>
> "RamenWarrior" <> wrote in message
> news:89C405B6-6B9D-41A1-A8C3-...
> >I inherited a storport driver and need to increase the number of targets
> >that
> > it can manage. The fields (pathID, targetID) in an SRB seem to allow a
> > maximum of 64K devices. However the source code I have access to indicates
> > that there were problems found when maximumTargetsAllowed was set to 0xFF
> > in
> > the PORT_CONFIGURATION_INFORMATION.
> >
> > I verified this myself by changing the code in my driver so that 32 buses
> > with 255 targets were allowed. The system will now hang somewhere in the
> > boot
> > process after my driver is initialized and HWFindAdapter is called.
> >
> > Since Windows should support complex FC fabric topologies with huge
> > numbers
> > of devices, I find this rather surprising. I suppose it is possible that
> > there is an error somewhere in my code but I thought I would check here
> > as
> > well since my changes were so small and the change in behavior so
> > interesting.

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unknown system process holds volume handle in server 2008 eveilleux Windows Vista Drivers 0 06-13-2008 07:33 PM
Maximum Number of Songs in Windows Media Player 11 Larry Bird Windows Media Player 3 09-22-2007 02:18 PM
Maximum number of recipients in BCC Blueberry Flavoured Cyanide Windows Live Mail 7 07-01-2007 07:23 AM
Maximum number of songs GlennDisk Windows Media Player 3 04-27-2007 11:02 PM
Maximum number of files (from network share) in Windows Explorer? Jeroen Thur Windows Vista File Management 2 06-19-2006 09:47 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59