ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

DL380G5 RHEL 5.1 x86_64 2 x HPAE311A does not see LUNs on 2nd HBA

Matthias Link
Occasional Visitor

DL380G5 RHEL 5.1 x86_64 2 x HPAE311A does not see LUNs on 2nd HBA

Hardware: DL380G5, 2 x HPAE311A
OS: RHEL 5.1 x86_64

Zone, Mapping tested and 1st HBA-Path shows 4 LUNs as expected. But on the 2nd HBA-Path there is only LUN 0 visible, though mapping for LUN 1-4 exists on EVA4000 array.

Installed older Version of RHEL (4.6 AS x86_64) and got all my LUNs as expected without changing a single thing in my SAN/Storage config.

This seems to be a general issue with RHEL 5.1 x86_64 and the HPAE311A Driver.

Anyone found a workaround for this?

RHEL 5.1: path 2 shows no LUN 1-4, though EVA-Ports are shown and LUN 0 is visible:

[root@Q4DEG1CO073 ~]# cd /proc/scsi/qla2xxx/
[root@Q4DEG1CO073 qla2xxx]# more 1
QLogic PCI to Fibre Channel Host Adapter for HPAE311A:
Firmware version 4.00.90 [IP] , Driver version 8.01.07.25-fo
BIOS version 1.26
ISP: ISP2432
Request Queue = 0x4e00000, Response Queue = 0xa4e0000
Request Queue count = 4096, Response Queue count = 512
Total number of active commands = 0
Total number of interrupts = 13666
Device queue depth = 0x10
Number of free request entries = 1810
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 0
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0
Number of reqs in failover_q= 0
Host adapter:loop state = , flags = 0x41a43
Dpc flags = 0x4000000
MBX flags = 0x0
Link down Timeout = 008
Port down retry = 030
Login retry count = 030
Commands retried with dropped frame(s) = 0
Product ID = 0000 0000 0000 0000


SCSI Device Information:
scsi-qla0-adapter-node=500110a00016c86b;
scsi-qla0-adapter-port=500110a00016c86a;
scsi-qla0-target-0=50001fe150088868;
scsi-qla0-target-1=50001fe15008886c;
scsi-qla0-target-2=50001fe15009e74d;
scsi-qla0-target-3=50001fe15009e749;

FC Port Information:
scsi-qla0-port-0=50001fe150088860:50001fe150088868:290000:81;
scsi-qla0-port-1=50001fe150088860:50001fe15008886c:290100:82;
scsi-qla0-port-2=50001fe15009e740:50001fe15009e74d:330100:83;
scsi-qla0-port-3=50001fe15009e740:50001fe15009e749:330000:84;
scsi-qla0-port-4=500110a00016c775:500110a00016c774:330200:85;

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.
( 0: 0): Total reqs 3, Pending reqs 0, flags 0x0, Dflags 0x0, 0:0:81 0c
( 0: 1): Total reqs 82, Pending reqs 0, flags 0x2, Dflags 0x0, 1:0:82 00
( 0: 2): Total reqs 83, Pending reqs 0, flags 0x2, Dflags 0x0, 0:0:82 00
( 0: 3): Total reqs 83, Pending reqs 0, flags 0x2, Dflags 0x0, 1:0:82 00
( 0: 4): Total reqs 83, Pending reqs 0, flags 0x2, Dflags 0x0, 0:0:82 00
( 1: 0): Total reqs 3, Pending reqs 0, flags 0x0, Dflags 0x0, 0:0:82 0c
( 2: 0): Total reqs 3, Pending reqs 0, flags 0x0, Dflags 0x0, 0:0:83 0c
( 2: 1): Total reqs 83, Pending reqs 0, flags 0x2, Dflags 0x0, 1:0:83 00
( 2: 2): Total reqs 83, Pending reqs 0, flags 0x2, Dflags 0x0, 0:0:84 00
( 2: 3): Total reqs 83, Pending reqs 0, flags 0x2, Dflags 0x0, 1:0:83 00
( 2: 4): Total reqs 83, Pending reqs 0, flags 0x2, Dflags 0x0, 0:0:84 00
( 3: 0): Total reqs 3, Pending reqs 0, flags 0x0, Dflags 0x0, 0:0:84 0c
[root@Q4DEG1CO073 qla2xxx]# cat 2
QLogic PCI to Fibre Channel Host Adapter for HPAE311A:
Firmware version 4.00.90 [IP] , Driver version 8.01.07.25-fo
BIOS version 1.26
ISP: ISP2432
Request Queue = 0xa200000, Response Queue = 0xa2b0000
Request Queue count = 4096, Response Queue count = 512
Total number of active commands = 0
Total number of interrupts = 13798
Device queue depth = 0x10
Number of free request entries = 1928
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 0
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0
Number of reqs in failover_q= 0
Host adapter:loop state = , flags = 0x41a43
Dpc flags = 0x4000000
MBX flags = 0x0
Link down Timeout = 008
Port down retry = 030
Login retry count = 030
Commands retried with dropped frame(s) = 0
Product ID = 0000 0000 0000 0000


SCSI Device Information:
scsi-qla1-adapter-node=500110a00016c88f;
scsi-qla1-adapter-port=500110a00016c88e;
scsi-qla1-target-0=50001fe150088869;
scsi-qla1-target-2=50001fe15008886d;
scsi-qla1-target-3=50001fe15009e74c;
scsi-qla1-target-5=50001fe15009e748;

FC Port Information:
scsi-qla1-port-0=50001fe150088860:50001fe150088869:280000:81;
scsi-qla1-port-1=50001fe150088860:50001fe15008886d:280100:82;
scsi-qla1-port-2=50001fe15009e740:50001fe15009e74c:320100:83;
scsi-qla1-port-3=50001fe15009e740:50001fe15009e748:320000:84;
scsi-qla1-port-4=500110a00016c875:500110a00016c874:320200:85;

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.
( 0: 0): Total reqs 3, Pending reqs 0, flags 0x0, Dflags 0x0, 1:0:81 0c
( 2: 0): Total reqs 3, Pending reqs 0, flags 0x0, Dflags 0x0, 1:0:82 0c
( 3: 0): Total reqs 3, Pending reqs 0, flags 0x0, Dflags 0x0, 1:0:83 0c
( 5: 0): Total reqs 3, Pending reqs 0, flags 0x0, Dflags 0x0, 1:0:84 0c

---

same config on RHEL 4.6 shows up correctly:

[root@Q4DEG1CO071 qla2xxx]# cat 1
QLogic PCI to Fibre Channel Host Adapter for HPAE311A:
Firmware version 4.00.150 [IP] , Driver version 8.01.07-d4
ISP: ISP2432
Request Queue = 0x12a880000, Response Queue = 0x12a900000
Request Queue count = 4096, Response Queue count = 512
Total number of active commands = 0
Total number of interrupts = 1435
Device queue depth = 0x20
Number of free request entries = 2131
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 0
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0
Host adapter:loop state = , flags = 0x45e03
Dpc flags = 0x4000000
MBX flags = 0x0
Link down Timeout = 008
Port down retry = 016
Login retry count = 016
Commands retried with dropped frame(s) = 0
Product ID = 0000 0000 0000 0000


SCSI Device Information:
scsi-qla0-adapter-node=500110a00016c775;
scsi-qla0-adapter-port=500110a00016c774;
scsi-qla0-target-0=50001fe15009e74d;
scsi-qla0-target-1=50001fe15009e749;
scsi-qla0-target-2=50001fe150088868;
scsi-qla0-target-3=50001fe15008886c;

