Cannot delete snapshot owned by SnapMirror
Applies to
- ONTAP 9
- Snapshot copy
- SnapMirror
Issue
- Attempting to delete a snapshot copy fails with the following:
Error: command failed. Snapshot copy “snap_name” of volume “vol1” on vserver “svm1” has NOT expired or is locked. Use the “snapshot show -fields owners, expiry-time” command to view the expiry or lock status of the snapshot copy.
- The following command shows the snapshot as busy and owned by SnapMirror:
::> volume snapshot show -vserver svm1 -volume vol1 -busy true -fields owners
- Volume was previously a SnapMirror destination, but this was broken off and deleted.
- SnapMirror source volume is no longer available
- Snapshot delete fails even with
-ignore-owners true
set