A custom snapshot policy is not taking snapshots as per the schedule
Applies to
- ONTAP 9
- Snapshots
Issue
- Snapshots do not exist even though the volume has a snapshot policy assigned:
cluster1::> volume show -vserver svm1 -volume testvol -fields snapshot-policy
vserver volume snapshot-policy
------- ------- ---------------
svm1 testvol Every5Mins
cluster1::> snapshot show -vserver svm1 -volume testvol
There are no entries matching your query.
- Manual snapshot work as expected.
- Snapshot events confirm that the snapshots are being created correctly as per the schedule but cannot be seen in the snapshot list:
cluster1::> event log show -message-name wafl.vol.snap_create.done -severity * -time >5m -event *testvol*
Time Node Severity Event
------------------- ---------------- ------------- ---------------------------
9/4/2024 11:00:00 cluster1-01 INFORMATIONAL wafl.vol.snap_create.done: type="Volume", owner="", vol="testvol", app="", volident="@vserver:0e54cd19-f202-11ee-9992-005056b04135", run_time="39"