beautypg.com

Hrconf setstate, Hrconf task – HP ProLiant ML110 G4 Server User Manual

Page 13

background image

Using the Command Line Utility 13


Return values

SUCCESS: 0x00

indicates the command completed successfully.

FAILURE: 0x01

indicates the command failed.

hrconf setstate

This command redefines the state of a physical device from its current state to the designated state.

Syntax

hrconf setstate

Parameters

Controller#

is the controller number.

channel#

is the channel number for the drive.

device#

is the device number for the drive.

The following

State

options are available:

HSP

—Create a hot spare from a ready drive

RDY

—Remove a hot spare designation

RBL

—Rebuild drive

Example

hrconf setstate 1 0 1 HSP

hrconf setstate 1 0 2 RDY

hrconf setstate 1 0 2 RBL

Return values

SUCCESS: 0x00

indicates the command completed successfully.

FAILURE: 0x01

indicates the command failed.

hrconf task

This command performs a task on a logical drive.

Syntax

hrconf TASK START LOGICALDRIVE [noprompt]

hrconf TASK STOP LOGICALDRIVE

Parameters

Logical drive#

is the number of the logical drive in which the task is to be performed.

Options

specifies the tasks to be started or performed. The following options are available:

verify_fix

(Verify with fix)

verify

clear

noprompt

: No prompt for confirmation.

This manual is related to the following products: