Linux SCSI subsystem development
 help / color / mirror / Atom feed
From: Arild Jensen <ml-linux-scsi@counter-attack.com>
To: linux-scsi@vger.kernel.org
Subject: Re: Always seeing 36 LUNs from qla2xxx HBA
Date: Tue, 20 Jun 2006 23:01:32 -0700	[thread overview]
Message-ID: <20060621060132.GA17417@wiggle.dreamhost.com> (raw)
In-Reply-To: <1150850434.3057.3.camel@laptopd505.fenrus.org>

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

      reply	other threads:[~2006-06-21  6:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060621060132.GA17417@wiggle.dreamhost.com \
    --to=ml-linux-scsi@counter-attack.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox