Posted by Dave Thijssen Tuesday 9 July 2013

The following error is displayed in NetApp OnCommand System Manager:

"Invalid format in the /etc/rc file
Active operations on network interfaces are disabled as the /etc/rc file does not adhere to the expected format. Modify the /etc/rc manually to enable the active operations."


Invalid format in the /etc/rc file
The contents of /etc/rc were as follows:

#Auto-generated by setup Wed Nov 28 09:46:28 CET 2012
ifgrp create single svif e1a e0a
ifconfig svif `hostname`-svif partner svif mtusize 1500
ifconfig e0M `hostname`-e0M partner e0M mtusize 1500
route add default 192.168.1.254 1
routed on
options dns.domainname toaster.lan
options dns.enable on
options nis.enable off
ifgrp favor e1a
savecore

The correct sequence of the commands is:
  1. hostname
  2. vif / ifgrp
  3. vlan
  4. ifconfig
  5. vfiler
  6. route
  7. routed
  8. options
  9. savecore

The command ifgrp favor e1a is out of sequence and needs to be moved up.

You can manually edit /etc/rc through the administrative share \\toaster\c$ and a text editor.

#Auto-generated by setup Wed Nov 28 09:46:28 CET 2012
ifgrp create single svif e1a e0a
ifgrp favor e1a
ifconfig svif `hostname`-svif partner svif mtusize 1500
ifconfig e0M `hostname`-e0M partner e0M mtusize 1500
route add default 192.168.1.254 1
routed on
options dns.domainname toaster.lan
options dns.enable on
options nis.enable off
savecore

Leave a comment

Join the conversation.

Copyright Dave Thijssen. Powered by Blogger.