From: muriwai on
Hi,

I wonder what the format of SCSIOP_REPORT_LUN's LUN_LIST.Lun field is.

Storport.h has

UCHAR Lun[0][8]; // 4 level of addressing. 2 bytes each.

The SCSI standard says nothing about the format. It looks like it's just a
list of 64-bit numbers being LU numbers. Why does storport.h mention "4
level of addressing. 2 bytes each" then?

Thanks,

Andrew

From: Gary G. Little on
Look at the SAM-4 spec from t he T-10 committiee. LUNs are no longer 8 bits
in length but do indeed have multiple layers of addressing.

--
The personal opinion of
Gary G. Little


"muriwai" <muriwai(a)nospam.nospam> wrote in message
news:%23NWtwYbsIHA.1220(a)TK2MSFTNGP04.phx.gbl...
> Hi,
>
> I wonder what the format of SCSIOP_REPORT_LUN's LUN_LIST.Lun field is.
>
> Storport.h has
>
> UCHAR Lun[0][8]; // 4 level of addressing. 2 bytes each.
>
> The SCSI standard says nothing about the format. It looks like it's just a
> list of 64-bit numbers being LU numbers. Why does storport.h mention "4
> level of addressing. 2 bytes each" then?
>
> Thanks,
>
> Andrew


From: Maxim S. Shatskih on
> I wonder what the format of SCSIOP_REPORT_LUN's LUN_LIST.Lun field is.
>
> Storport.h has
>
> UCHAR Lun[0][8]; // 4 level of addressing. 2 bytes each.
>
> The SCSI standard says nothing about the format. It looks like it's just a
> list of 64-bit numbers being LU numbers.

Look at SCSI specs at www.t10.org, I think REPORT LUNS is described in SPC or
SAM family of specs.

If the miniport/controller/LUN does not support REPORT LUNS, then SCSIPORT will
enumerate all LUNs from 0 up and stop on first non-responding LUN.

Don't know on STORPORT, probably it uses the same way.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim(a)storagecraft.com
http://www.storagecraft.com

From: muriwai on
SAM-4 seems to be what I need.

Thank you



"muriwai" <muriwai(a)nospam.nospam> wrote in message
news:%23NWtwYbsIHA.1220(a)TK2MSFTNGP04.phx.gbl...
> Hi,
>
> I wonder what the format of SCSIOP_REPORT_LUN's LUN_LIST.Lun field is.
>
> Storport.h has
>
> UCHAR Lun[0][8]; // 4 level of addressing. 2 bytes each.
>
> The SCSI standard says nothing about the format. It looks like it's just a
> list of 64-bit numbers being LU numbers. Why does storport.h mention "4
> level of addressing. 2 bytes each" then?
>
> Thanks,
>
> Andrew