无法删除孤立 FlexCache 卷
适用于
- NetApp ONTAP
- FlexCache 卷
问题描述
尝试删除 FlexCache 卷失败,错误指示卷仍处于 FlexCache 关系中和/或 -is-writeback-enabled 属性设置为 true。原始源(origin)卷已被删除,导致孤立的 FlexCache 卷无法使用标准程序删除。
示例日志输出:
尝试删除 FlexCache 卷时出现以下错误:
::> volume flexcache delete -vserver svm01 -volume flexcache_vol
Error: command failed: Failed to delete FlexCache volume "flexcache_vol" in Vserver "svm01" because the "-is-writeback-enabled" property is true. Run "volume online -vserver svm01 -volume "flexcache_vol" to bring the volume back online and then run "volume flexcache config modify -vserver svm01 -volume flexcache_vol -is-writeback-enabled false" to disable the "-is-writeback-enabled" property.
当尝试将该卷联机时:
::> volume online -vserver svm01 -volume flexcache_vol
vol online: Error onlining volume "svm01:flexcache_vol". FlexCache volume "flexcache_vol" in Vserver "svm01" is not in a FlexCache relationship with origin of a FlexCache volume "flexcache_vol". The origin might have been cleaned-up. Use the "volume flexcache delete" command to delete the FlexCache relationship and create a new FlexCache volume using the "volume flexcache create" command.