LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-05-2010, 05:37 AM   #1
dexterlim
LQ Newbie
 
Registered: May 2010
Posts: 2

Rep: Reputation: 0
Verifying Qlogic FC HBA Adapter in Linux ( SUSE Linux)


Hi fellow Gurus of linux world i am just starting out playing with Linux (SUSE)
i would just like to verify that the command

lspci would show the FC adapter installed

is there any other command that i can use to verify the FC adapter is being installed

thanks for your time guys !
 
Old 05-06-2010, 01:52 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,580
Blog Entries: 14

Rep: Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969
lsmod should show you modules information for it the QLA stuff. See /etc/modprobe.conf for configuration of modules.

For one of my RHEL5 servers I have the following in modprobe.conf:
grep -i ql /etc/modprobe.conf
alias scsi_hostadapter1 qla2xxx_conf
alias scsi_hostadapter2 qla2xxx
alias scsi_hostadapter4 qla2400
install qla2xxx /sbin/modprobe qla2xxx_conf; /sbin/modprobe --ignore-install qla2xxx
remove qla2xxx /sbin/modprobe -r --first-time --ignore-remove qla2xxx && { /sbin/modprobe -r --ignore-remove qla2xxx_conf; }
options qla2xxx ql2xfailover=0 ConfigRequired=0

lsmod shows:
lsmod |grep -i ql
qla2400 238336 0
qla2xxx 309536 33 qla2400
qla2xxx_conf 334856 1
intermodule 37508 2 qla2xxx,qla2xxx_conf
scsi_mod 184057 5 emcp,sg,qla2xxx,megaraid_sas,sd_mod

You can also see information for your QLs by listing files/directories under /proc/scsi.
 
Old 05-07-2010, 03:03 AM   #3
dexterlim
LQ Newbie
 
Registered: May 2010
Posts: 2

Original Poster
Rep: Reputation: 0
thanks mensawater ~ for the information you provided it was very helpful thanks a bunch ~ life saver cheers !

 
Old 11-29-2010, 07:09 AM   #4
ladhibi
LQ Newbie
 
Registered: Mar 2009
Posts: 15

Rep: Reputation: 0
Quote:
Originally Posted by dexterlim View Post
thanks mensawater ~ for the information you provided it was very helpful thanks a bunch ~ life saver cheers !

What about the command for listing the WWN of the Qlogic card?

Thank you
 
Old 12-03-2010, 11:26 AM   #5
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,580
Blog Entries: 14

Rep: Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969
Quote:
Originally Posted by ladhibi View Post
What about the command for listing the WWN of the Qlogic card?

Thank you
You really should tag on to old posts. Only those who originally subscribed to it are apt to see it and they may not be around when you post.

Anyway you can see a lot of details about the Qlogic cards under /proc/scsi - There should be a subdirectory like qla2xxx and in that should be an entry for each of your cards (e.g. 0 and 1 for the first 2 cards). If you cat those files you'll port (WWN) information both for the card itself and for what it is connected to.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
qlogic hba earlysame55 Red Hat 2 05-20-2009 10:25 AM
LXer: How To Easily Find The WWN's Of A QLogic HBA On RedHat Linux LXer Syndicated Linux News 0 10-01-2008 04:00 PM
Command to discover new LUNS with QLOGIC HBA mr_mightyman Red Hat 1 10-04-2006 03:03 PM
Qlogic HBA Fibre channel w/ RH7.2 homestead1000 Linux - Hardware 1 09-22-2003 04:54 AM
Problems configuring QLogic QLA2300F HBA on RH 8.0 Sidewindr Linux - Hardware 2 06-30-2003 11:54 PM


All times are GMT -5. The time now is 08:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration