FlexCache creation fails as volume is in use by another FlexCache
Applies to
- FlexCache
- ONTAP 9
Issue
- FlexCache creation fails as volume is in use by another FlexCache:
::> volume flexcache create -vserver <vserver> -volume <volume> -origin-volume <origin_volume> -origin-vserver <origin_vserver> -size <size> -junction-path <junction_path>
Error: command failed: Cannot provision FlexCache volume <volume>, because volume <volume> in Vserver <vserver> is currently in use by another FlexCache operation. Wait a few minutes and try the command again. If the problem persists, contact technical support for assistance.
- Previous Flexcache volume was deleted however relationship cleanup has not been performed.
- FlexCache relationship cleanup fails with the same error message as above.
::*> 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.