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 Backing Up a Volume and Overview of Block Volume Backups.
- Open the navigation menu and select Storage. Under Block Storage, select Block Volumes.
- Under List scope, select the compartment that contains the block volume.
- In the Block Volumes list, select the name of the volume that you want to delete.
- Select Terminate.
- In the confirmation dialog box, select 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 and specify thevolumeId
attribute to delete a block volume.