* Always seeing 36 LUNs from qla2xxx HBA
@ 2006-06-20 23:59 Arild Jensen
2006-06-21 0:40 ` Arjan van de Ven
0 siblings, 1 reply; 3+ messages in thread
From: Arild Jensen @ 2006-06-20 23:59 UTC (permalink / raw)
To: linux-scsi
I have an interesting problem on my Linux box:
Setup:
IBM x445 server
2 x QLA2340 fiber HBAs
Brocade Director 12000 switch
Hitachi HDS 9960 RAID array
SLES 9 OS, kernel-bigsmp-2.6.5-7.201
Problem:
The qla2xxx driver *always* reports 36 SCSI2 LUNs, regardless of what I
configure on the RAID array. It should report 17 SCSI3 LUNs. I am certain
the problem is with/close to the OS because:
* I have another x445 box running the same OS and kernel version
and it has no problems.
* I have swapped the HBAs with another box and the problem
stayed in the box. The LUNs I have assigned to this box showed
up correctly in the other server during the swap.
* I've even swapped the M/B (though not the PCI backplane, which
is separate) and moved the HBAs around in the PCI slots.
I've worked on this for about six weeks now and I'm running out of
ideas. Any help debugging this is appreciated.
Thanks!
--
Arild Jensen
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Always seeing 36 LUNs from qla2xxx HBA
2006-06-20 23:59 Always seeing 36 LUNs from qla2xxx HBA Arild Jensen
@ 2006-06-21 0:40 ` Arjan van de Ven
2006-06-21 6:01 ` Arild Jensen
0 siblings, 1 reply; 3+ messages in thread
From: Arjan van de Ven @ 2006-06-21 0:40 UTC (permalink / raw)
To: Arild Jensen; +Cc: linux-scsi
On Tue, 2006-06-20 at 16:59 -0700, Arild Jensen wrote:
> I have an interesting problem on my Linux box:
>
> Setup:
> IBM x445 server
> 2 x QLA2340 fiber HBAs
> Brocade Director 12000 switch
> Hitachi HDS 9960 RAID array
> SLES 9 OS, kernel-bigsmp-2.6.5-7.201
>
> Problem:
> The qla2xxx driver *always* reports 36 SCSI2 LUNs, regardless of what I
> configure on the RAID array. It should report 17 SCSI3 LUNs.
why should it report 17?
if you have set up 17 luns, showing up as 36 devices is not that
strange; first you have the management lun, so the kernel should see18
if you configure 17 real disk ones, and then you have 2 paths to the
device, so that is times 2 ==> 36. Now the multipathing in the linux
kernel then should bundle those into multipathing devices, after the
kernel sees them. If that's not happening you should configure the dm
multipathing component....
was the machine that is working also using multipathing?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Always seeing 36 LUNs from qla2xxx HBA
2006-06-21 0:40 ` Arjan van de Ven
@ 2006-06-21 6:01 ` Arild Jensen
0 siblings, 0 replies; 3+ messages in thread
From: Arild Jensen @ 2006-06-21 6:01 UTC (permalink / raw)
To: linux-scsi
On Wed, Jun 21, 2006 at 02:40:34AM +0200, Arjan van de Ven wrote:
> On Tue, 2006-06-20 at 16:59 -0700, Arild Jensen wrote:
> > I have an interesting problem on my Linux box:
> >
> > Setup:
> > IBM x445 server
> > 2 x QLA2340 fiber HBAs
> > Brocade Director 12000 switch
> > Hitachi HDS 9960 RAID array
> > SLES 9 OS, kernel-bigsmp-2.6.5-7.201
> >
> > Problem:
> > The qla2xxx driver *always* reports 36 SCSI2 LUNs, regardless of what I
> > configure on the RAID array. It should report 17 SCSI3 LUNs.
>
> why should it report 17?
Because I configured our RAID array to assign that box 17 LUNs.
> if you have set up 17 luns, showing up as 36 devices is not that
> strange; first you have the management lun, so the kernel should see18
> if you configure 17 real disk ones, and then you have 2 paths to the
> device, so that is times 2 ==> 36. Now the multipathing in the linux
> kernel then should bundle those into multipathing devices, after the
> kernel sees them. If that's not happening you should configure the dm
> multipathing component....
>From each HBA I am seeing 36 LUNs. Since they are SCSI2, the OS only
sees the first 8, though when I dig deeper, such as looking at
/proc/scsi/qla2xxx/*, I see that each HBA reports 35 LUNs.
However, you might be right about something regarding the multipathing.
Your math certainly adds up. I'll try to boot the box with only one
HBA and see what the OS+HBA are reporting.
> was the machine that is working also using multipathing?
Yes.
Thanks for the reply, Arjan!
--
Arild Jensen
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-06-21 6:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-20 23:59 Always seeing 36 LUNs from qla2xxx HBA Arild Jensen
2006-06-21 0:40 ` Arjan van de Ven
2006-06-21 6:01 ` Arild Jensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox