Skip to main content
NetApp Knowledgebase

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

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

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support