Skip to main content
NetApp Knowledge Base

Mismatch in definitions listed in the /etc/hosts and /etc/rc files

Views:
875
Visibility:
Public
Votes:
1
Category:
data-ontap-7
Specialty:
7dot
Last Updated:

Applies to

  • Data ONTAP 7 and earlier
  • Data ONTAP 7-Mode
  • Data ONTAP 8 7-Mode
  • Data ONTAP 8.1 7-Mode
  • Data ONTAP 8.2 7-Mode
  • System Risk #2258

Issue

Check Active IQ if this impacts your systems.

The network interfaces from the rc file as well as the hostname need to be present in the hosts file in order to assign an IP address. If all interfaces are not defined, an outage can occur after a takeover / giveback or on reboot.

Example:
/etc/rc  file:

hostname filer
ifconfig e0a `hostname`-e0a netmask 255.255.255.0 partner e0a mtusize 1500

ifconfig e0b `hostname`-e0b netmask 255.255.255.0 partner e0b mtusize 1500

/etc/hosts file:
127.0.10.1 localhost-10 localhost-bsd
127.0.20.1 localhost-20 localhost-sk
10.10.10.10 filer filer-e0a

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

Scan to view the article on your device