> This has worked on all Dell PowerVault SANs.  If the 
> RocketStor 500S is
> returning 011b rather than 001b there, then I believe that's 
> a bug in their
> SCSI implementation.  Can you add a check to see what's 
> actually in the
> peripheral qualifier field when there's no LUN available?
> 
> Thanks,
> Matt
> 
> -- 
> Matt Domsch
> Sr. Software Engineer
> Dell Linux Solutions
> www.dell.com/linux

        Indeed, that appears to be the problem. This is what I get when I
map a raid set
only to LUN 2 (This is my slightly hacked version of scsi_scan, so it
ignores the exit on 
the peripheral qualifier check):

Scanning dev=2 lun=0 (sparse=0)
bflags=1088
peripheral qualifier=3  *DOH*
scsi: unknown type 31
Vendor: Zzyzx     Model: RocketStor 500S   Rev: 3100
Type:   Unknown                            ANSI SCSI revision: 04
Scanning dev=2 lun=1 (sparse=1)
bflags=1088
peripheral qualifier=3
scsi: unknown type 31
Vendor: Zzyzx     Model: RocketStor 500S   Rev: 3100
Type:   Unknown                            ANSI SCSI revision: 04
Scanning dev=2 lun=2 (sparse=1)
bflags=1088
peripheral qualifier=0
Vendor: Zzyzx     Model: RocketStor 500S   Rev: 3100
Type:   Direct-Access                      ANSI SCSI revision: 04

        Thanks for clearing that up - I knew it was exiting at the
peripheral qualifier
check, but I did not know enough about the SCSI protocol to know why, or if
this was
a bug with the RocketStor, etc.

        I suppose I'll take this up with Zzyzx now :)

-poul

Poul E.J. Petersen
Rogue Wave Software 
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to