Disk Enclosures
1752591 Members
3219 Online
108788 Solutions
New Discussion юеВ

No Lun's available from SAN

 
Vreriks Marcel
Frequent Advisor

No Lun's available from SAN

Hello,

I try to connect a symmetrix DMX3 to a Linux Redhat E.S. 5.1
I must do something with scli (SANsurfer FC CLI) to attached the define LUN of the SAN to Linux. But what I tried there are no New LUN's available. See last line of the cat /proc/scsi/qla2xxx/*

I have two HP STorageWorks FC1142SR HBA card in the HP DL385G2 system running
uname -a
Linux db1014 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux


[root@db1014 boot]# cat /proc/scsi/qla2xxx/0
QLogic PCI to Fibre Channel Host Adapter for HPAE311A:
Firmware version 4.00.90 [IP] , Driver version 8.01.07.25
BIOS version 1.26
ISP: ISP2432
Request Queue = 0x22e580000, Response Queue = 0x22e600000
Request Queue count = 4096, Response Queue count = 512
Total number of active commands = 0
Total number of interrupts = 4404
Device queue depth = 0x10
Number of free request entries = 4086
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 = 0x41a43
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=5001438000c409cd;
scsi-qla0-adapter-port=5001438000c409cc;
scsi-qla0-target-0=5006048452a6b197;

FC Port Information:
scsi-qla0-port-0=5006048452a6b197:5006048452a6b197:0a1c00:81;

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.

May be my binding isn't correct?

Greeting Marcel Vreriks
5 REPLIES 5
Rob Leadbeater
Honored Contributor

Re: No Lun's available from SAN

Hi,

Do you see any reference to the LUNs in the output of "dmesg" ?

If not, then either your binding isn't correct as you've guessed, or possibly your zoning isn't right.

Cheers,

Rob
Vreriks Marcel
Frequent Advisor

Re: No Lun's available from SAN

Hello Rob,

How to bind?
The zonering is oke! I can see the WWN of the hba's and put them in a zone with the symmetrix DMX3. From the Linux system I see the symm. See output scli -t 0:

[root@db1014 emcgrab]# scli -t 0
------------------------------------------------------------------------------
HBA 0: HPAE311A Port 1 WWPN 50-01-43-80-00-C4-09-CC Port ID 0A-08-00
------------------------------------------------------------------------------
Path : 0
Target : 0
Device ID : 0x81
Product Vendor : EMC
Product ID : SYMMETRIX
Product Revision : 5771
Serial Number : 5771
Node Name : 50-06-04-84-52-A6-B1-97
Port Name : 50-06-04-84-52-A6-B1-97
Port ID : 0A-1C-00
Product Type : Raid
Number of LUN(s) : 0
Status : Online

So I think it is the binding.
I did scli -p all bind all.
modprobe -v qla2xxx_conf and a mkinitrd to make a new ramdisk and reboot the system.
mkinitrd -f initrd-2.6.18-53.el5.img 2.6.18-53.el5
Have you any idea's?

Marcel
Vreriks Marcel
Frequent Advisor

Re: No Lun's available from SAN

result scan:
[root@db1014 /]# /home/arno/ql-dynamic-tgt-lun-disc-2.3/ql-dynamic-tgt-lun-disc.sh
Please make sure there is no active I/O before running this script
Do you want to continue: (yes/no)? y
Scanning HOST: host0
.............
No devices attached to HOST: host0
Scanning HOST: host1
.............
No devices attached to HOST: host1
No changes discovered in existing devices.
[root@db1014 /]#
Vreriks Marcel
Frequent Advisor

Re: No Lun's available from SAN

[root@db1014 /]# /home/arno/ql-dynamic-tgt-lun-disc-2.3/ql-dynamic-tgt-lun-disc.sh
Please make sure there is no active I/O before running this script
Do you want to continue: (yes/no)? y
Scanning HOST: host0
.............
No devices attached to HOST: host0
Scanning HOST: host1
.............
No devices attached to HOST: host1
No changes discovered in existing devices.
[root@db1014 /]#
[root@db1014 hp_fibreutils]# hp_rescan -a
Sending rescan signal to /proc/scsi/qla2xxx/0...
Sending rescan signal to /proc/scsi/qla2xxx/1...
Adding legacy tape devices to /proc/scsi/device_info
Scanning /proc/scsi/qla2xxx/0, target 0, LUN 32
Scanning /proc/scsi/qla2xxx/1, target 0, LUN 32

Rob Leadbeater
Honored Contributor

Re: No Lun's available from SAN

Hi,

I've no idea... I'll guess you'll probably have to speak to EMC to work out why things aren't being seen.

Cheers,

Rob