Removing Volumes from a Group
On Compute Cloud@Customer, you can remove block and boot volumes from an existing volume group using the Compute Cloud@Customer Console, CLI, and API.
When you remove the last volume in a volume group, the volume group is deleted.
-
In the Compute Cloud@Customer Console navigation menu, click Block Storage, then click Volume Groups.
-
At the top of the page, select the compartment that contains the volume group that has the volume you want to remove.
-
In the Volume Groups list, click the volume group that contains the volume you plan to remove.
-
Under Resources, click Volumes.
-
For the volume that you want to remove, click the Actions menu (
), then click Remove.
-
Confirm the removal.
-
Use the oci bv volume-group update command and required parameters to update a volume group.
To remove a volume from a volume group, use the
oci bv volume-group update
command, and remove the volume from the list of volumes in the argument for the--volume-ids
option as described in Adding Volumes to a Group.oci bv volume-group update --volume-group-id <volume_group_OCID> --volume-ids <volume_OCIDs_JSON> [OPTIONS]
For a complete list of CLI commands, flags, and options, see the Command Line Reference.
Use the UpdateVolumeGroup operation to update a volume group:
For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.