Some SAN LUNs not visible with RHEL 5.3

Michal Ludvig mludvig at logix.net.nz
Mon Mar 23 09:55:24 UTC 2009


Hi all,

I've got RHEL5.3 (x86) server with dual-port QLA2342 HBA (kernel module
qla2xx) connected using FibreChannel to HP VA7410 disk array, one HBA
port to each of the two SAN controllers.

I've got three LUNs created on the array:
LUN 0:
  Capacity:       1.0 GB
  RGID:                 1

LUN 1:
  Capacity:     301.4 GB
  RGID:                 1

LUN 2:
  Capacity:     100.0 GB
  RGID:                 2

RGID is a "redundancy group" - RGID 1 is "owned" by the first SAN
controller, RGID 2 by the second ctrlr.

However when I modprobe qla2xxx only LUN0 and LUN1 are attached as disks
(sd). LUN2 is attached as 'scsi' and not accessible as a disk. The
system knows that it exists, because there is an entry in
/sys/class/scsi_device/ but is no accessible as a block device.

This is the relevant 'dmesg' output:

QLogic Fibre Channel HBA Driver
ACPI: PCI Interrupt 0000:02:02.0[A] -> GSI 35 (level, low) -> IRQ 74
qla2xxx 0000:02:02.0: Found an ISP2312, irq 74, iobase 0xd0040000
qla2xxx 0000:02:02.0: LIP reset occured (f82b).
scsi1 : qla2xxx
qla2xxx 0000:02:02.0: LIP occured (f82b).
qla2xxx 0000:02:02.0: LOOP UP detected (2 Gbps).
qla2xxx 0000:02:02.0:
 QLogic Fibre Channel HBA Driver: 8.02.00.06.05.03-k
  QLogic QLA2342 - 133MHz PCI-X to 2Gb FC, Dual Channel
  ISP2312: PCI (66 MHz) @ 0000:02:02.0 hdma-, host#=1, fw=3.03.26 IPX
ACPI: PCI Interrupt 0000:02:02.1[B] -> GSI 34 (level, low) -> IRQ 82
qla2xxx 0000:02:02.1: Found an ISP2312, irq 82, iobase 0xd0042000
qla2xxx 0000:02:02.1: LIP reset occured (f827).
scsi2 : qla2xxx
qla2xxx 0000:02:02.1: LIP occured (f827).
qla2xxx 0000:02:02.1: LOOP UP detected (2 Gbps).
qla2xxx 0000:02:02.1:
 QLogic Fibre Channel HBA Driver: 8.02.00.06.05.03-k
  QLogic QLA2342 - 133MHz PCI-X to 2Gb FC, Dual Channel
  ISP2312: PCI (66 MHz) @ 0000:02:02.1 hdma-, host#=2, fw=3.03.26 IPX
  Vendor: HP        Model: A6218A            Rev: A140
  Type:   Direct-Access                      ANSI SCSI revision: 03
  Vendor: HP        Model: A6218A            Rev: A140
  Type:   Direct-Access                      ANSI SCSI revision: 03
SCSI device sdb: 2097152 512-byte hdwr sectors (1074 MB)
sdb: Write Protect is off
sdb: Mode Sense: af 00 10 08
SCSI device sdb: drive cache: write back w/ FUA
 sdb: unknown partition table
sd 2:0:0:0: Attached scsi disk sdb
  Vendor: HP        Model: A6218A            Rev: A140
  Type:   Direct-Access                      ANSI SCSI revision: 03
SCSI device sdc: 632164352 512-byte hdwr sectors (323668 MB)
sdc: Write Protect is off
sdc: Mode Sense: af 00 10 08
SCSI device sdc: drive cache: write back w/ FUA
 sdc: sdc1
sd 2:0:0:1: Attached scsi disk sdc
  Vendor: HP        Model: A6218A            Rev: A140
  Type:   Direct-Access                      ANSI SCSI revision: 03
kjournald starting.  Commit interval 5 seconds
[... and then, later on, when modules are loaded ...]
scsi 1:0:0:0: Attached scsi generic sg3 type 0
sd 2:0:0:0: Attached scsi generic sg4 type 0
sd 2:0:0:1: Attached scsi generic sg5 type 0
scsi 2:0:0:2: Attached scsi generic sg6 type 0

The last three lins are for LUN0, LUN1 (both accessible - 'sd' type) and
LUN2 (inaccessible - 'scsi' type).

I tried all ports on the array as well as swapped the cables on HBA, so
a HW problem of this type is unlikely.

Any ideas what's wrong?

Thanks!

Michal




More information about the redhat-list mailing list