Unable to delete a cached volume despite it being in offline state
Applies to
- FlexCache
- ONTAP 9
Issue
FlexCache relationship cleanup fails with below error message.
::*> volume flexcache origin cleanup-cache-relationship -origin-vserver <origin_vserver> -origin-volume <origin_volume> -cache-vserver <vserver> -cache-volume <cache_volume>
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> in Vserver <vserver> and FlexCache volume <volume> in Vserver <vserver>. 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
Error: command failed: Cannot cleanup origin of FlexCache volume <volume> in Vserver <vserver>, 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.
