Adding Volumes to a Group

On Compute Cloud@Customer, you can add block and boot volumes to an existing volume group using the Compute Cloud@Customer Console, CLI, and API.

Note

You can't add a volume with an existing backup policy assignment to a volume group with a backup policy assignment. You must first remove the backup policy assignment from the volume before you can add it to the volume group.

    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.

    3. In the Volume Groups list, select the volume group you want to add the volume to.

    4. Under Resources, select Volumes.

    5. Select Add Volumes.
    6. Select a volume to add to the group from the volume drop-down list. You might need to select a different compartment above the volume drop-down list. Select + Add Volume to add another volume.

    7. Select Update Volume Group.

  • Use the oci bv volume-group update command and required parameters to update a volume group.

    oci bv volume-group update --volume-group-id <volume_group_OCID> --volume-ids <volume_OCIDs_JSON> [OPTIONS]

    For details about the JSON format, run this command:

    oci bv volume-group update --generate-param-json-input volume-ids

    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.