Getting error on bonding check "ERROR: Couldn't open /sys/class/net/bond0/slave_eth0/operstate: No such file or directory"

Solution Verified - Updated -

Issue

  • When using custom scripts that validate bonding the checks fail because the directory no longer exists
  • Cannot use /sys/class/net/bond0/slave_eth0/operstate to check the status of a bond slave

Environment

  • Red Hat Enterprise Linux 7.3
    • kernel-3.10.0-475.el7

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.