Skip to main content
NetApp Knowledge Base

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

Views:
1,118
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

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.