config restore
Warning! The result of the command is irreversible when using the --common_file argument.
To restore the configuration file from a file or from the drives, run
# xicli config restore <arg>
The command restores (if missing) or replaces the common configuration file from a specified location (from a file or disk metadata), but does not apply it.
Mutually excluded required arguments |
||
-c | --common_file | A file to restore or replace the common configuration file
/etc/xiraid/raid.conf. If no file is specified, restore or replace from /etc/xiraid/raid.conf.bak. |
-d |
--drives |
The list of block devices (/dev/sd*, /dev/mapper/mpath*, /dev/nvme*, /dev/dm-*) separated by a space to restore the most recent RAID configuration files to the /etc/xiraid/raids.drive/ directory. If no disks are specified, restore the most recent RAID configuration files from all disks. |
-r | --raid_file | A file to restore or replace the RAID configuration file in /etc/xiraid/raids/. |