Listing Volumes
View a list of the block volumes in your tenancy.
You can list all block volumes in a specific compartment. To view detailed information for a single volume, see Getting a Block Volume's Details.
Filtering List Results
Use filters to limit the block volumes in the list. Perform one of the following actions depending on the options that you see:
- From the Search and Filter box above the list table, select one or more filters and specify the values that you want to use to narrow the list. In general, the filters correspond to the columns shown in the list table, although some filters represent attributes that aren't shown in the table. The Compartment filter is always displayed next to Applied filters.
- On the left side of the list page, select a value from one of the available filters, such as compartment, state, or tags.
Change the order of the items in the list table by using the sort icons next to the column names.
For information about searching for resources and managing the columns in the list table, if those features are available, see Listing Resources.
Actions
In the list table, select the name of a block volume to open its details page, where you can view its status and perform other tasks.
To perform an action on a block volume directly from the list table, select an available option from the Actions menu in the row for that block volume:
- View details: Open the details page for the block volume.
- Edit: Edit the block volume.
- Create Clone: Clone the block volume.
- Create Manual Backup: Manually back up the block volume.
- Assign master encryption key: Assign a master encryption key to the block volume. See Changing the Assigned Master Encryption Key.
- Move resource: Move the block volume to another compartment.
- Copy OCID: Copy the OCID of the block volume to the clipboard.
- Manage Tags: Add one or more tags to the block volume. See Resource Tags.
- Terminate: Delete the block volume.
To create a block volume, select Create block volume.
Use the
oci bv volume list
command and required parameters to list the block volumes in your tenancy:oci bv volume list [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the
ListVolumes
operation and specify thecompartmentId
attribute to list the block volumes in a compartment.