rmvolumegroup
Use the rmvolumegroup command to remove a volume group from a system.
Syntax
Parameters
- -evictvolumes
- (Optional) This allows the user to remove all volumes from a group before deleting the group. This is only permitted for volume groups that do not have a replication policy assigned.
- volumegroup_name | volumegroup_id
- (Required) Specifies the volume group name or ID for the volume to remove from the system. The value for the volume group ID must be a number and the value for the volume group name must be an alphanumeric string.
Description
This command removes a volume group from the system. If the volume group contains active
volumes, it cannot be removed from the system. Only empty volume groups can be deleted from the
system. If an empty volume group is used for policy-based replication, you must remove
the volume group from the production system and not the recovery system.
Note: This command can run whether the remote systems in the replication policy are
connected or disconnected. If the command succeeds, the volume group is removed immediately on the
local system. When the connectivity is restored, the volume group is removed asynchronously on the
remote systems.
An invocation example
rmvolumegroup Vardy1
The resulting output
No feedback.