Why one of the slave interface Link is flapping continuosly in bonding ?
Environment
- Red Hat Enterprise Linux 6.4
- bonding configured
Issue
- Link Failure Count is too high.
- Link down messages like below are seen in logs.
Jul 24 09:24:41 HOSTNAME kernel: bonding: bond0: link status definitely down for interface eth1, disabling it
Jul 24 09:24:41 HOSTNAME kernel: bnx2x 0000:04:00.1: eth1: NIC Link is Up, 10000 Mbps full duplex, Flow control: ON - receive & transmit
Jul 24 09:24:41 HOSTNAME kernel: bond0: link status definitely up for interface eth1, 10000 Mbps full duplex.
Jul 24 09:28:05 HOSTNAME kernel: bnx2x 0000:04:00.1: eth1: NIC Link is Down
Jul 24 09:28:06 HOSTNAME kernel: bonding: bond0: link status definitely down for interface eth1, disabling it
Jul 24 09:28:06 HOSTNAME kernel: bnx2x 0000:04:00.1: eth1: NIC Link is Up, 10000 Mbps full duplex, Flow control: ON - receive & transmit
Jul 24 09:28:06 HOSTNAME kernel: bond0: link status definitely up for interface eth1, 10000 Mbps full duplex.
Jul 24 09:39:57 HOSTNAME screxd: INFO: COMMAND=grep -i definit /var/log/messages| grep Jul | grep 24
Jul 24 09:41:31 HOSTNAME kernel: bnx2x 0000:04:00.1: eth1: NIC Link is Down
Jul 24 09:41:31 HOSTNAME kernel: bonding: bond0: link status definitely down for interface eth1, disabling it
Jul 24 09:41:32 HOSTNAME kernel: bnx2x 0000:04:00.1: eth1: NIC Link is Up, 10000 Mbps full duplex, Flow control: ON - receive & transmit
Jul 24 09:41:32 HOSTNAME kernel: bond0: link status definitely up for interface eth1, 10000 Mbps full duplex.
Jul 24 09:43:17 HOSTNAME OpenSM[8302]: /tmp/ibdiagnet_ibis.log log file opened
Jul 24 09:48:35 HOSTNAME kernel: bnx2x 0000:04:00.1: eth1: NIC Link is Down
Jul 24 09:48:35 HOSTNAME kernel: bonding: bond0: link status definitely down for interface eth1, disabling it
Jul 24 09:48:36 HOSTNAME kernel: bnx2x 0000:04:00.1: eth1: NIC Link is Up, 10000 Mbps full duplex, Flow control: ON - receive & transmit
Resolution
- Updated the firmware of the server which resolved the link flapping issue.
- Faulty NIC/cable can also cause such flapping issue.
Root Cause
- Issue with NIC firmware.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