FC Port Information:
scsi-qla0-port-0=50001fe15009e740:50001fe15009e74d:330100:81;
scsi-qla0-port-1=50001fe15009e740:50001fe15009e749:330000:82;
scsi-qla0-port-2=50001fe150088860:50001fe150088868:290000:83;
scsi-qla0-port-3=50001fe150088860:50001fe15008886c:290100:84;
scsi-qla0-port-4=500110a00016c86b:500110a00016c86a:290300:85;

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.
( 0: 0): Total reqs 3, Pending reqs 0, flags 0x0*, 0:0:81 00
( 0: 1): Total reqs 76, Pending reqs 0, flags 0x0, 0:0:81 00
( 0: 2): Total reqs 73, Pending reqs 0, flags 0x0, 0:0:81 00
( 0: 3): Total reqs 73, Pending reqs 0, flags 0x0, 0:0:81 00
( 0: 4): Total reqs 73, Pending reqs 0, flags 0x0, 0:0:81 00
( 1: 0): Total reqs 3, Pending reqs 0, flags 0x0*, 0:0:82 00
( 1: 1): Total reqs 73, Pending reqs 0, flags 0x0, 0:0:82 00
( 1: 2): Total reqs 73, Pending reqs 0, flags 0x0, 0:0:82 00
( 1: 3): Total reqs 73, Pending reqs 0, flags 0x0, 0:0:82 00
( 1: 4): Total reqs 73, Pending reqs 0, flags 0x0, 0:0:82 00
( 2: 0): Total reqs 3, Pending reqs 0, flags 0x0*, 0:0:83 00
( 2: 1): Total reqs 73, Pending reqs 0, flags 0x0, 0:0:83 00
( 2: 2): Total reqs 73, Pending reqs 0, flags 0x0, 0:0:83 00
( 2: 3): Total reqs 73, Pending reqs 0, flags 0x0, 0:0:83 00
( 2: 4): Total reqs 73, Pending reqs 0, flags 0x0, 0:0:83 00
( 3: 0): Total reqs 3, Pending reqs 0, flags 0x0*, 0:0:84 00
( 3: 1): Total reqs 73, Pending reqs 0, flags 0x0, 0:0:84 00
( 3: 2): Total reqs 73, Pending reqs 0, flags 0x0, 0:0:84 00
( 3: 3): Total reqs 73, Pending reqs 0, flags 0x0, 0:0:84 00
( 3: 4): Total reqs 73, Pending reqs 0, flags 0x0, 0:0:84 00

[root@Q4DEG1CO071 qla2xxx]# cat 2
QLogic PCI to Fibre Channel Host Adapter for HPAE311A:
Firmware version 4.00.150 [IP] , Driver version 8.01.07-d4
ISP: ISP2432
Request Queue = 0x12a700000, Response Queue = 0x12a6e0000
Request Queue count = 4096, Response Queue count = 512
Total number of active commands = 0
Total number of interrupts = 1422
Device queue depth = 0x20
Number of free request entries = 2077
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 0
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0
Host adapter:loop state = , flags = 0x45e03
Dpc flags = 0x4000000
MBX flags = 0x0
Link down Timeout = 008
Port down retry = 016
Login retry count = 016
Commands retried with dropped frame(s) = 0
Product ID = 0000 0000 0000 0000


SCSI Device Information:
scsi-qla1-adapter-node=500110a00016c875;
scsi-qla1-adapter-port=500110a00016c874;
scsi-qla1-target-0=50001fe15009e74c;
scsi-qla1-target-1=50001fe15009e748;
scsi-qla1-target-2=50001fe150088869;
scsi-qla1-target-3=50001fe15008886d;

