Table of ContentsView in Frames

Restoring a storage system configuration

You can restore storage system configuration information from a backup configuration file.

About this task

Illegal entries in the configuration file might cause attempts to fail and error messages to occur when using config restore -v to restore volume-specific configurations. If this happens, edit the configuration file in the default /etc/configs directory to remove the illegal entries.

For instance, an error message indicating an invalid operation on FlexVol volume vol_name could result from a configuration file containing the text options.vols.vol_name.raidsize, where vol_name is not a traditional volume and thus an illegal entry that should be removed from the configuration file.

Steps

  1. Enter the following command:
    config restore [-v] config_file

    -v enables you to restore volume-specific configuration files, as well as storage system-specific configuration files.

  2. Reboot the system to run commands in the /etc/rc file.
  3. If you use quotas for any volumes owned by a non-default vFiler unit (a vFiler unit other than vfiler0), ensure that the quotas are in the desired state (on or off) for those volumes.

    The quotas state for volumes owned by a non-default vFiler is not restored when you restore a system configuration.

Example of config restore command

The following is an example of the config restore command restoring the backup configuration file from the default /etc/configs directory.
config restore 08_02_2004