CAM, SCSIn/iSCSI & LUNs

Danny Braniss danny at cs.huji.ac.il
Tue Aug 9 13:47:25 GMT 2005


> Danny Braniss wrote:
> > hi,
> > 	it seems that one of the differences between the SCSI1/2/3/4/i
> > is the size of the LUN :-)
> > 
> > Now, it seems that the CAM will search sequencially for LUNs, from 0 -> max_lun
> > which i don't think will scale nicely.
> > 
> > is there a way to tell the cam to do a scsi report luns command, instead of
> > the sequential search?
> > 
> > danny
> > 
> > 
> 
> I, Matt Jacob, and Ken Merry talked about implementing REPORT_LUNS a 
> couple of months ago, but it stalled for a reason that I cannot recall.
> 
> Scott

i was wondering, it would be nice, if setting in XPT_PATH_INQ response
cpi->max_lun = -1, which would trigger the REPORT_LUNS ...

next question:
	when a target/unit is lost it seems that the luns > 0 have to be
	removed/cleared by the sim, shouldn't it be done by the CAM?

danny





More information about the freebsd-scsi mailing list