LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Verifying Qlogic FC HBA Adapter in Linux ( SUSE Linux) (https://www.linuxquestions.org/questions/linux-newbie-8/verifying-qlogic-fc-hba-adapter-in-linux-suse-linux-806049/)

dexterlim 05-05-2010 04:37 AM

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 !

MensaWater 05-06-2010 12:52 PM

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.

dexterlim 05-07-2010 02:03 AM

thanks mensawater ~ for the information you provided it was very helpful thanks a bunch ~ life saver cheers !

:)

ladhibi 11-29-2010 06:09 AM

Quote:

Originally Posted by dexterlim (Post 3960067)
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

MensaWater 12-03-2010 10:26 AM

Quote:

Originally Posted by ladhibi (Post 4174512)
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.


All times are GMT -5. The time now is 06:39 PM.