LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to find qlogic NIC card presence?? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-find-qlogic-nic-card-presence-890058/)

austinbravo 07-05-2011 12:34 PM

How to find qlogic NIC card presence??
 
Hi,

We had a problem with the NIC 10Gig Qlogic NICs and had to swap them with Emulex 10Gig NIC cards. The swap has been done. There are several severs (about 100)for which we need to check if the hands-on still left the q logic card in them. So, I wrote a script using dmesg and grepped for "qlogic" or " NC522SFp" and my script checked for all the servers and returned no presence of "qlogic". But few of them have q logic still in them. So, is there any other way through which we can exactly tell whether q logic card is still present or not? I used:

dmesg | grep -i "qlogic" or
dmesg | grep -i " NC522SFp"

and found nothing in the o/p. But when I checked using ifconfig -a, then I see the q logic mac ids for eth4 & eth5, which means the Q logic is still present.But not sure whether ifconfig is the real way to find out the presence of these cards.

Any help would be great!! Thank you

markush 07-05-2011 12:40 PM

Hi,

I'm not sure if ifconfig doesn't show a NIC even if it is no longer there.

I'd recommend to use
Code:

lspci | grep -i qlogiq
note that it would be very helpful for you to have at least one computer with the qlogiq-card in order to find out how the output of for example lspci or dmesg for such card really looks.

Markus


All times are GMT -5. The time now is 02:38 AM.