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 click Storage. Under Block Storage, click Volume Groups.
- Under List scope, select the compartment that contains the volume group.
- In the Volume Groups list, click the volume group you want to move.
- Click Move resource.
- In the Move resource dialog box, select the compartment that you want to move the volume group to.
- Click 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 to move a volume group to a different compartment.