Restoring the RAID

RAIDs can be restored, either automatically or manually, using the configuration specified in the configuration file. After unloading a RAID, you can restore it manually. Following a system failure or a system and services reboot, RAIDs are restored automatically. In these cases, the initialization timeout for all drives is set to 10 seconds.

However, if the RAID configuration includes drives that are not available in the host system for any reason, one of the following will occur:
  • If the number of remaining drives in a RAID is sufficient for its operation, it will be restored to the 'degraded' state. If the missing drives later become available in the host system, they will be added to the RAID automatically and the reconstruction of this RAID will begin.
    Tip:

    If an unexpected system reboot occurs, the initialization will automatically start to prevent write holes after RAID restoration, provided that the resync function is enabled (which is the default setting).

  • If the number of remaining drives in a RAID is insufficient for its proper operation, it will be restored to the 'offline' state. In such case, contact the xiRAID Classic support team at support@xinnor.io.
  • If none of the drives specified in a RAID configuration are available in the host system, the RAID will not be restored. In such case, contact the xiRAID Classic support team at support@xinnor.io.

The log message may contain the following warning if not all drives included in the RAID configuration have been initialized:

ERROR :: For RAID 'raidname' not all devices were initialized. Uninitialized devices are 'drive-serial1, drive-serial2'.

You can restore RAIDs manually from the configuration files using

# xicli raid restore <arg>
Table 1. Arguments for the restore subcommand

Mutually exclusive required arguments

-n --name

The name of the RAID.

-a --all

Restore all available xiRAID Classic RAIDs.

Argument takes no value.