Operating System - Linux
1829571 Members
1455 Online
109992 Solutions
New Discussion

Multiple LUNs on RedHat ES4

 
JonasB
Occasional Advisor

Multiple LUNs on RedHat ES4

Hello,

I have a FC1243 (QLA2422) in a DL380 connected to a Nexsan storage device.

I downloaded hp_qla2x00src-8.01.03p5-21.linux.rpm and can now see the storage. But see multiple disks on all dvices.

How can I fix this?
6 REPLIES 6
Patrick Terlisten
Honored Contributor

Re: Multiple LUNs on RedHat ES4

Hello Jonas,

did yor create a logical drive on you storage? Please post you /proc/scsi/scsi.

Regards,
Patrick
Best regards,
Patrick
JonasB
Occasional Advisor

Re: Multiple LUNs on RedHat ES4

Yes I have created logical drives.

[root@localhost ~]# cat /proc/scsi/scsi
Attached devices:
[root@localhost ~]# cat /proc/scsi/qla2xxx/0
QLogic PCI to Fibre Channel Host Adapter for HP AE369-60001:
Firmware version 4.00.12 [IP] , Driver version 8.01.03-p5
ISP: ISP2422, Serial# E77404
Request Queue = 0x7cd00000, Response Queue = 0x7cd80000
Request Queue count = 4096, Response Queue count = 512
Total number of active commands = 0
Total number of interrupts = 25357
Device queue depth = 0x10
Number of free request entries = 4093
Number of mailbox timeouts = 0
Number of ISP aborts = 1
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 = 0x1e03
Dpc flags = 0x4000000
MBX flags = 0x0
Link down Timeout = 008
Port down retry = 064
Login retry count = 016
Commands retried with dropped frame(s) = 0
Product ID = 0000 0000 0000 0000


SCSI Device Information:
scsi-qla0-adapter-node=50060b0000a7dc49;
scsi-qla0-adapter-port=50060b0000a7dc48;
scsi-qla0-target-0=5000402101fc1684;

FC Port Information:
scsi-qla0-port-0=2001000402fc1684:5000402101fc1684:0000e8:0;

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.
( 0: 0): Total reqs 4, Pending reqs 0, flags 0x0, 0:0:00 00
( 0: 1): Total reqs 0, Pending reqs 0, flags 0x0*, 0:0:00 00
( 0: 2): Total reqs 0, Pending reqs 0, flags 0x0*, 0:0:00 00
( 0: 3): Total reqs 0, Pending reqs 0, flags 0x0*, 0:0:00 00
( 0: 4): Total reqs 0, Pending reqs 0, flags 0x0*, 0:0:00 00
( 0: 5): Total reqs 0, Pending reqs 0, flags 0x0*, 0:0:00 00
( 0: 6): Total reqs 0, Pending reqs 0, flags 0x0*, 0:0:00 00
( 0: 7): Total reqs 0, Pending reqs 0, flags 0x0*, 0:0:00 00
[root@localhost ~]#
JonasB
Occasional Advisor

Re: Multiple LUNs on RedHat ES4

Sorry here are the /proc/scsi/scsi

[root@localhost ~]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: NEXSAN Model: SATABeast Rev: Ck51
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi0 Channel: 00 Id: 00 Lun: 01
Vendor: NEXSAN Model: SATABeast Rev: Ck51
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi0 Channel: 00 Id: 00 Lun: 02
Vendor: NEXSAN Model: SATABeast Rev: Ck51
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi0 Channel: 00 Id: 00 Lun: 03
Vendor: NEXSAN Model: SATABeast Rev: Ck51
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi0 Channel: 00 Id: 00 Lun: 04
Vendor: NEXSAN Model: SATABeast Rev: Ck51
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi0 Channel: 00 Id: 00 Lun: 05
Vendor: NEXSAN Model: SATABeast Rev: Ck51
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi0 Channel: 00 Id: 00 Lun: 06
Vendor: NEXSAN Model: SATABeast Rev: Ck51
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi0 Channel: 00 Id: 00 Lun: 07
Vendor: NEXSAN Model: SATABeast Rev: Ck51
Type: Direct-Access ANSI SCSI revision: 05
[root@localhost ~]#
Patrick Terlisten
Honored Contributor

Re: Multiple LUNs on RedHat ES4

Hello Jonas,

how many LUNs did you configure? I took a shot view on the Nexans Homepage, but I can't find any handbook or another piece of documentation. But I found that:

Build RAID sets (and set RAID level and stripe size), partition RAID sets into Volumes, map Volumes to LUNs and Host Ports, and manage Spares.

This can be done with the NexScan GUI.

Regards,
Patrick
Best regards,
Patrick
Robert Walker_8
Valued Contributor

Re: Multiple LUNs on RedHat ES4

Gday,

we have a similar problem with EMC Clariion SAN (CX700) it presents 4 luns for each drive. 1 for each path - as there are 4 logical paths over 2 fibre cables and 2 HBAs - thus we have to use device names rather than LABELS and even then the devices move about.

UDEV may be a way of solving it but we havent got there yet!

Was hoping to see some info to help us!

Robert.
JonasB
Occasional Advisor

Re: Multiple LUNs on RedHat ES4

My problem is solved. There really wasn't a problem. The Nexsan device auto created 8 logical volumes for me. And I was sure it only was 4 logical devices it created.
Thanks for you time!