Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

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.

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.