删除 FlexCache 关系
如果不再需要 FlexCache 卷,则可删除 FlexCache 关系和 FlexCache 卷。
- 从 FlexCache 卷所在集群让 FlexCache 卷脱机:volume offline -vserver svm_name -volume volume_name
- 删除 FlexCache 卷:volume flexcache delete -vserver svm_name -volume volume_name 将从源卷和 FlexCache 卷删除 FlexCache 关系详细信息。Troubleshooting如果
volume flexcache delete 命令未能清理源侧配置,则系统会提示运行 volume flexcache origin cleanup-cache-relationship 命令。在这种情况下,请转至 3。 - 从原始集群清除源卷中的 FlexCache 关系详细信息:volume flexcache origin cleanup-cache-relationship -origin-volume origin_volume -origin-vserver origin_svm -cache-vserver flexcache_svm -cache-volume flexcache_vol 重要如果运行
volume flexcache origin cleanup-cache-relationship 命令,则会删除且不能重建 FlexCache 关系。 cluster1::> volume flexcache origin cleanup-cache-relationship -origin-volume
origin1 -origin-vserver vs34 -cache-vserver vs56 -cache-volume fc1
Warning: This command only needs to be run if "volume flexcache delete" fails on
the FlexCache cluster and prompts you to run this command. The cache
configuration will be deleted and cannot be reestablished for the
cache relationship between origin of a FlexCache volume
"origin1" in Vserver "vs34" and FlexCache volume
"fc1" in Vserver "vs56".
Do you want to continue? {y|n}: y
提供反馈