srvctl stop volume

Stops a specific, running volume.

Note:

This command is only available with Oracle Clusterware.

Syntax and Parameters

Use the srvctl stop volume command with the following syntax:

srvctl stop volume {-volume volume_name -diskgroup disk_group_name |
    -device volume_device} [-node "node_list"]

Table A-203 srvctl stop volume Parameters

Parameter Description
-volume volume_name

Specify the name of the volume to stop.

-diskgroup disk_grp_name

Specify the name of the disk group in which the volume to stop resides.

-device volume_device

Specify the path to the volume device to stop.

-node "node_list"

Specify a comma-delimited list of node names where volumes to stop reside.

Usage Notes

The srvctl stop volume command attempts to stop (disable) the volume but it does not disable the resource or remove the volume from Oracle ASM.

Example

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

$ srvctl stop volume -volume VOLUME1 -diskgroup DATA