Operating System - Linux
1748246 Members
3056 Online
108760 Solutions
New Discussion юеВ

Re: How to view the HBA cards in linux (redhat)

 
SOLVED
Go to solution
Michael Steele_2
Honored Contributor

Re: How to view the HBA cards in linux (redhat)

Hi

This was the correction that SEP was pointing out to me. 'lspci' as a command, /proc/scsi/ to check the kernel. I.e.,

HBA is a QLogic with model # qla#####

In /proc/scsi you would check for ...

cat /proc/scsi/qla#####
Support Fatherhood - Stop Family Law
Matti_Kurkela
Honored Contributor

Re: How to view the HBA cards in linux (redhat)

Michael: As was already mentioned, in RHEL 5 the FC information has been moved to /sys filesystem, and /proc/scsi/qla2xxx contains so little information that it's useless.

senthil_kumar:
1) Yes, the cards can be detected on the bus, so the physical connection is fine.

2) Yes, the qla2xxx driver has automatically been loaded and is using the various SCSI-layer service modules. Looks good.

> 3) So I believe host2, host3, host4 and host5 are Qlogic FC and host0 & host1 are local SCSI ports available in mother board, Am I correct?

Yes, that's true.

Both /sys/class/fc_host/hostX and the equivalent /sys/class/scsi_host/hostX refer to the same FC port.

> 4)So as per above outputs my Qlogic FC card has been detected and I can use them in SAN network with out installing any drivers further, am i correct?

Yes, looks like it.

> 5)The purpose of "Fibre Channel Enablement Kit" is to see available FC controllers and rescan the FC controller to check for new LUNs with out restarting the linux, am i correct?

Yes... but rescanning the controllers is possible even without the Fibre Channel Enablement Kit, but the procedure is slightly more difficult.

See RedHat Online Storage Reconfiguration Guide:

https://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/html/Online_Storage_Reconfiguration_Guide/index.html

MK
MK
senthil_kumar_1
Super Advisor

Re: How to view the HBA cards in linux (redhat)

Hi Michael Steele,

Please refer Jimmy Vance's post.
Michael Steele_2
Honored Contributor

Re: How to view the HBA cards in linux (redhat)

Thanks!
(still learning how to be a hobbyist :-) *)
Support Fatherhood - Stop Family Law
Steven E. Protter
Exalted Contributor

Re: How to view the HBA cards in linux (redhat)

Shalom again Sentil,

PSP
Proliant Service Pack

It is a set of tools available for Proliant Servers that make managing the systems, especially fiber attached storage much easier.

There are web based tools, even disk partitioning tools that are a system administrators friend.

On certain Proliant systems with qlogic cards, I have had to install PSP to insure stable access to HBA/Fiber attached storage.

Sorry, I though using G6 servers you knew about PSP. My bad. No points for me please.

SEP
22 Points to Linux Olympus with a penguin on top.

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
hari07
Occasional Collector

Re: TO FIND HBA FIRMWARE VERSION SEE BELOW

2. systool -c scsi_host -v gives the serial number (if available), firmware, and other information of HBAs. For example:

# systool -c scsi_host -v
Class = тАЬscsi_hostтАЭ

Class Device = тАЬhost0тА│
Class Device path = тАЬ/sys/class/scsi_host/host0тА│
84xx_fw_version = тАЬтАЭ
beacon = тАЬDisabledтАЭ
cmd_per_lun = тАЬ3тА│
driver_version = тАЬ8.03.01.04.05.05-kтАЭ
fabric_param = тАЬ1280тА│
flash_block_size = тАЬ0├Ч10000тА│
fw_state = тАЬ0├Ч3 0├Ч3 0xb100 0├Ч0 0├Ч4тА│
fw_version = тАЬ4.04.09 (85)тАЭ
host_busy = тАЬ0тА│
isp_id = тАЬ0000 0000 0000 0000тА│
isp_name = тАЬISP2532тА│
max_npiv_vports = тАЬ255тА│
model_desc = тАЬHP 8Gb Single Channel PCI-e 2.0 FC HBAтАЭ
model_name = тАЬHPAK344AтАЭ
mpi_version = тАЬтАЭ
npiv_vports_inuse = тАЬ0тА│
optrom_bios_version = тАЬ2.12тА│
optrom_efi_version = тАЬ2.05тА│
optrom_fcode_version= тАЬ2.03тА│
optrom_fw_version = тАЬ4.04.04 128тА│
pci_info = тАЬPCIe (5.0Gb/s x4)тАЭ
phy_version = тАЬтАЭ
proc_name = тАЬтАЭ
scan =
serial_num = тАЬтАЭ
sg_tablesize = тАЬ255тА│
state = тАЬLink Up тАУ F_PortтАЭ
total_isp_aborts = тАЬ0тА│
uevent =
unchecked_isa_dma = тАЬ0тА│
unique_id = тАЬ0тА│
vlan_id = тАЬтАЭ
vn_port_mac_address = тАЬтАЭ
vport_create =
vport_delete =
zio_timer = тАЬ200 usтАЭ
zio = тАЬDisabledтАЭ

 

ref : http://www.doxer.org/learn-linux/resolved-linux-check-qlogicemulex-hba-firmware-version-and-model-na...

Dinakar16
Occasional Visitor

Re: TO FIND HBA FIRMWARE VERSION SEE BELOW

hi,

 

Try below command

 

#dmesg | grep -i fibre