FC Port Information:
scsi-qla1-port-0=50001fe15009e740:50001fe15009e74c:320100:81;
scsi-qla1-port-1=50001fe15009e740:50001fe15009e748:320000:82;
scsi-qla1-port-2=50001fe150088860:50001fe150088869:280000:83;
scsi-qla1-port-3=50001fe150088860:50001fe15008886d:280100:84;
scsi-qla1-port-4=500110a00016c88f:500110a00016c88e:280900:85;

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.
( 0: 0): Total reqs 3, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0: 1): Total reqs 73, Pending reqs 0, flags 0x0, 1:0:81 00
( 0: 2): Total reqs 73, Pending reqs 0, flags 0x0, 1:0:81 00
( 0: 3): Total reqs 73, Pending reqs 0, flags 0x0, 1:0:81 00
( 0: 4): Total reqs 73, Pending reqs 0, flags 0x0, 1:0:81 00
( 1: 0): Total reqs 3, Pending reqs 0, flags 0x0*, 1:0:82 00
( 1: 1): Total reqs 73, Pending reqs 0, flags 0x0, 1:0:82 00
( 1: 2): Total reqs 73, Pending reqs 0, flags 0x0, 1:0:82 00
( 1: 3): Total reqs 73, Pending reqs 0, flags 0x0, 1:0:82 00
( 1: 4): Total reqs 73, Pending reqs 0, flags 0x0, 1:0:82 00
( 2: 0): Total reqs 3, Pending reqs 0, flags 0x0*, 1:0:83 00
( 2: 1): Total reqs 73, Pending reqs 0, flags 0x0, 1:0:83 00
( 2: 2): Total reqs 73, Pending reqs 0, flags 0x0, 1:0:83 00
( 2: 3): Total reqs 73, Pending reqs 0, flags 0x0, 1:0:83 00
( 2: 4): Total reqs 73, Pending reqs 0, flags 0x0, 1:0:83 00
( 3: 0): Total reqs 3, Pending reqs 0, flags 0x0*, 1:0:84 00
( 3: 1): Total reqs 73, Pending reqs 0, flags 0x0, 1:0:84 00
( 3: 2): Total reqs 73, Pending reqs 0, flags 0x0, 1:0:84 00
( 3: 3): Total reqs 73, Pending reqs 0, flags 0x0, 1:0:84 00
( 3: 4): Total reqs 61, Pending reqs 0, flags 0x0, 1:0:84 00
2 REPLIES
Burba Viktor
Occasional Visitor

Re: DL380G5 RHEL 5.1 x86_64 2 x HPAE311A does not see LUNs on 2nd HBA

Hi Matthias,

it is not an issue of RHEL. It is expected behaviour. It is all about qlogic driver.
There might be native Linux qlogic driver and HP qlogic driver. From your output it si clear that your qlogic module has failover option enabled.
cat /proc/scsi/qla2xxx/0
Driver version 8.01.07.25-fo
Here fo means failover mode is enabled. In case it is enabled you will see LUNs only on one of the fc_hosts (e.g 0) and on all others you will see only controllers' ports (e.g. on 1,2,3). So basically all you want to do to see all LUNs on all fc_hosts is to disable qlogic failover mode.

If you use native qlogic driver:
edit /etc/modprobe.conf.local
add line

options qla2xxx ql2xfailover=0 ConfigRequired=0

Then rebuild your initrd image (mkinitrd) if you load qlogic module onboot and reboot
After that check again /proc/scsi/qla2xx/ you have to see LUNs as you expect also
it will contain Driver version 8.01.07.25 to indicate that failover is disabled.

In case you have HP qlogic driver (install it from SupportPack PSP) use set_param HP utility to disable failover mode. See link:

http://h50146.www5.hp.com/products/software/oe/linux/mainstream/support/doc/optio
n/fibre/pdfs/c00169487-2005may.pdf

Also it is possible to disable failover mode directly from PSP by editing options of installed qlogic driver
Matthias Link
Occasional Visitor

Re: DL380G5 RHEL 5.1 x86_64 2 x HPAE311A does not see LUNs on 2nd HBA

Viktor,

thanks a lot. I did not recognize the failover-availability of that driver. Now I do :-)

Best regards,
Matthias.