how does one remove bond1?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




Hi List,

We're using bonding to create bond0 with 2 NICs, and noticing that CentOS 5 2.6.18-8.1.14.el5 (and presumably older) creates bond1 as well. 

I'd like to remove bond1 from the system, so that our monitoring scripts don't pick it up, except for those machines that actually do have a bond1. 

So... how does one remove bond1?

Thanks! Misc info below of configuration and what doesn't work.

best,
Jeff


% cat /etc/modprobe.conf | grep bond
alias bond0 bonding
options bond0 max_bonds=2 miimon=100 mode=1

% find /etc/ -iname "*bond1*" | wc -l
0

% grep -r bond1 /etc/ 2> /dev/null | wc -l
0

% cat /sys/class/net/bonding_masters
bond0 bond1 

% echo "bond0" > /sys/class/net/bonding_masters
-bash: echo: write error: Operation not permitted

% id
uid=0(root) gid=0(root)  ...

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux