The /etc/rc file stores startup commands that your storage system executes at boot time to configure the system.
After you run the setup command or the Setup Wizard, the system automatically stores startup commands in the /etc/rc file.
The commands in the /etc/rc file configure the storage system to do the following:
The /etc/rc file must not contain the following types of commands:
For example, you must not include the iscsi commands or the wrfile command in the /etc/rc file. Doing so prevents your storage system from booting successfully.
Running the setup command rewrites the /etc/rc file. It is recommended that you back up the /etc/rc file if you must rerun the setup command after the system's initial setup.