srvctl remove volume

Removes a specific volume.

Note:

  • This command is only available with Oracle Clusterware.

  • The volume gets created when you create volumes in Oracle ASM.

See Also:

Oracle Automatic Storage Management Administrator's Guide for more information about creating volumes

Syntax and Parameters

Use the srvctl remove volume command with one of these syntax models:

srvctl remove volume -volume volume_name -diskgroup disk_group_name [-force]

srvctl remove volume -device volume_device [-force]

Table A-140 srvctl remove volume Parameters

Parameter Description
-volume volume_name

Specify the name of the volume that you want to remove. This parameter is required.

-diskgroup disk_group_name

Specify the name of the disk group in which the volume that you want to remove resides.

-device volume_device

Specify the path to the file system resource in which the volume that you want to remove resides.

-force

Removes the volume even if it is running.

Usage Notes

You must specify a particular volume that you want to remove. You can specify a volume that resides in either a particular disk group or on a particular volume device.

Example

The following example removes a volume named VOLUME1 that resides in a disk group named DATA:

$ srvctl remove volume -volume VOLUME1 -diskgroup DATA