Skip to main content

init command

Use the init command to quickly initialize volumes. This command can only be used in the ThinkSystem servers with XCC level versions released after October 2018.

init command syntax

Usage: ./OneCli [misc] raid init < --bmc|-b <arg>> [--ctrl <arg>]
[--target|-t <arg>] [--volume|-v <arg>]
[--force] [--check-trust|-C]
[--never-check-trust|-N] [--quiet|-q]
[--output|-o <arg>] [--nolog]
[--config <arg>] [--help|-h]
Table 1. init command specific parameters
ParameterRequired/OptionalNotes
--ctrlOptional

Specify controller ID starting with index 1.

Example: --ctrl 1.

--forceOptional

Forcibly operate RAID configuration when no user interaction exists.

--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.
--volume, -vOptionalSpecify the target volume ID. The argument can be specified to multiple targets by comma. If not specified, it means all.

Example of the init command

OneCli.exe misc raid init --ctrl 1 --volume 0,1 --bmc xxxx:xxxx@xx.xx.xx.xx