Purpose
Online all disks, a single disk, or a failure group that belongs to a disk group.
Syntax and Description
online -G diskgroup { -a | -F failgroup |-D disk} [--power n] [-w]
Table 10-57 lists the syntax options for the online command.
Table 10-57 Options for the online command
| Option | Description |
|---|---|
|
|
Online all offline disks in the disk group. |
|
|
Disk group name. |
|
|
Failure group name. |
|
|
Disk name. |
|
|
Specifies the power option ( |
|
|
Wait option. Causes ASMCMD to wait for the disk group to be rebalanced before returning control to the user. The default is not waiting. |
When a failure group is specified, this implies all the disks that belong to it should be onlined.
Example
The following are examples of the online command. The first example onlines all disks in the failgroup1 failure group of the data disk group with the wait option enabled. The second example onlines the data_0001 disk in the data disk group.