HPE EVA Storage
1823391 Members
2482 Online
109654 Solutions
New Discussion юеВ

Map Redhat 2.1 devices to MAS 1500 Lun with qla2312 HBA

 
Kenneth Dahl
New Member

Map Redhat 2.1 devices to MAS 1500 Lun with qla2312 HBA

Hi,

I can't map the Lun on the MSA 1500 SAN to the devices on the /dev folder. There are some devices called sgb-p linked to sg0-15.

I have checked the /proc/scsi/qla2300/2 file:

QLogic PCI to Fibre Channel Host Adapter for QLA2340 :
Firmware version: 3.03.01, Driver version 7.01.01-fo
Entry address = f8893060
HBA: QLA2312 , Serial# F27309
Request Queue = 0x390000, Response Queue = 0x10000
Request Queue count= 512, Response Queue count= 512
Total number of active commands = 0
Total number of interrupts = 12
Total number of IOCBs (used/max) = (0/600)
Total number of queued commands = 0
Device queue depth = 0x10
Number of free request entries = 510
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= 0x860833
Dpc flags = 0x40
MBX flags = 0x0
SRB Free Count = 4096
Link down Timeout = 008
Port down retry = 003
Login retry count = 016
Commands retried with dropped frame(s) = 0
Configured characteristic impedence: 50 ohms
Configured data rate: 1-2 Gb/sec auto-negotiate


SCSI Device Information:
scsi-qla0-adapter-node=200000e08b88cd0b;
scsi-qla0-adapter-port=210000e08b88cd0b;
scsi-qla0-target-0=500508b30090dc41;

FC Port Information:
scsi-qla0-port-0=500508b30090dc40:500508b30090dc41;

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


3 REPLIES 3
Ivan Ferreira
Honored Contributor

Re: Map Redhat 2.1 devices to MAS 1500 Lun with qla2312 HBA

Have you restarted the server after creating the LUN? Is SPP enabled? Is the lun presented to the host? What is the output of fdisk -l.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Kenneth Dahl
New Member

Re: Map Redhat 2.1 devices to MAS 1500 Lun with qla2312 HBA

Yes I have.
I tried to block the connection in the Fiber switch, and reboot the server. Then the last part of the file was empty, so the driver Recognize the LUN.

The fdisk -l shows;

[root@dkfs3lx root]# fdisk -l

Disk /dev/hdc: 255 heads, 63 sectors, 4863 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 13 104391 83 Linux
/dev/hdc2 14 274 2096482+ 82 Linux swap
/dev/hdc3 275 4863 36861142+ 83 Linux

The qla2300 driver has created a set of devices in the /dev folder.
Ivan Ferreira
Honored Contributor

Re: Map Redhat 2.1 devices to MAS 1500 Lun with qla2312 HBA

Can you see the connections in the MSA1500 for the Linux HBA?. What is the status of the link?

I would install fibreutils and sansurfer and check the HBA status/connections with these utilities (SanSurfer seems to not be available for RHEL 2.1).
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?