Unable to cleanup FlexCache relationship due to Bug CONTAP-52499
Applies to
- ONTAP 9
- FlexCache
Issue
Unable to cleanup FlexCache relationship
cluster::*> volume flexcache origin cleanup-cache-relationship -origin-vserver svm_name -origin-volume vol_name -cache-vserver svm_name -cache-volume volume_name_cache
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
"volume_name" in Vserver "svm_name" and FlexCache volume
"volume_name_cache" in Vserver "svm_name". Running this
command unless guided by the "volume flexcache delete" command or
NetApp Support can lead to unwanted outcomes.
Do you want to continue? {y|n}: y
[Job xxxx]: Metadata cleanup job for origin of a FlexCache volume "volume_name_cache" in Vserver "svm_name" queued.
Error: command failed: Cannot cleanup origin of FlexCache volume "volume_name_cache" in Vserver "svm_name", because
the volume is currently in use by another FlexCache operation. Wait a few minutes, then try the command again. If
the problem persists, contact technical support for assistance.
