Delete a volume

This page provides instructions for how to delete a volume.

Before you begin

When you delete a volume, all of the data and volume snapshots within the volume get deleted and the capacity of the pool returns. Before you delete a volume, you must delete the replication relationship.

Delete a volume

Use the following instructions to delete a volume using the Google Cloud console or Google Cloud CLI.

Console

  1. Go to the NetApp Volumes page in the Google Cloud console.

    Go to NetApp Volumes

  2. Identify the volume you want to delete.

  3. Click the Show more icon on the volume and click Delete.

  4. A confirmation dialog appears. Read through the warnings.

  5. To proceed, enter the name of the volume and click Delete.

gcloud

Run the following command:

  gcloud netapp volumes delete VOLUME_NAME \
   --project=PROJECT_ID \
   --location=LOCATION

Replace the following information:

  • VOLUME_NAME: the name of the volume to delete

  • PROJECT_ID: the name of the project the volume is in

  • LOCATION: The location of the volume

For more information on additional optional flags, see Google Cloud SDK documentation on volumes.

What's next

Manage customer-managed encryption key policies.