Cannot clean up FlexCache relationship with write-back enabled
Applies to
- NetApp ONTAP 9.18.1
- FlexCache with write-back enabled
- NetApp ONTAP Select as the cache cluster
Issue
- The ONTAP Select cache cluster’s data aggregates are offline after its capacity license expired or was replaced by a smaller one
- The FlexCache cache volume cannot be taken offline or deleted on the cache cluster:
vol offline: Error offlining volume "cache_svm:cache_vol": Modification not permitted. Unable to determine the state of the volume. This can be because of network connectivity problems or the volume is busy.
Error: command failed: Unable to determine the state of the FlexCache volume "cache_svm:cache_vol". This can be because of network connectivity problems or the volume is busy.
- Cleaning up the FlexCache relationship from the origin cluster fails:
Error: command failed: Cannot cleanup the FlexCache relationship between FlexCache volume "cache_vol" and origin of a FlexCache volume "origin_vol" in Vserver "origin_svm" because FlexCache volume "cache_vol" 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.
- Write-back cannot be disabled because the cache volume is unreachable
