addhsp command
Use the addhsp command to assign the drive as hot spare.
addhsp command syntax
Usage: ./OneCli [misc] raid addhsp < --drive|-d <arg>> [--bmc|-b <arg>]
[--ctrl <arg>] [--target|-t <arg>]
[--dg <arg>] [--force]
[--check-trust|-C] [--never-check-trust|-N]
[--quiet|-q] [--output|-o <arg>]
[--nolog] [--config <arg>]
[--help|-h]
Parameter | Required/Optional | Notes |
---|---|---|
--ctrl | Optional | Specify controller ID starting with index 1. Example: --ctrl 1. |
--drive, -d | Required | Specify target drive ID. The arguments can be grouped in multiple targets and separated by commas. If it is not specified, it means all. |
--dg | Optional | Specify drive groups. The argument can be specified multiple targets by commas.If it is specified, it means assigning the drive as dedicated hot spare.If it is not specified, it means assigning the drive as a global hot spare. |
--force | Optional | Forcibly operate RAID configuration when no user interaction exists. |
--target, -t | Optional (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:
|
Example of the addhsp command
OneCli.exe misc raid addhsp --target 0 --drive 0 --bmc userid:password@host
Give documentation feedback