LUN in Scsi Miniport Driver

Hi All,

in the PORT_CONFIGURATION_INFORMATION structure, the field
MaximumNumberOfLogicalUnits is supposed to specify how many LUN a Target can
support. However, when I changed this value to 16, the OS only asks for the
LUN from 0 to 7 when it enumerate devices behind my device.
Did I miss anything? How can I support more than 8 LUN per device?

Thank you
Vu

The contents of this e-mail message, including any attachments, are intended
solely for the use of the person or entity to whom the e-mail was addressed.
If you are not the intended recipient of this message, be advised that any
dissemination, distribution, or use of the contents of this message is
strictly prohibited. If you received this e-mail in error, please e-mail
xxxxx@pacificdigital.com mailto:xxxxx and
contact the sender by reply e-mail. Please also permanently delete all
copies of the original e-mail and any attached documentation. The
contents of this e-mail and any attached documentation is expressly marked
as confidential information.</mailto:xxxxx>

If there’s no lun 0, it won’t scan past lun 7. If there is a lun 0, it will
scan lun 0 -7 and then send a report luns. It will scan all luns reported
back in the report luns.

“Vu Nguyen” wrote in message
news:xxxxx@ntdev…
> Hi All,
>
> in the PORT_CONFIGURATION_INFORMATION structure, the field
> MaximumNumberOfLogicalUnits is supposed to specify how many LUN a Target
can
> support. However, when I changed this value to 16, the OS only asks for
the
> LUN from 0 to 7 when it enumerate devices behind my device.
> Did I miss anything? How can I support more than 8 LUN per device?
>
> Thank you
> Vu
>
> The contents of this e-mail message, including any attachments, are
intended
> solely for the use of the person or entity to whom the e-mail was
addressed.
> If you are not the intended recipient of this message, be advised that any
> dissemination, distribution, or use of the contents of this message is
> strictly prohibited. If you received this e-mail in error, please e-mail
> xxxxx@pacificdigital.com mailto:xxxxx and
> contact the sender by reply e-mail. Please also permanently delete all
> copies of the original e-mail and any attached documentation. The
> contents of this e-mail and any attached documentation is expressly marked
> as confidential information.
>
></mailto:xxxxx>

in order to support more than 16 LUNs it looks like you’d need to
indicate HiSupport in LUN0’s inquiry data. But it sort of looks like
scsiport should be scanning the lower luns. I have a guess but it’s
just that and I need to check with the current scsiport developer to see
if it’s what’s happing.

-p

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Vu Nguyen
Sent: Friday, February 27, 2004 10:01 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] LUN in Scsi Miniport Driver

Hi All,

in the PORT_CONFIGURATION_INFORMATION structure, the field
MaximumNumberOfLogicalUnits is supposed to specify how many LUN a Target
can support. However, when I changed this value to 16, the OS only asks
for the LUN from 0 to 7 when it enumerate devices behind my device.
Did I miss anything? How can I support more than 8 LUN per device?

Thank you
Vu

The contents of this e-mail message, including any attachments, are
intended solely for the use of the person or entity to whom the e-mail
was addressed.
If you are not the intended recipient of this message, be advised that
any dissemination, distribution, or use of the contents of this message
is strictly prohibited. If you received this e-mail in error, please
e-mail xxxxx@pacificdigital.com
mailto:xxxxx and contact the sender by reply
e-mail. Please also permanently delete all
copies of the original e-mail and any attached documentation. The
contents of this e-mail and any attached documentation is expressly
marked as confidential information.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com</mailto:xxxxx>

What about REPORT LUNS support on your target?

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Vu Nguyen”
To: “Windows System Software Devs Interest List”
Sent: Friday, February 27, 2004 9:00 PM
Subject: [ntdev] LUN in Scsi Miniport Driver

> Hi All,
>
> in the PORT_CONFIGURATION_INFORMATION structure, the field
> MaximumNumberOfLogicalUnits is supposed to specify how many LUN a Target can
> support. However, when I changed this value to 16, the OS only asks for the
> LUN from 0 to 7 when it enumerate devices behind my device.
> Did I miss anything? How can I support more than 8 LUN per device?
>
> Thank you
> Vu
>
> The contents of this e-mail message, including any attachments, are intended
> solely for the use of the person or entity to whom the e-mail was addressed.
> If you are not the intended recipient of this message, be advised that any
> dissemination, distribution, or use of the contents of this message is
> strictly prohibited. If you received this e-mail in error, please e-mail
> xxxxx@pacificdigital.com mailto:xxxxx and
> contact the sender by reply e-mail. Please also permanently delete all
> copies of the original e-mail and any attached documentation. The
> contents of this e-mail and any attached documentation is expressly marked
> as confidential information.
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com</mailto:xxxxx>