Snapshot copy has not expired or is locked
Applies to
- ONTAP 9
- SnapMirror
- Snaplock
Issue
- Attempting to delete a snapshot on a destination volume results in the error:
Error: command failed on vserver "xxx" volume "xxx" snapshot "xxx": Failed to delete snapshot "xxx" of volume "xxx" on Vserver "xx". Reason: Snapshot copy has not expired or is locked. Use the"snapshot show -fields owners, expiry-time, snaplock-expiry-time" command to view the expiry and lock status of the Snapshot copy.
- Both
expiry-time
andsnaplock-expiry-time
are past due, still unable to delete the snapshot.