How to disable fibre channel port via command line in Red Hat Enterprise Linux?

Solution Verified - Updated -

Issue

  • For SAN testing purposes want to create a script to run on a server that will disable or activate a fibre channel port.
  • I have no SAN LUNs attached to a system, can I disable the fiber HBA so I do not see these lookup messages in the logs?

Environment

  • Red Hat Enterprise Linux (RHEL) 4, 5, 6 and 7
  • fiber host bus adapter (HBA)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.