Re: Centos 7 - "Device eth1 does not seem to be present, delaying initialization".

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



On 10/21/2015 01:20 AM, Rafał Radecki wrote:
I have three servers, all with centos 7 installed 3 days ago. I need on
them "old" naming scheme (ethX) for network interfaces, because of that:

# grep GRUB_CMDLINE_LINUX /etc/sysconfig/grub
GRUB_CMDLINE_LINUX="rd.lvm.lv=centos_node-XY/swap rd.lvm.lv=centos_node-XY/root
rhgb quiet ipv6.disable=1 net.ifnames=0"

If you set net.ifnames=0 and still have trouble with names, then you're probably fighting with biosdevname, which you should also disable.

Yes, there are two subsystems that rename ethernet interfaces.  It's gross.

Add "biosdevname=0" to your kernel args, and the udev rules shouldn't be necessary.

If you decide to keep the systems as they are, you should probably reboot several times to make sure the problem is actually fixed. It was intermittent before, and it may still be present.

Otherwise, you can configure dracut to always include a file by creating /etc/dracut.conf.d/persistent-net.conf with one line:

install_items+="/etc/udev/rules.d/70-persistent-net.rules"
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://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