Erasing a physical drive, Rescanning the system, Entering or deleting a license key – HP Smart Storage Administrator User Manual

Page 55

Advertising
background image

Operations 55

<target> is a controller or all controllers.

<file=filename> designates the target file in which the diagnostic information is saved.

[ris=on|off] determines whether RIS information is or is not included. The off value is provided for

backward compatibility and is ignored.

[ssdrpt=on|off] specifies to generate or not generate the Smart SSD Wear Gauge report. The

default is off.

[xml=on|off] outputs diagnostic information in formatted XML. The off value is provided for

backward compatibility and is ignored.

[zip=on|off] compresses the output to a zipped file. Default behavior is uncompressed. The off

value is provided for backward compatibility and is ignored.

Example commands

ctrl all diag file=c:\allcontrollers.zip

ctrl slot=4 diag file=c:\ctrl_slot4.zip

ctrl ch="mybox" diag file=mybox.zip ssdrpt=on

Erasing a physical drive

Syntax:

<target> modify [erase erasepattern=zero|random_zero|random_random_zero]

where the target can be any valid physical drive.
To stop an erase process at any time, enter the stoperase command.
Example commands:

=> ctrl slot=3 ld 2 modify erase erasepattern=zero

=> ctrl slot=4 ld all modify erase erasepattern=random_zero

=> ctrl slot=3 ld 2 modify stoperase

Rescanning the system

A rescan detects devices that have been added to the system since the previous rescan or since the HP SSA

CLI was started, whichever is more recent.
Syntax:
Use the word rescan directly at the HP SSA CLI prompt, without any target device or parameters.
Example command:

=> rescan

Entering or deleting a license key

Some advanced configuration tasks (available only on certain controller models) can be performed only after
software is installed on the controller and a license key is registered to activate the software.
Syntax:

<target> add [lk=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx]

where the target is any valid controller. The hyphens are optional.
To delete a license key, use a standard delete command but use the license key (not the controller) as the

target:

<target> delete

Advertising