Purpose
Disables Oracle ADVM volumes in mounted disk groups and removes the volume device on the local node.
Syntax and Description
voldisable { --all |{ -G diskgroup { -a | volume } } }
Table 15-4 describes the options for the voldisable command.
Table 15-4 Options for the voldisable command
| Option | Description |
|---|---|
|
|
Specifies all volumes within all disk groups. |
|
|
Name of the disk group containing the volume. |
|
|
Specifies all volumes within the specified disk group. |
|
|
Name of the volume. |
You can disable volumes before shutting down an Oracle ASM instance or dismounting a disk group to verify that the operations can be accomplished normally without including a force option due to open volume files. Disabling a volume also prevents any subsequent opens on the volume or device file because it no longer exists.
Before disabling a volume, you must ensure that there are no active file systems associated with the volume. You must first dismount the Oracle ACFS file system before disabling the volume. See "Dismounting an Oracle ACFS File System".
You can delete a volume without first disabling the volume.
Examples
The following is an example of the voldisable command that disables volume1 in the data disk group.