Deleting a Boot Volume

On Oracle Cloud Infrastructure, you can delete a boot volume that's detached from an instance.

Caution

Any data on a volume is permanently deleted when the volume is deleted. You can't restart the associated instance.

    1. In the Compute Cloud@Customer Console navigation menu, select Compute, then select Instances.

    2. At the top of the page, select the compartment that contains the instance with the boot volume you want to delete.

    3. For the instance that has the boot volume you want to delete, select the Actions menu (An image of the three dot icon.), then select Stop.
    4. When prompted, select Force stop the instance by immedidately powering off, then select Force Stop Instance.
    5. Wait for the instance to reach the Stopped state.
    6. Select the name of the instance that has the boot volume you want to delete.
    7. Under Resources, select Boot Volumes.
    8. For the boot volume that you want to delete, select the Actions menu (An image of the three dot icon.), then select Detach.

      Confirm when prompted.

    9. Select the name of the boot volume.
    10. Select the Controls button (upper right), then select Terminate.
    11. Confirm the termination.

      The block volume enters the TERMINATED state, and remains in that state for about 24 hours until it's removed.

  • Use the command and required parameters to delete a boot volume.

    oci bv boot-volume delete --boot-volume-id <boot_volume_OCID>  [OPTIONS]

    For a complete list of CLI commands, flags, and options, see the Command Line Reference.

  • Use the DeleteBootVolume operation to delete a boot volume.

    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.