Deleting a Block Volume
Delete a block volume from the Block Volume service when it's no longer needed.
Caution
- You can't undo this operation. When you delete a volume, any data on the volume is permanently deleted.
- All policy-based backups eventually expire, so if you want to keep a backup of the volume indefinitely, create a manual backup of the volume before you delete it. See Creating a Manual Backup for a Block Volume and Overview of Block Volume Backups.
- Open the navigation menu and click Storage. Under Block Storage, click Block Volumes.
- Under List scope, select the compartment that contains the block volume.
- In the Block Volumes list, click the name of the volume that you want to delete.
- Click Terminate.
- In the confirmation dialog box, click Terminate.
Use the oci bv volume delete command and required parameters to delete a block volume:
oci bv volume delete --volume-id volume_ocid [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the DeleteVolume operation to delete a block volume.