Table of ContentsView in Frames

Editing the /etc/rc file

You edit the storage system's boot configuration file, the /etc/rc file, to modify the commands that the system runs at boot time.

About this task

The storage system’s boot configuration file is named rc and is in the /etc directory of its default volume (the default is /vol/vol0/etc/rc).

Steps

  1. Make a backup copy of the /etc/rc file.
  2. Edit the /etc/rc file.

    Note: Do not add CIFS commands to /etc/rc. Doing so can cause problems when the storage system boots if CIFS is not fully initialized or the commands cause deadlocks between the /etc/rc file and CIFS.

  3. Ensure that entries in the /etc/rc file are listed in the following order:

    hostname system_name
    ifgrp commands
    vlan commands
    ifconfig commands
    vfiler commands
    route commands
    [any other commands]
    

  4. Save the edited file.
  5. Reboot the storage system to test the new configuration.

    If the new configuration does not work as you want, repeat Step 2 through Step 4.