FlexCache 回写缓存清理在 ONTAP 中失败
适用于
- NetApp ONTAP 9.18.1
- 已启用回写功能的 FlexCache
- NetApp ONTAP Select (缓存集群)
问题
当缓存集群’的聚合由于许可证降级或过期而离线,并且 FlexCache 关系上仍启用回写时,尝试删除 FlexCache 关系或缓存卷会失败并报错。标准清理命令无法继续,因为 ONTAP 无法访问缓存集群以安全地禁用回写,从而导致持续出现错误消息并且无法删除该关系。
错误输出示例:
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.
尝试禁用缓存卷上的回写失败,因为缓存聚合处于脱机状态且无法访问:
Modification not permitted. Unable to determine the state of the volume. This can be because of network connectivity problems or the volume is busy.