The following template is used by NCM to delete a NetApp NFS volume on a vfiler. It will also delete the associated Qtree and exports associated with the volume. This template will pre-populate "vol_" to the beginning of the volume name. This may need to be modified for your environment. Using this script now takes less that a minute to delete a NetApp NFS volume from a vfiler. Note: The vfiler export file will show the exports as commented out ('deleted' and not active). The commented out rows can be deleted from the export file. It is not required that you delete these commented out exports, but it is a good idea to keep the file clean.
VFiler_NFS_Vol_Delete.ncm-template (2.3 KB)