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.

    1. In the Compute Cloud@Customer Console navigation menu, select Block Storage, then select Volume Groups.

    2. At the top of the page, select the compartment that contains the volume group that has the volume you want to remove.

    3. In the Volume Groups list, select the volume group that contains the volume you plan to remove.

    4. Under Resources, select Volumes.

    5. For the volume that you want to remove, select the Actions menu (An image of the three dot icon.), then select Remove.

    6. 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.