Skip to main content
NetApp Knowledge Base

FlexCache write-back cache cleanup fails in ONTAP

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

Applies to

- NetApp ONTAP 9.18.1
- FlexCache with write-back enabled
- NetApp ONTAP Select (cache cluster)

Issue

Attempts to delete a FlexCache relationship or cache volume fail with errors when the cache cluster’s aggregate is offline due to a license downgrade or expiration, and write-back is still enabled on the FlexCache relationship. The standard cleanup commands cannot proceed because ONTAP cannot reach the cache cluster to safely disable write-back, leading to persistent error messages and inability to remove the relationship.

Example error output:

Error: command failed: Cannot clean up the FlexCache relationship between FlexCache volume "Work" and origin of a FlexCache volume "Work" in Vserver "svm0" because FlexCache volume "Work" has writeback enabled, which could result in data loss. Use the "flexcache config modify -is-writeback-enabled false" command to disable writeback on the FlexCache volume.

Attempts to disable write-back on the cache volume fail because the cache aggregate is offline and unreachable:

Modification not permitted. Unable to determine the state of the volume. This can be because of network connectivity problems or the volume is busy.

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.