Skip to main content
ONTAP tools for VMware vSphere 10

Remove FlexVol volumes after uninstalling ONTAP tools

Contributors netapp-jani jani

When you deploy ONTAP tools for VMware vSphere on a dedicated ONTAP cluster, the deployment creates many unused FlexVol volumes. After you remove ONTAP tools, delete the unused FlexVol volumes to avoid possible performance impacts.

Steps
  1. Determine the ONTAP tools for VMware vSphere deployment type from the ONTAP tools management node VM. Run the following command to check the deployment type: cat /opt/netapp/meta/ansible_vars.yaml | grep -i protocol

    If the deployment uses iSCSI, delete the igroups as well.

  2. Get the list of FlexVol volumes. kubectl describe persistentvolumes | grep internalName | awk -F'=' '{print $2}'

  3. Remove the VMs from the vCenter Server. Refer to Remove and reregister VMs and VM templates.

  4. Delete FlexVol volumes. Refer to Delete a FlexVol volume. Enter the exact FlexVol volume name in the CLI command to delete a volume.

  5. For iSCSI deployments, delete the SAN igroups from the ONTAP storage backend. See View and manage SAN initiators and igroups.