rebal

Purpose

Rebalances a disk group.

Syntax and Description

rebal [--power power] [-w] diskgroup

Table 10-58 lists the syntax options for the rebal command.


Table 10-58 Options for the rebal command

Option Description

diskgroup

Disk group name.

--power power

Power setting.

-w

Wait option. Causes ASMCMD to wait for the disk group to be rebalanced before returning control to the user. The default is not waiting.


The power level can be set to the same values as the ASM_POWER_LIMIT initialization parameter. A value of 0 disables rebalancing. If the rebalance power is not specified, the value defaults to the setting of the ASM_POWER_LIMIT initialization parameter. For information about the power level, see "ASM_POWER_LIMIT" and "Tuning Rebalance Operations".

You can determine if a rebalance operation is occurring with the ASMCMD lsop command. See "lsop". For more information about rebalancing a disk group, see "Manually Rebalancing Disk Groups".

Example

The following is an example of the rebal command that rebalances the fra disk group with a power level set to 4.

Example 10-69 Using the ASMCMD rebal command

ASMCMD [+] > rebal --power 4 fra

ASMCMD [+] > lsop
Group_Name  Dsk_Num  State  Power
FRA         REBAL    RUN    4