Operating System - Linux
1820164 Members
3748 Online
109620 Solutions
New Discussion

6GB LUN not detected. while 12GB did.

 
skt_skt
Honored Contributor

6GB LUN not detected. while 12GB did.


2.4.21-53.ELsmp
Red Hat Enterprise Linux AS release 3 (Taroon Update 9)
EMC powermt for PowerPath (c) Version 4.3.3 (build 10)

LUN 4 do not appear in "cat /proc/scsi/scsi"

I see below entries from both /proc/scsi/qla2300/1 and /proc/scsi/qla2300/2.

(Id:Lun) * - indicates lun is not registered with the OS.
( 0: 0): Total reqs 702904, Pending reqs 0, flags 0x0, 1:0:81,
( 0: 1): Total reqs 246530126, Pending reqs 0, flags 0x0, 1:0:81,
( 0: 2): Total reqs 137110564, Pending reqs 0, flags 0x0, 1:0:81,
( 0: 3): Total reqs 6028596, Pending reqs 0, flags 0x0, 1:0:81,
( 0: 4): Total reqs 39, Pending reqs 0, flags 0x0, 1:0:81,
( 0: 5): Total reqs 177, Pending reqs 0, flags 0x0, 1:0:81,
( 1: 0): Total reqs 266210812, Pending reqs 0, flags 0x0, 1:0:82,
( 1: 1): Total reqs 391780, Pending reqs 0, flags 0x0, 1:0:82,
( 1: 2): Total reqs 391910, Pending reqs 0, flags 0x0, 1:0:82,
( 1: 3): Total reqs 391624, Pending reqs 0, flags 0x0, 1:0:82,
( 1: 4): Total reqs 36260, Pending reqs 0, flags 0x0, 1:0:82,
( 1: 5): Total reqs 125, Pending reqs 0, flags 0x0, 1:0:82,

Also i could see the LUN4/emcpowere/6GB in /proc/partitions. LUN5/emcpowerf/12Gb is the second new LUN added for testing as i suspected 6GB is too small to be recognized. emcpowere does not appear in "powermt display dev=all"

#cat /proc/partitions
major minor #blocks name rio rmerge rsect ruse wio wmerge wsect wuse running use aveq

232 0 70696960 emcpowera 341919024 3647325499 1296569110 9373532 185017724 292389240 3610667124 17404208 4294959427 33765424 1705216
232 16 70696960 emcpowerb 250403433 2778549178 1596700274 29941060 252399038 540566295 119017420 40925152 4294963204 34932454 9504763
232 32 70696960 emcpowerc 182629448 1972392507 3228254646 19963800 95705685 162645814 1505912596 14281008 4294967274 15412534 30755749
232 48 41943168 emcpowerd 11580313 82412693 751893754 10349547 318598 3914542 33882784 8844980 29 14564764 29376437
232 64 126941696 emcpowere 60 92 394 280 72570 1889663 4048076 7786410 13 7384157 17774333
232 80 12582912 emcpowerf 70 69 474 290 72577 0 4048076 7785210 4294967294 7395287 31143149

I dont have a minum size mentioned in /etc/modules.conf.

here are the HBA details.

08:01.0 Fibre Channel: QLogic Corp. ISP2312-based 2Gb Fibre Channel to PCI-X HBA (rev 02)
08:02.0 Fibre Channel: QLogic Corp. ISP2312-based 2Gb Fibre Channel to PCI-X HBA (rev 02)

[root@shdbl2p dev]# powermt display dev=emcpowere
Bad dev value emcpowere, or not under Powerpath control.
[root@shdbl2p dev]# powermt display dev=emcpowerf
Pseudo name=emcpowerf
CLARiiON ID=CK20023300084 [shdbl2p]
Logical device ID=60060160AB47170040009D5DCC13DE11 [LUN 90]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 QLogic Fibre Channel 2300 sdr SP B1 active alive 0 0
1 QLogic Fibre Channel 2300 sds SP A1 active alive 0 0
2 QLogic Fibre Channel 2300 sdt SP B0 active alive 0 0
2 QLogic Fibre Channel 2300 sdu SP A0 active alive 0 0

wondering why the 6GB LUN not detected.

Also note that the LUN is getting detected at the OS level as seen below. Even though both reported same /dev/sd* numbers.

# dmesg | grep lun
scsi-qla1: Scheduling SCAN for new luns....
Attached scsi disk sdr at scsi1, channel 0, id 0, lun 4
Attached scsi disk sds at scsi1, channel 0, id 1, lun 4
Attached scsi disk sdt at scsi2, channel 0, id 0, lun 4
Attached scsi disk sdu at scsi2, channel 0, id 1, lun 4
scsi-qla1: Scheduling SCAN for new luns....
scsi-qla2: Scheduling SCAN for new luns....
Attached scsi disk sdr at scsi1, channel 0, id 0, lun 5
Attached scsi disk sds at scsi1, channel 0, id 1, lun 5
Attached scsi disk sdt at scsi2, channel 0, id 0, lun 5
Attached scsi disk sdu at scsi2, channel 0, id 1, lun 5