From: Andrew Patterson <andrew@fc.hp.com>
To: "Zuylen, G. van" <GvZuylen@ysl.nl>
Cc: linux-scsi@vger.kernel.org
Subject: Re: Problems with higher SCSI LUN's with SLES8
Date: 04 Sep 2003 17:43:49 -0600 [thread overview]
Message-ID: <1062719029.10813.198.camel@lvadplx> (raw)
In-Reply-To: <A00BBCF927F25E4A9D5F6EE1380CDEF2CC88@hedwig.ysl.nl>
On Thu, 2003-09-04 at 01:48, Zuylen, G. van wrote:
> Hi you all,
>
> We are using a HP DL380 server with a Qlogic 2300 HBA adapter. This adapter
> is connected to a HP EMA12000 SAN (with HSG80 controllers). Behind the HBA
> (qlogic 2300) we see only the devices up to LUN 7, higher LUN are not
> detected. We have tried several things like modifying /etc/modules.conf with
> "options scsi_mod max_scsi_luns=128" and modifying /boot/grub/menu.lst. But
> nothing seems to be working.
> We are using SLES8 with kernel version k_smp-2.4.19-304 and the qlogic
> driver version 6.05.60. Also tested with a newer kernel k_smp-2.4.19-340,
> but this makes no difference.
>
> Does anybody know how we can solve this problem or is there somebody who has
> experience with this ?
>
> Best regards,
>
> Gert van Zuylen
If you don't mind a little kernel hacking, make sure you have the
following entry in linux/drivers/scsi/scsi_scan.c in the struct dev_info
device_list:
{"DEC","HSG80","*", BLIST_SPARSELUN | BLIST_LARGELUN},
This entry will find LUN's above 7 even if the array reports itself as
SCSI-2 (which the EMA does) and it allows you to use non-sequential
LUN's, i.e., 1, 2, 3, 6, 13 ...
There might already be the entry:
{"DEC","HSG80","*", BLIST_FORCELUN},
This would work as long as you use sequential LUN's i.e,
1,2,3,4,5,6,7,8,9....
Also make sure you set the controller(s) to SCSI-3 and transparent
failover mode. SCSI-3 mode will give you a LUN 0 management LUN that
the scsi_scan needs to look above LUN 7. You need transparent failover
mode to eliminate "ghost" LUN's. You also need to set the LUN
presentation operating system type to "SUN".
Andrew
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Andrew Patterson Voice: (970) 898-3261
Hewlett-Packard Company Email: andrew@fc.hp.com
next prev parent reply other threads:[~2003-09-04 23:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-04 7:48 Problems with higher SCSI LUN's with SLES8 Zuylen, G. van
2003-09-04 8:14 ` Christoph Hellwig
2003-09-04 23:43 ` Andrew Patterson [this message]
2003-09-17 1:05 ` phil
2003-09-17 7:15 ` Josef Möllers
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=1062719029.10813.198.camel@lvadplx \
--to=andrew@fc.hp.com \
--cc=GvZuylen@ysl.nl \
--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