* Problems with higher SCSI LUN's with SLES8
@ 2003-09-04 7:48 Zuylen, G. van
2003-09-04 8:14 ` Christoph Hellwig
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Zuylen, G. van @ 2003-09-04 7:48 UTC (permalink / raw)
To: 'linux-scsi@vger.kernel.org'
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems with higher SCSI LUN's with SLES8
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
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Christoph Hellwig @ 2003-09-04 8:14 UTC (permalink / raw)
To: Zuylen, G. van; +Cc: 'linux-scsi@vger.kernel.org'
SLES and (RH AS & co) use edtremly patched kernels so the only persons
that can help you are the SuSE/RH support departments, sorry.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems with higher SCSI LUN's with SLES8
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
2003-09-17 1:05 ` phil
2003-09-17 7:15 ` Josef Möllers
3 siblings, 0 replies; 5+ messages in thread
From: Andrew Patterson @ 2003-09-04 23:43 UTC (permalink / raw)
To: Zuylen, G. van; +Cc: linux-scsi
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems with higher SCSI LUN's with SLES8
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
@ 2003-09-17 1:05 ` phil
2003-09-17 7:15 ` Josef Möllers
3 siblings, 0 replies; 5+ messages in thread
From: phil @ 2003-09-17 1:05 UTC (permalink / raw)
To: Zuylen, G. van; +Cc: 'linux-scsi@vger.kernel.org'
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
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
Hi,
On your hsg when you saw your connection ( show conn on the console ) do
you have an offset on the connection of your qlogic card ?
what is the mode of the controler, transparent failover or multibus
failover ?
What is the number of your unit ( D10 D11 D12 D120 for exemple ) ?
The information on your mail are not sufficient for helping you, they
are many possiblities and reasons for see only the 7 fisrt lun.
Do you have compiled your kernel with more than 7 scsi disks, probe all
luns, see this options with the make menuconfig ( this is probably a
stupid remark but in case of ).
If you have an offset on the connection of your linux boxe's and they
are probably another system on the ema12000, the unit offset on a
connection allow to present the device to your system with lun 0 ( if
the Command Console Lun is disable ) lun 1, lun 2 ... make sure the unit
offset above LUN 7 are right because if you have a unit for exemple D110
with a unit offset 120 the result for the lun presentation is :
unit D110, unit offset connection 120, 110 - 120 = -10, your unit arrive
with a LUN equal to -10. The driver doesn't like that and you don't see
the unit.
If the controler is configured for transparent failover ( make a show
this and a show other on each controler you must have a stanby port and
an active port ) make sure your unit is not greatter than 99, your last
unit must be D99, because in transparent failover the unit must be in 0
to 99 ( D0 if you don't have the command console lun disable but it is
recommended to not use D0 ) D1 to D99, if you unit after D99 i don't
remenber but i think the controler refused to attribute a unit with
D100, this is a functionnality and a limitation of the transparent
failover, because in case of failure on "this controler" all unit are
transfered on the "other controler" and the "other controler" become
"this controler" with the same wwn.
If the controler is configured for multibus failover check the unit
offset and check where the unit after LUN 7 are presented ( check the
port on the controler you use sho unit full or show unit DXX and look
where the unit is ONLINE ), check your zoning on your san switch make
sure you have the right controler port and the right qlogic card ( you
can check this with the world wide name on each device, qla card, port
controler).
I hope that help you, and if you more information about your EMA is
better for helping you.
A tip if you have 2 qlogics on your DL380 you can use the qlogic driver
that support a card failover the name of this driver have "FO". Is
interesting for fault tolerance on your system, because the failover on
the controler is not supported by the qlogic driver at this time... If
the driver have this functionality this is probably the end of HP secure
path on linux, if you have free why pay.
A+
phil
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems with higher SCSI LUN's with SLES8
2003-09-04 7:48 Problems with higher SCSI LUN's with SLES8 Zuylen, G. van
` (2 preceding siblings ...)
2003-09-17 1:05 ` phil
@ 2003-09-17 7:15 ` Josef Möllers
3 siblings, 0 replies; 5+ messages in thread
From: Josef Möllers @ 2003-09-17 7:15 UTC (permalink / raw)
To: Zuylen, G. van; +Cc: 'linux-scsi@vger.kernel.org'
"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 ?
What does /proc/scsi/scsi say about the ANSI SCSI revision? If it says
"02", then you'll need to change the scsi mid-layer: the current code
(and even future code B-{( will not scan beyond ID 7 on SCSI-2 devices.
--
Josef Möllers (Pinguinpfleger bei FSC)
If failure had no penalty success would not be a prize
-- T. Pratchett
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-09-17 7:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2003-09-17 1:05 ` phil
2003-09-17 7:15 ` Josef Möllers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox