How to identify and remove unattached GCP disks
- Views:
- 412
- Visibility:
- Public
- Votes:
- 0
- Category:
- cloud-volumes-ontap-cvo
- Specialty:
- google_cloud_platform
- Last Updated:
Applies to
- Goog Cloud Platform (GCP)
- NetApp Cloud Volumes ONTAP (CVO)
Description
- Disks are attached to CVO via Cloud Manager as part of aggregate create task
- If this process fails, unattached disks in GCP may get left behind
- This article describes how to identify these disks and remove them safely
Procedure
- List out any unattached disks in gcp:
gcloud compute disks list --filter="-users:*"
- Verify that the disks are not registered by ONTAP as 'Unassigned' or 'Spare'
Cluster::> set d
Cluster::*> disk show -container-type spare,unassigned
Note: In case they are, follow How to manually remove disks in the GCP console for Cloud Volumes ONTAP instances
- If they aren't registered in ONTAP, they can be safely removed
Additional Information
Internal Notes
internalNotes_text
