Moving a Volume Group to a Different Compartment
Move a volume group in the Block Volume service to another compartment.
- Open the navigation menu and select Storage. Under Block Storage, select Volume Groups.
- Under List scope, select the compartment that contains the volume group.
- In the Volume Groups list, select the volume group you want to move.
- Select Move resource.
- In the Move resource dialog box, select the compartment that you want to move the volume group to.
- Select Move resource.
Use the
oci bv volume-group change-compartment
command and required parameters to move a volume group to a different compartment:oci bv volume-group change-compartment --volume-group-id <volume-group_ID> --compartment-id <compartment_ID>
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the
ChangeVolumeGroupCompartment
operation and specify thevolumeGroupId
attribute in the request body and thecompartmentId
attribute in theChangeVolumeGroupCompartmentDetails
resource to move a volume group to a different compartment.