Moving a Boot Volume to Another Compartment
Move a boot volume in the Block Volume service to a different compartment.
- On the Boot Volumes list page, find the boot volume that you want to work with. If you need help finding the list page or the boot volumes, see Listing Boot Volumes.
- From the for the boot volume, select Move resource.
- In the Move resource panel, select the destination compartment from the list.
- Select Move resource.
Use the
oci bv boot-volume change-boot-volume-compartment
command and specify the--boot-volume-id
and--compartment-id
parameters to move the boot volume to a different compartment:oci bv boot-volume change-boot-volume-compartment --boot-volume-id <boot_volume_OCID> --compartment-id <destination_compartment_OCID>
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the
ChangeBootVolumeCompartment
operation and specify thebootVolumeId
attribute in the request body and thecompartmentId
attribute in theChangeBootVolumeCompartmentDetails
resource to move the boot volume to a different compartment.