Snapshot delete fails with error Snapshot copy has not expired or is locked
Applies to
- ONTAP 9
- SnapMirror
- Snapshot delete
Issue
Attempting to delete a SnapMirror snapshot results in the error
Error: command failed: Snapshot copy "snapshot name" of volume "volume name" on Vserver "vserver name" has not expired or is locked. Use the "snapshot show -fields owners, expiry-time" command to view the expiry and lock status of the Snapshot copy.