Centos 配置eth0 提示Device does not seem to be present
i. 失败 : [root@c1node01~] #Servicworkreststart Sustting down robback Instface: [OK] 启动回回回回的反面: [OK] 启动接口 eth0 : 设备 ETO似乎不是预发的, 指定启动 。 [FAILED] 解决方案 : [root@c1node01~] #etc/udev/rules.d/persist. net.rues [c1node01] 重新启动@cnode01] @cnode01#news_retwet remot remot remot remot remot remot 2 remot
delaying initialization
解决:#mv/etc/sysconfig/net-scripts/ifffg-eth0
sysconfig/network-scripts/ifcfg-eth1
vim
sysconfig/network-scripts/ifcfg-eth1
更改 DEVICE = "eths0"
DEVICE = "eth1"
可删除 uid, 物理地址
然后尝试重开网卡 并尝试去更深一点 比第一张。
发生故障前操作 :
戴尔的刀片装有半人马6.3的操作系统,网卡识别 em1和em2,并经过改造,刀片已经激活。
错误 :
网络在启动后被禁用,缺失的路径通常通过 IDRAC 登录路径进行检查;
重新启动网络服务:
[root@nodeA ~]# service network restart Shutting down loopback insterface: [ OK ] Bringing up loopback insterface: [ OK ] Bringing up interface em1: Device em1 does not seem to be present,delaying initialization. [FAILED]
问题和解决办法的分析:
我们之前在其它文章中提到70-PLEST-net. 规则文件,
[root@nodeA ~]# vi /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules # program, run by the persistent-net-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single # line, and change only the value of the NAME=key.
# PCI device 0x14e4:0x163a (bnx2) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="24:b6:fd:ab:76:1e", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
# PCI device 0x14e4:0x163a (bnx2) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="24:b6:fd:ab:76:1c", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
发现NAME的名称不正确,上述红色字体中的 eth0 被改为 em1, eth1 改为 em2;
· 记住:卡片的大小由MAC地址大小和MAC卡号越小决定;
如下:
…………
# PCI device 0x14e4:0x163a (bnx2)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="24:b6:fd:ab:76:1e", ATTR{type}=="1", KERNEL=="eth*", NAME="em2"
# PCI device 0x14e4:0x163a (bnx2) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="24:b6:fd:ab:76:1c", ATTR{type}=="1", KERNEL=="eth*", NAME="em1"
保存出口!
[root@nodeA ~]#reboot
………………
注册有任何问题请添加 微信:MVIP619 拉你进入群
打开微信扫一扫
添加客服
进入交流群
1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。