Skip to main content

save command

Use the save command to save the RAID configuration for multiple IMM/XCC-based servers.

save command syntax

Usage: OneCli.exe [misc] multiraid save <--configfile <arg>> <--file|-f <arg>>
[--target|-t <arg>] [--check-trust|-C]
[--never-check-trust|-N] [--quiet|-q]
[--output|-o <arg>] [--nolog]
[--config <arg>] [--help|-h]
Table 1. save command specific parameters
ParameterRequired/OptionalNotes
--configfileRequired

Specify the config file for multi-task command.

The template file is available in Sample/multi_task_config.json.

--ctrlOptional

Specify controller ID starting with index 1.

Example: --ctrl 1.

--file,-fRequied

Specify the config file.

The template file of software raid is available in Sample/sw_raid.ini.

The template file of other raids is available in Sample/hw_raid.ini.

--quiet, -qOptional

This parameter answers yes for all questions, and decreases the outputs displayed on screen.

--target, -tOptional (Deprecated from V3.5.1)

It is recommended to use the --ctrl option instead.

Specify the target controller ID. The following is the description on ID:
  • 1: ctrl[1]

  • m2/m.2: Single m.2 raid

  • m2-1/m.2-1: Multi m.2 raid

The argument can be specified to multiple targets by comma. If not specified, it means all.
  • --config

  • --check-trust, -C

  • --help,-h

  • --never-check-trust, -N

  • --nolog

  • --output, -o

Optional

Refer to Table 2.

Example of the save command

OneCli.exe misc multiraid save --configfile ./mutli_raid.json --file ./hw_raid.ini