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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content