SnapMirror snapshot delete fails with error "Snapshot is in use"
Applies to
ONTAP 9
Issue
Attempting to delete a snapshot results in the error:
snapshot delete -volume <source-vol> -snapshot <snapshot-name>
Error: command failed: This Snapshot copy is currently used as a reference Snapshot copy by one or more SnapMirror relationships.
Deleting the Snapshot copy can cause future SnapMirror operations to fail.
::> set adv -conf off; snapshot delete -volume <source-vol> -snapshot <snapshot-name> -ignore-owners true
Error: command failed: Snapshot is in use.