Adaptec 2251300-R User Guide - Page 27

hrconf setconfig, hrconf setstate, OPTIMAL

Page 27 highlights

Chapter 2: Using the Command Line Utility ● 27 hrconf setconfig Resets the controller's configuration. Logical drives are deleted, hard disks are reset to the READY state. Syntax HRCONF SETCONFIG DEFAULT [noprompt] Parameters Controller# is the controller number Default restores the controller's default configuration Example HRCONF SETCONFIG 1 DEFAULT hrconf setstate Redefines the state of a physical device from its current state to the designated state, or redefines a logical device state to force the logical drive online. Syntax HRCONF SETSTATE LOGICAL DRIVE [noprompt] HRCONF SETSTATE DEVICE [noprompt] Parameters LogicalDrive# is the logical drive whose state will be altered Device state options: ● HSP-Create a hot spare from a ready drive ● RDY-Remove a hot spare designation ● RBL-Rebuild drive Logical drive state options: ● OPTIMAL-Force a logical drive online Example HRCONF SETSTATE 1 0 1 HSP HRCONF SETSTATE 1 0 2 RDY HRCONF SETSTATE 1 0 2 RBL HRCONF SETSTATE 1 LOGICALDRIVE 1 OPTIMAL hrconf task Performs a task on a logical drive. Syntax HRCONF TASK START LOGICALDRIVE [noprompt] HRCONF TASK STOP LOGICALDRIVE Parameters Controller# is the controller number

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29

Chapter 2: Using the Command Line Utility
27
hrconf setconfig
Resets the controller's configuration. Logical drives are deleted, hard disks are reset to the
READY state.
Syntax
HRCONF SETCONFIG <Controller#> DEFAULT [noprompt]
Parameters
Controller# is the controller number
Default restores the controller’s default configuration
Example
HRCONF SETCONFIG 1 DEFAULT
hrconf setstate
Redefines the state of a physical device from its current state to the designated state, or
redefines a logical device state to force the logical drive online.
Syntax
HRCONF SETSTATE <Controller#> LOGICAL DRIVE <LogicalDrive#> <State> [noprompt]
HRCONF SETSTATE <Controller#> DEVICE <CHANNEL# ID#> <State> [noprompt]
Parameters
LogicalDrive# is the logical drive whose state will be altered
Device state options:
HSP
—Create a hot spare from a ready drive
RDY
—Remove a hot spare designation
RBL
—Rebuild drive
Logical drive state options:
OPTIMAL
—Force a logical drive online
Example
HRCONF SETSTATE 1 0 1 HSP
HRCONF SETSTATE 1 0 2 RDY
HRCONF SETSTATE 1 0 2 RBL
HRCONF SETSTATE 1 LOGICALDRIVE 1 OPTIMAL
hrconf task
Performs a task on a logical drive.
Syntax
HRCONF TASK START <Controller#> LOGICALDRIVE <LogicalDrive#> <Options>[noprompt]
HRCONF TASK STOP <Controller#> LOGICALDRIVE <LogicalDrive#>
Parameters
Controller# is the controller number