Why the 'mii_status' value is shown as 'down' under /sys filesystem with mode 4 bonding configuration ?
Issue
- Different
MII statusreported forbondxvia/proc/net/bonding/bondxand/sys/class/net/bond0/bonding/mii_statusfilesystem. - Bond devices are working fine, however this different values breaks the HP monitoring tools as they are checking the status via
sysfs.
# cat /sys/class/net/bond0/bonding/mii_status
down <<--
# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)
Bonding Mode: IEEE 802.3ad Dynamic link aggregation <<-- mode 4
Transmit Hash Policy: layer2 (0)
MII Status: up <<---
Environment
- Red Hat Enterprise Linux 6.X
- Bonding Mode: IEEE 802.3ad Dynamic link aggregation or mode 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.