Is it possible to know if a LINUX server has a FC card ? If yes what should I search for proably in dmesg ?

link|improve this question
feedback

1 Answer

I usually start with lspci. If you know what type of card you can grep for that:

lspci | grep -i emulex

    13:00.0 Fibre Channel: Emulex Corporation Zephyr-X LightPulse Fibre Channel Host Adapter (rev 02)
    13:00.1 Fibre Channel: Emulex Corporation Zephyr-X LightPulse Fibre Channel Host Adapter (rev 02)

From the output you should be able to work out who made the card then refer to the vendor's support for the correct drivers/firmware.

link|improve this answer
Why not directly grep for it: lspci | grep -i fibre – Fladi Apr 15 '10 at 7:26
Thanks - very helpful . I got a lot of appreciation from my team for this . Is there a method to capture WWN numbers of FC HBA’s ? – Nishant Apr 15 '10 at 8:24
Fladi , yes I did that to find the data . Thanks – Nishant Apr 15 '10 at 8:25
See this kbase article for RedHat derived systems (to get WWN data): kbase.redhat.com/faq/docs/DOC-9937 The sg_utils are very helpful. – davey Apr 15 '10 at 8:50
feedback

Your Answer

 
or
required, but never shown