voldelete

Purpose

Deletes an Oracle ADVM volume.

Syntax and Description

voldelete -G diskgroup volume

Table 15-3 describes the options for the voldelete command.


Table 15-3 Options for the voldelete command

Option Description

-G diskgroup

Name of the disk group containing the volume.

volume

Name of the volume.


To successfully run this command, the local Oracle ASM instance must be running and the disk group required by this command must be mounted in the Oracle ASM instance. Before deleting a volume, you must ensure that there are no active file systems associated with the volume.

Examples

The following is an example of the voldelete command that deletes volume1 from the data disk group.

Example 15-2 Using the ASMCMD voldelete command

ASMCMD [+] > voldelete -G data volume1