Adaptec 51245 User Guide - Page 26

arcconf setstate, arcconf setstatsdatacollection

Page 26 highlights

Chapter 2: Using the Command Line Utility ● 26 arcconf setstate Changes the state of a physical device or logical device from its current state to the designated state. Syntax ARCCONF SETSTATE DEVICE [LOGICALDRIVE [LD#] ... ] [noprompt] ARCCONF SETSTATE LOGICALDRIVE OPTIMAL [ADVANCED ] [noprompt] Parameters Controller# is the controller number. Channel# is the channel number for the drive. Device# is the device number for the device. LD# is the logical drive number. State: ● HSP-Create a hot spare from a ready drive ● RDY-Remove a hot spare designation ● DDD-Force a drive offline (to Failed) ADVANCED is an optional keyword/option pair. Set option to Nocheck to force a logical drive to the Optimal state without performing a consistency check. Noprompt: No prompt for confirmation. Examples ARCCONF SETSTATE 1 DEVICE 0 0 HSP LOGICALDRIVE 1 2 3 ARCCONF SETSTATE 1 DEVICE 0 0 RDY LOGICALDRIVE 2 ARCCONF SETSTATE 1 LOGICALDRIVE 1 OPTIMAL ADVANCED nocheck arcconf setstatsdatacollection Enables or disables statistics collection for a controller. To display the statistics, use the arcconf getlogs command (see page 16). Syntax ARCCONF SETSTATSDATACOLLECTION Enable|Disable Parameters Controller# is the controller number. Enable turns statistics collection on. Disable turns statistics collection off. Example ARCCONF SETSTATSDATACOLLECTION 1 ENABLE

  • 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

Chapter 2: Using the Command Line Utility
26
arcconf setstate
Changes the state of a physical device or logical device from its current state to the designated
state.
Syntax
ARCCONF SETSTATE <Controller#> DEVICE <Channel#> <Device#> <State> [LOGICALDRIVE
<LD#>[LD#] ... ] [noprompt]
ARCCONF SETSTATE <Controller#> LOGICALDRIVE <LD#> OPTIMAL [ADVANCED <option>]
[noprompt]
Parameters
Controller# is the controller number.
Channel# is the channel number for the drive.
Device# is the device number for the device.
LD# is the logical drive number.
State:
HSP—Create a hot spare from a ready drive
RDY—Remove a hot spare designation
DDD—Force a drive offline (to Failed)
ADVANCED
<option> is an optional keyword/option pair. Set option to Nocheck to force a
logical drive to the Optimal state without performing a consistency check.
Noprompt: No prompt for confirmation.
Examples
ARCCONF SETSTATE 1 DEVICE 0 0 HSP LOGICALDRIVE 1 2 3
ARCCONF SETSTATE 1 DEVICE 0 0 RDY LOGICALDRIVE 2
ARCCONF SETSTATE 1 LOGICALDRIVE 1 OPTIMAL ADVANCED nocheck
arcconf setstatsdatacollection
Enables or disables statistics collection for a controller. To display the statistics, use the
arcconf
getlogs
command (see
page 16
).
Syntax
ARCCONF SETSTATSDATACOLLECTION <Controller#> Enable|Disable
Parameters
Controller# is the controller number.
Enable turns statistics collection on.
Disable turns statistics collection off.
Example
ARCCONF SETSTATSDATACOLLECTION 1 ENABLE