dbdst_rmvol - Remove volumes from DBDST ready Filesystem.
dbdst_rmvol -S ORACLE_SID -M mount_device-v vol,vol,...
Veritas Storage Foundation. To determine whether this product is installed on a Linux system, enter:
rpm -qa | grep VRTSdbed
The dbdst_rmvol command is used to shrink an existing DBDST ready MVS filesystem by removing specified volumes from the filesystem. This command removes the volume from the filesystem and the underlying volume set, which is specified by the mount_device . If the volume specified has some datafile blocks, these blocks are relocated to remaining volumes. This command will fail, if there is not enough free space to relocate the file blocks from the volume beign removed. This command can be executed when database is online. The volumes will be removed from the volumeset only and will not be removed from the diskgroup.
The following options are supported:
-S ORACLE_SID Specifies the name of the Oracle database whose information will be retrieved. -M mount_device Specifies the block device where the file system resides. This should be of the form /dev/vx/dsk/<dgname>/<vsetname> -v vol,vol,... Specifies the list of volumes to be removed
This command is supported in a RAC environment. This command can be run on any node of the RAC.
This example shows how to remove volumes vol3 and vol4 from a DBDST ready MVS filesystem on device /dev/vx/dsk/oradata/arch.
$ /opt/VRTS/bin/dbdst_rmvol -S PROD -M /dev/vx/dsk/oradata/arch -v vol3,vol4
This command must be run as Oracle DBA user. This command can be executed when the database is online. Do not remove the first volume of a DBDST filesystem.
dbed_update must be run at least once before this command to ensure an up-to-date repository.
The mount_device must be converted to DBDST filesystem using dbdst_convert command before this command.
If the datbabase is configured for flashsnap, make sure the snapshots are resynced before running this command.
0 Command executed successfully. 1 An Error Occured. 101 Licence check failed. 102 No license to execute this command. 103 Invalid Storage Class 104 The device or mount point is not owned by user 105 Could not get information from Oracle Database 255 Could not load program.
RAC is not supported with some SF products/configurations. For details please refer to the Veritas Storage Foundation: Storage and Availability Management for Oracle Databases Guide
dbdst_classify(1M), dbdst_admin(1M), dbdst_convert(1M), dbdst_file_move(1M), dbdst_partition_move(1M), dbdst_preset_policy(1M), dbdst_report(1M), dbdst_rmvol(1M), dbdst_show_fs(1M), dbdst_tbs_move(1M), dbdst_obj_move(1M), dbdst_obj_view(1M), oracle_edition(7)
Veritas Storage Foundation: Storage and Availability Management for Oracle Databases
|SF for Oracle||dbdst_rmvol(1M)|