Posted by
D. 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 |
#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:
- hostname
- vif / ifgrp
- vlan
- ifconfig
- vfiler
- route
- routed
- options
- 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