免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2686 | 回复: 3
打印 上一主题 下一主题

取消linux bond的方法! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-08-06 23:15 |只看该作者 |倒序浏览
另外大家关心的一个问题应该是:设置了bond 后如何去掉?

我现在想到的大致步骤是:
1,ifconfig bond0 down
2,vi modprobe.conf

alias eth0 e1000
alias eth1 e1000
#alias bond0 bonding     (注释掉)
#options bond0 miimon=100 mode=1  (注释掉)
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptscsih
alias scsi_hostadapter2 ips
alias usb-controller ohci-hcd

3,vi  /etc/rc.d/rc.local

#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
#ifenslave bond0 eth0 eth1  (注释掉)
然后重启一把。。。

这是我想的取消bond的方法,请大家给个意见,我也试试看

论坛徽章:
0
2 [报告]
发表于 2006-08-06 23:16 |只看该作者
自己顶一下。。。

论坛徽章:
0
3 [报告]
发表于 2006-08-06 23:17 |只看该作者
我试完后,回来再发表意见。。。

[ 本帖最后由 海纳百川123 于 2006-8-6 23:54 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2006-08-22 17:25 |只看该作者
还有一点需要补充:
lsmod 查看bond是否仍然存在,如果还在执行rmmod,重启一把机器就ok了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP