Skip to main content
NetApp Knowledge Base

Stale FlexCache Reference Preventing Volume Deletion

Views:
5
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • AFF
  • AFF-A800
  • 9.17.1P6 CLUSTER-MODE

Issue

  • Deletion of a volume  in SVM  via Terraform on ONTAP is failing due to stale references to a non-existent FlexCache volume
  •  REST API errors are returned during the delete operation, indicating that the volume is still considered the origin for a FlexCache relationship, even though no FlexCache caches are currently shown for the origin volume.
  • Attempts to clean up the FlexCache relationship using ONTAP commands have failed, and the issue persists despite no recent changes or maintenance in the environment
  • On the origin, we see '[kern_mgwd:info:4232] Warning: REST: Cluster peer cache miss for peer cluster <cache cluster peer uuid>'
  • Command to clean up the cache relationship failed,  flexcache origin cleanup-cache-relationship -origin-volume <origin_vol> -origin-vserver <origin_vserver> -cache-vserver <cache_vserver> -cache-volume <cache_volume> -force-retry true

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.