offline

Purpose

Offline disks or failure groups that belong to a disk group.

Syntax and Description

offline -G diskgroup 
        { -F failgroup |-D disk}
        [-t {minutes | hours}]

Table 10-56 lists the syntax options for the offline command.


Table 10-56 Options for the offline command

Option Description

-G diskgroup

Disk group name.

-F failgroup

Failure group name.

-D disk

Specifies a single disk name.

-t minutes | hours

Specifies the time before the specified disk is dropped as nm or nh, where m specifies minutes and h specifies hours. For example, 120m or 2h.The default unit is hours.


When a failure group is specified, this implies all the disks that belong to it should be offlined.

Example

The following are examples of the offline command. The first example offlines the failgroup1 failure group of the data disk group. The second example offlines the data_0001 disk of the data disk group with a time of 1.5 hours before the disk is dropped.

Example 10-67 Using the ASMCMD offline command

ASMCMD [+] > offline -G data -F failgroup1

ASMCMD [+] > offline -G data -D data_0001 -t 1.5h