Operating System - Linux
1826373 Members
4511 Online
109692 Solutions
New Discussion

Re: Seeing new SAN hardware with Linux

 
Andrew Penney
Advisor

Seeing new SAN hardware with Linux

Hi,

I'm currently running Redhat7.3(Advanced) with a qlogic qla2300 HBA connected to a brocade switch then to a VA7400.

I've followed Qlogic's instructions and managed to get the kernel to load the module. Here are the results from /proc/scsi/qla2300/0
cat /proc/scsi/qla2300/0
QLogic PCI to Fibre Channel Host Adapter for ISP23xx:
Firmware version: 3.01.18, Driver version 6.04.01
Entry address = f8824060
HBA: QLA2300 , Serial# D67825
Request Queue = 0x36b14000, Response Queue = 0x36b00000
Request Queue count= 128, Response Queue count= 512
Total number of active commands = 0
Total number of interrupts = 22
Total number of IOCBs (used/max) = (0/600)
Total number of queued commands = 0
Device queue depth = 0x10
Number of free request entries = 123
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 1
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= 0x8a0813
Dpc flags = 0x0
MBX flags = 0x0
SRB Free Count = 4096
Port down retry = 008
Login retry count = 008
Commands retried with dropped frame(s) =0


SCSI Device Information:
scsi-qla0-adapter-node=200000e08b05d19c;
scsi-qla0-adapter-port=210000e08b05d19c;
scsi-qla0-target-0=50060b000012428e;

SCSI LUN Information:
(Id:Lun)
( 0: 0): Total reqs 2, Pending reqs 0, flags 0x0*, 0:0:81,
( 0:31): Total reqs 1, Pending reqs 0, flags 0x0*, 0:0:81,

Here is /proc/scsi/scsi
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: A6189A Rev: HP18
Type: Unknown ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: HP 18.2G Model: ST318452LC Rev: HP02
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 03 Lun: 00
Vendor: HP 18.2G Model: ST318406LC Rev: HP04
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 11 Lun: 00
Vendor: SDR Model: GEM318 Rev: 0
Type: Processor ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 15 Lun: 00
Vendor: SDR Model: GEM318 Rev: 0
Type: Processor ANSI SCSI revision: 02


Now, I think the GEM318 Models are the two LUNs that this server has access to on the SAN. The first would be the config lun, and the second is the data lun that I want to mount.

How do I mount these drives? How do I get the OS to see them?

I've taken away write access to the data lun using the CommandView on the VA7400 then removed the qla2300 module then readded it just to verify that it does disappear from /proc/scsi/qla2300/0 so I know that my secure manager is working.

I have to get this working to prove to the people upstairs that Linux is a viable replacement for Microsoft... please help.

Thanks
Andrew
2 REPLIES 2
benoit Bruckert
Honored Contributor

Re: Seeing new SAN hardware with Linux

Hi ANdrew,
What is the output of dmesg ?
you should have there the name of the disks
(/dev/sda??)
Can you check ?
And tell us the result .
Once you know that , you just have :
mk2fs /dev/sd?
mount /dev/sd?


hth
Benoit
Une application mal pansée aboutit à une usine à gaze (GHG)
Andrew Penney
Advisor

Re: Seeing new SAN hardware with Linux