need help
A message that is not in the archive (sent off-list or not yet received): [email protected]
Dear Micheal,
Thanks for the solution again, it seems i dont
have any luck. I have patched the kernel with BLIST_LARGELUN support I have tried all the options given by u
still success is far away from me. I have made these changes in the scsi_scan.c
{"IBM", "AuSaV1S2", "*", BLIST_LARGELUN | BLIST_FORCELUN | BLIST_SPARSELUN},
{"HITACHI", "OPEN E*4", "*", BLIST_LARGELUN |
BLIST_FORCELUN | BLIST_SPARSELUN},
{"HITACHI", "OPEN E*18", "*", BLIST_LARGELUN |
BLIST_FORCELUN | BLIST_SPARSELUN},
{"HITACHI", "OPEN E*8", "*", BLIST_LARGELUN |
BLIST_FORCELUN | BLIST_SPARSELUN},
{"HITACHI", "OPEN E*36", "*", BLIST_LARGELUN |BLIST_FORCELUN | BLIST_SPARSELUN},
I tried all the possible combination ofBLIST_SPARCE, BLIST_FORCE, etc.
I would like to know whether the LINUX works on SAN
envirnment. I am feeling it has its own limitation in SAN.
If any one can help to solve my problem it will be a great help.
To my strange experiance RedHat 6.2 with kernel
2.2-14 without SMP options works fine, withot LUNO and without luns biengin sequence but we require multiple cpu option
if RedHat 6.2 works fine i dont know why it is not implemented in RedHat 7.X. I have tried allthe possible Redhat vesions
Including the latest RedHat 7.3. To my suprise the
RedHat does not boot at all if the qlogic driver is
enabled at boot.
and have the same problem of LUN0 and sequence LUNs. Is really Linux operating sytem is matured enough to work as high end
server????
Pl can any body help???
The details of machine
uname -a Linux m1 2.4.19-pre10 #12 SMP Thu Jun 13 05:48:37 IST 2002 i686 unknown
cat /proc/scsi/scsi
Attached devices:
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: IBM Model: SERVERAID Rev: 1.00
Type: Direct-Access ANSI SCSI
revision: 02
Host: scsi2 Channel: 00 Id: 15 Lun: 00
Vendor: IBM Model: SERVERAID Rev: 1.00
Type: Processor ANSI SCSI
revision: 02
Host: scsi2 Channel: 01 Id: 08 Lun: 00
Vendor: IBM Model: AuSaV1S2 Rev: 0
Type: Processor ANSI SCSI
revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: HITACHI Model: OPEN-E*4 Rev: 0116
Type: Direct-Access ANSI SCSI
revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 01
Vendor: HITACHI Model: OPEN-E*4 Rev: 0116
Type: Direct-Access ANSI SCSI
revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 02
Vendor: HITACHI Model: OPEN-E*36 Rev: 0116
Type: Direct-Access ANSI SCSI
revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 03
Vendor: HITACHI Model: OPEN-E*18 Rev: 0116
Type: Direct-Access ANSI SCSI
revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 04
Vendor: HITACHI Model: OPEN-E*2 Rev: 0116
Type: Direct-Access ANSI SCSI
revision: 02
cat /proc/partition
major minor #blocks name rio rmerge rsect ruse
wio wmerge wsect wuse running use aveq
8 0 35548160 sda 4426 7059 90710 33350 4064
4259 66776 78920 0 36970 112310
8 1 5168614 sda1 4135 6674 86466 30360 2569
3334 47464 57210 0 30850 87600
8 2 23554944 sda2 268 299 3978 2880 1491 922
19280 21680 0 14080 24560
8 3 2096262 sda3 3 0 24 30 0 0 0 0 0 30 30 8 4 1 sda4 0 0 0 0 0 0 0 0 0 0 0 8 5 4720558 sda5 18 80 226 60 4 3 32 40 0 90 100 8 16 56905920 sdb 1 3 8 0 0 0 0 0 0 0 0 8 17 56902198 sdb1 0 0 0 0 0 0 0 0 0 0 0 8 32 56905920 sdc 1 3 8 0 0 0 0 0 0 0 0 8 33 2097136 sdc1 0 0 0 0 0 0 0 0 0 0 0 8 48 512153280 sdd 1 3 8 0 0 0 0 0 0 0 0 8 49 512152168 sdd1 0 0 0 0 0 0 0 0 0 0 0 8 64 256076640 sde 1 3 8 0 0 0 0 0 0 0 0 8 65 51207156 sde1 0 0 0 0 0 0 0 0 0 0 0 8 80 28452960 sdf 1 3 8 0 0 0 0 0 0 0 0 8 81 28452848 sdf1 0 0 0 0 0 0 0 0 0 0 0
3 0 653856 hda 1 3 16 30 0 0 0 0 -1145
643450 13929193
Quoted 187 lines · --- Michael Clark
Did you try
BLIST_SPARSELUNon the Hitachi devices?Also, your devices are reporting as SCSI level 2 so no scanning will be done past lun 7 (This is only done for SCSI-3 devices). There is a patch floating around that adds
BLIST_LARGELUN
to make the scanning code treat these devices as SCSI-3 (255 luns)~mc
Quoted 4 lines · manjuanth n
Dear Michael,
Thanks for the solution, but my problem still remains unresolved. I added the following lines
to
Quoted 4 lines
scsi_scan.cand recompiled
{"IBM", "AvSaV1S2", "*",BLIST_FORCELUN|BLIST_SPARSELUN},{"HITACHI", "OPEN E*4", "*",
BLIST_FORCELUN},Quoted 1 line
{"HITACHI", "OPEN E*18", "*",
BLIST_FORCELUN},Quoted 1 line
{"HITACHI", "OPEN E*8", "*",
BLIST_FORCELUN},Quoted 1 line
{"HITACHI", "OPEN E*36", "*",
BLIST_FORCELUN},Quoted 9 lines
{"HITACHI", "DF400", "*", BLIST_FORCELUN}, {"HITACHI", "DF500", "*", BLIST_FORCELUN}, {"HITACHI", "DF600", "*", BLIST_FORCELUN},the out put of the scsi venders are as follows cat
/proc/scsi/scsi
Attached devices:
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: IBM Model: SERVERAID Rev:1.0
Quoted 1 line
Type: Direct-Access ANSI
SCSI
Quoted 3 lines
revision: 01
Host: scsi2 Channel: 00 Id: 15 Lun: 00
Vendor: IBM Model: SERVERAID Rev:1.0
Quoted 1 line
Type: Processor ANSI
SCSI
Quoted 4 lines
revision: 01
Host: scsi2 Channel: 01 Id: 08 Lun: 00
Vendor: IBM Model: AuSaV1S2 Rev: 0
Type: Processor ANSISCSI
Quoted 3 lines
revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: HITACHI Model: OPEN-E*4 Rev:0116
Quoted 1 line
Type: Processor ANSI
SCSI
Quoted 9 lines
revision: 02
If u can help me out where i am doing the mistake
it will be of great help.
plfind the enclosedscsi_scan.cfile. Is there any method or commands to find outBLIST_FORCELUNis enabled?Quoted 12 lines
Thanks and regards
ManjunathQuoted 5 lines · --- Michael Clark
2.4.18 needs a hint added to
drivers/scsi/scsi_scan.c
to allow it to scan targets with sparse luns.Look in
/proc/scsi/scsifor the vendor and modeland
Quoted 7 lines
Quoted 7 lines
add them into the
device_listarray inscsi_scan.c...
{"<VENDOR>", "<MODEL>", "*",BLIST_SPARSELUN},If you don't configure lun 0, you may have to use
BLIST_FORCELUNwhich if my understanding iscorrect
Quoted 6 lines
Quoted 6 lines
will force scanning of all luns.
I hear there is some
REPORT_LUNScode that will eliminate the need to do this, although don't know which kernel has it.Quoted 8 lines
Quoted 8 lines
~mc
Quoted 2 lines · manjuanth n
Dear sir,
we have SAN environment with hitachi storagebox
Quoted 11 lines
Quoted 11 lines
Quoted 3 lines
and brocade switch. we are trying to install
Linux
Quoted 5 lines
with qlogic HBA card. we are facing strange
problems
1. If we disable LUN 0 we will not be able toQuoted 5 lines
Quoted 5 lines
see
Quoted 2 lines
any LUNs on liunx machine
2. If we enable LUN 0 we can see all theLUNS
Quoted 32 lines
Quoted 32 lines
Quoted 4 lines
but it should be in sequence i.e LUN0 ,1,2 , 3
etc
Quoted 3 lines
if we disable LUN 3 we will not be able to see
LUNS
Quoted 10 lines
4 and the rest
Is the above things are limitation of linux.
Linux machine is running with 2.4.18 kernelIs there any solutions for these problems?
Thanks and Regards
Manjuanth__________________________________________________
Quoted 7 lines
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
-
To unsubscribe from this list: send the lineQuoted 4 lines
Quoted 4 lines
"unsubscribe linux-kernel" in
Quoted 1 line
the body of a message to
Quoted 15 lines
Quoted 13 lines
Quoted 3 lines
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 5 lines
Please read the FAQ at http://www.tux.org/lkml/
Quoted 5 lines
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com------------------------------------------------------------------------
Quoted 7 lines
/*
*scsi_scan.cCopyright (C) 2000 Eric Youngdale *
* Bus scan logic.
*
* This used to live inscsi.c, but that file was
Quoted 17 lines
just a laundry basket
Quoted 1 line
* full of misc stuff. This got separated out in
order to make things
Quoted 13 lines
* clearer.
*/#define
__NO_VERSION__
#include <linux/config.h>
#include <linux/module.h>
#include <linux/init.h>#include <
linux/blk.h>#include "
scsi.h"
#include "hosts.h"
#include "constants.h"
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
Dear Micheal,
Thanks for the solution again, it seems i dont
have any luck. I have patched the kernel with BLIST_LARGELUN support I have tried all the options given by u
still success is far away from me. I have made these changes in the scsi_scan.c
{"IBM", "AuSaV1S2", "*", BLIST_LARGELUN | BLIST_FORCELUN | BLIST_SPARSELUN},
{"HITACHI", "OPEN E*4", "*", BLIST_LARGELUN |
BLIST_FORCELUN | BLIST_SPARSELUN},
{"HITACHI", "OPEN E*18", "*", BLIST_LARGELUN |
BLIST_FORCELUN | BLIST_SPARSELUN},
{"HITACHI", "OPEN E*8", "*", BLIST_LARGELUN |
BLIST_FORCELUN | BLIST_SPARSELUN},
{"HITACHI", "OPEN E*36", "*", BLIST_LARGELUN |BLIST_FORCELUN | BLIST_SPARSELUN},
I tried all the possible combination ofBLIST_SPARCE, BLIST_FORCE, etc.
I would like to know whether the LINUX works on SAN
envirnment. I am feeling it has its own limitation in SAN.
If any one can help to solve my problem it will be a great help.
To my strange experiance RedHat 6.2 with kernel
2.2-14 without SMP options works fine, withot LUNO and without luns biengin sequence but we require multiple cpu option
if RedHat 6.2 works fine i dont know why it is not implemented in RedHat 7.X. I have tried allthe possible Redhat vesions
Including the latest RedHat 7.3. To my suprise the
RedHat does not boot at all if the qlogic driver is
enabled at boot.
and have the same problem of LUN0 and sequence LUNs. Is really Linux operating sytem is matured enough to work as high end
server????
Pl can any body help???
The details of machine
uname -a Linux m1 2.4.19-pre10 #12 SMP Thu Jun 13 05:48:37 IST 2002 i686 unknown
cat /proc/scsi/scsi
Attached devices:
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: IBM Model: SERVERAID Rev: 1.00
Type: Direct-Access ANSI SCSI
revision: 02
Host: scsi2 Channel: 00 Id: 15 Lun: 00
Vendor: IBM Model: SERVERAID Rev: 1.00
Type: Processor ANSI SCSI
revision: 02
Host: scsi2 Channel: 01 Id: 08 Lun: 00
Vendor: IBM Model: AuSaV1S2 Rev: 0
Type: Processor ANSI SCSI
revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: HITACHI Model: OPEN-E*4 Rev: 0116
Type: Direct-Access ANSI SCSI
revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 01
Vendor: HITACHI Model: OPEN-E*4 Rev: 0116
Type: Direct-Access ANSI SCSI
revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 02
Vendor: HITACHI Model: OPEN-E*36 Rev: 0116
Type: Direct-Access ANSI SCSI
revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 03
Vendor: HITACHI Model: OPEN-E*18 Rev: 0116
Type: Direct-Access ANSI SCSI
revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 04
Vendor: HITACHI Model: OPEN-E*2 Rev: 0116
Type: Direct-Access ANSI SCSI
revision: 02
cat /proc/partition
major minor #blocks name rio rmerge rsect ruse
wio wmerge wsect wuse running use aveq
8 0 35548160 sda 4426 7059 90710 33350 4064
4259 66776 78920 0 36970 112310
8 1 5168614 sda1 4135 6674 86466 30360 2569
3334 47464 57210 0 30850 87600
8 2 23554944 sda2 268 299 3978 2880 1491 922
19280 21680 0 14080 24560
8 3 2096262 sda3 3 0 24 30 0 0 0 0 0 30 30 8 4 1 sda4 0 0 0 0 0 0 0 0 0 0 0 8 5 4720558 sda5 18 80 226 60 4 3 32 40 0 90 100 8 16 56905920 sdb 1 3 8 0 0 0 0 0 0 0 0 8 17 56902198 sdb1 0 0 0 0 0 0 0 0 0 0 0 8 32 56905920 sdc 1 3 8 0 0 0 0 0 0 0 0 8 33 2097136 sdc1 0 0 0 0 0 0 0 0 0 0 0 8 48 512153280 sdd 1 3 8 0 0 0 0 0 0 0 0 8 49 512152168 sdd1 0 0 0 0 0 0 0 0 0 0 0 8 64 256076640 sde 1 3 8 0 0 0 0 0 0 0 0 8 65 51207156 sde1 0 0 0 0 0 0 0 0 0 0 0 8 80 28452960 sdf 1 3 8 0 0 0 0 0 0 0 0 8 81 28452848 sdf1 0 0 0 0 0 0 0 0 0 0 0
3 0 653856 hda 1 3 16 30 0 0 0 0 -1145
643450 13929193
Quoted 187 lines · --- Michael Clark
Did you try
BLIST_SPARSELUNon the Hitachi devices?Also, your devices are reporting as SCSI level 2 so no scanning will be done past lun 7 (This is only done for SCSI-3 devices). There is a patch floating around that adds
BLIST_LARGELUN
to make the scanning code treat these devices as SCSI-3 (255 luns)~mc
Quoted 4 lines · manjuanth n
Dear Michael,
Thanks for the solution, but my problem still remains unresolved. I added the following lines
to
Quoted 4 lines
scsi_scan.cand recompiled
{"IBM", "AvSaV1S2", "*",BLIST_FORCELUN|BLIST_SPARSELUN},{"HITACHI", "OPEN E*4", "*",
BLIST_FORCELUN},Quoted 1 line
{"HITACHI", "OPEN E*18", "*",
BLIST_FORCELUN},Quoted 1 line
{"HITACHI", "OPEN E*8", "*",
BLIST_FORCELUN},Quoted 1 line
{"HITACHI", "OPEN E*36", "*",
BLIST_FORCELUN},Quoted 9 lines
{"HITACHI", "DF400", "*", BLIST_FORCELUN}, {"HITACHI", "DF500", "*", BLIST_FORCELUN}, {"HITACHI", "DF600", "*", BLIST_FORCELUN},the out put of the scsi venders are as follows cat
/proc/scsi/scsi
Attached devices:
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: IBM Model: SERVERAID Rev:1.0
Quoted 1 line
Type: Direct-Access ANSI
SCSI
Quoted 3 lines
revision: 01
Host: scsi2 Channel: 00 Id: 15 Lun: 00
Vendor: IBM Model: SERVERAID Rev:1.0
Quoted 1 line
Type: Processor ANSI
SCSI
Quoted 4 lines
revision: 01
Host: scsi2 Channel: 01 Id: 08 Lun: 00
Vendor: IBM Model: AuSaV1S2 Rev: 0
Type: Processor ANSISCSI
Quoted 3 lines
revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: HITACHI Model: OPEN-E*4 Rev:0116
Quoted 1 line
Type: Processor ANSI
SCSI
Quoted 9 lines
revision: 02
If u can help me out where i am doing the mistake
it will be of great help.
plfind the enclosedscsi_scan.cfile. Is there any method or commands to find outBLIST_FORCELUNis enabled?Quoted 12 lines
Thanks and regards
ManjunathQuoted 5 lines · --- Michael Clark
2.4.18 needs a hint added to
drivers/scsi/scsi_scan.c
to allow it to scan targets with sparse luns.Look in
/proc/scsi/scsifor the vendor and modeland
Quoted 7 lines
Quoted 7 lines
add them into the
device_listarray inscsi_scan.c...
{"<VENDOR>", "<MODEL>", "*",BLIST_SPARSELUN},If you don't configure lun 0, you may have to use
BLIST_FORCELUNwhich if my understanding iscorrect
Quoted 6 lines
Quoted 6 lines
will force scanning of all luns.
I hear there is some
REPORT_LUNScode that will eliminate the need to do this, although don't know which kernel has it.Quoted 8 lines
Quoted 8 lines
~mc
Quoted 2 lines · manjuanth n
Dear sir,
we have SAN environment with hitachi storagebox
Quoted 11 lines
Quoted 11 lines
Quoted 3 lines
and brocade switch. we are trying to install
Linux
Quoted 5 lines
with qlogic HBA card. we are facing strange
problems
1. If we disable LUN 0 we will not be able toQuoted 5 lines
Quoted 5 lines
see
Quoted 2 lines
any LUNs on liunx machine
2. If we enable LUN 0 we can see all theLUNS
Quoted 32 lines
Quoted 32 lines
Quoted 4 lines
but it should be in sequence i.e LUN0 ,1,2 , 3
etc
Quoted 3 lines
if we disable LUN 3 we will not be able to see
LUNS
Quoted 10 lines
4 and the rest
Is the above things are limitation of linux.
Linux machine is running with 2.4.18 kernelIs there any solutions for these problems?
Thanks and Regards
Manjuanth__________________________________________________
Quoted 7 lines
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
-
To unsubscribe from this list: send the lineQuoted 4 lines
Quoted 4 lines
"unsubscribe linux-kernel" in
Quoted 1 line
the body of a message to
Quoted 15 lines
Quoted 13 lines
Quoted 3 lines
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 5 lines
Please read the FAQ at http://www.tux.org/lkml/
Quoted 5 lines
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com------------------------------------------------------------------------
Quoted 7 lines
/*
*scsi_scan.cCopyright (C) 2000 Eric Youngdale *
* Bus scan logic.
*
* This used to live inscsi.c, but that file was
Quoted 17 lines
just a laundry basket
Quoted 1 line
* full of misc stuff. This got separated out in
order to make things
Quoted 13 lines
* clearer.
*/#define
__NO_VERSION__
#include <linux/config.h>
#include <linux/module.h>
#include <linux/init.h>#include <
linux/blk.h>#include "
scsi.h"
#include "hosts.h"
#include "constants.h"
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com