Operating System - Linux
1753454 Members
6284 Online
108794 Solutions
New Discussion юеВ

Linux HBA Commands (includinf WWN information)

 
Md. Minhaz Khan
Super Advisor

Linux HBA Commands (includinf WWN information)

Looking for any commands that would allow me to see HBA Information in Linux - Qlogic HBAs

Give me as many as you can please -

Thanks
Minhaz
6 REPLIES 6
Ivan Ferreira
Honored Contributor

Re: Linux HBA Commands (includinf WWN information)

You can use SAN Surver CLI. What information do you need?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor

Re: Linux HBA Commands (includinf WWN information)

Shalom,

Some information

http://filedownloads.qlogic.com/files/driver/56545/readme_qlinstaller.pdf

http://prefetch.net/blog/index.php/2009/05/02/installing-qlogic-drivers-on-centos-linux-hosts/

drivers
http://driverdownloads.qlogic.com/QLogicDriverDownloads_UI/Product_detail.aspx?oemid=264

SEP
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
Court Campbell
Honored Contributor

Re: Linux HBA Commands (includinf WWN information)

cat /proc/scsi/qlaxxx/

Once you drill into /proc/scsi you'll understand it.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Bharath_Pingali
Trusted Contributor

Re: Linux HBA Commands (includinf WWN information)

Minhaz,

If you are running HP branded Qlogic cards, HP has fiber utils for linux that displays HBA, Lun and other important information.

http://h20000.www2.hp.com/bizsupport/TechSupport/DriverDownload.jsp?prodNameId=3662827тМй=en&cc=us&prodTypeId=12169&prodSeriesId=3662826&taskId=135

Download the HBA driver kit and install the fibre utils rpm alone.

# adapter_info -a
# lssd
# lssg

more info here - page 43

http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c01672721/c01672721.pdf

You can also use SANsurfer HBA Mgt. GUI interface


Hope this helps.

-Thank You
Bharath
Md. Minhaz Khan
Super Advisor

Re: Linux HBA Commands (includinf WWN information)

Can anyone help me which Linux command is similar to below HP-UX commands, We are using RHEL 4 and Our server is:DELL PE 2950

Thanks
Minhaz


# ioscan -funC fc---->
Class I H/W Path Driver S/W State H/W Type Description
=================================================================
fc 0 0/4/1/0 fcd CLAIMED INTERFACE HP AB379-60101 4Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)
/dev/fcd0
fc 1 0/4/1/1 fcd CLAIMED INTERFACE HP AB379-60101 4Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 2)
/dev/fcd1

# fcmsutil /dev/fcd0---->

Vendor ID is = 0x001077
Device ID is = 0x002422
PCI Sub-system Vendor ID is = 0x00103c
PCI Sub-system ID is = 0x0012d7
PCI Mode = PCI-X 133 MHz
ISP Code version = 4.0.85
ISP Chip version = 3
Previous Topology = UNINITIALIZED
Link Speed = UNKNOWN
Local N_Port_id is = None
Previous N_Port_id is = None
N_Port Node World Wide Name = 0x50060b00006a1dd9---------->
N_Port Port World Wide Name = 0x50060b00006a1dd8
Switch Port World Wide Name = 0x0000000000000000
Switch Node World Wide Name = 0x0000000000000000
Driver state = AWAITING_LINK_UP
Hardware Path is = 0/4/1/0
Maximum Frame Size = 2048
Driver-Firmware Dump Available = NO
Driver-Firmware Dump Timestamp = N/A
Court Campbell
Honored Contributor

Re: Linux HBA Commands (includinf WWN information)

There is no built in command. The usual way outside of any 3rd party products is to cat /proc/scsi/qlaxxx/. I think you are over complicating this.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"