Skip to main content
NetApp Knowledge Base

Old Snapshots are not rolling off after Snapshot policy change

Views:
503
Visibility:
Public
Votes:
1
Category:
snapmirror
Specialty:
dp
Last Updated:

Applies to

  • ONTAP 9.x
  • Snapshot Policy

Issue

  • Old snapshots are not rolling off after the Snapshot policy has been changed on a Volume
  • Example:

Cluster1::> volume show -volume vol1 -fields snapshot-policy
vserver      volume snapshot-policy
------------ ------ ---------------
SVM01        vol1   NewPolicy

Cluster1::> volume snapshot policy show
Vserver: Cluster1
OldPolicy                          3 true    Default policy with hourly, daily & weekly schedules.
    Schedule               Count     Prefix                 SnapMirror Label
    ---------------------- -----     ---------------------- -------------------
    hourly                     6     hour4-12               -
    daily                      8     daily8                 daily
    weekly                     2     weekly                 weekly

NewPolicy                          3 true    Default policy with hourly, daily & weekly schedules.
    Schedule               Count     Prefix                 SnapMirror Label
    ---------------------- -----     ---------------------- -------------------
    hourly                     6     hourly                 -
    daily                      2     daily                  daily
    weekly                     2     weekly                 weekly

Cluster1::> snapshot show -volume vol1
Vserver  Volume   Snapshot                
-------- -------- ------------------------
SVM01
         vol1
                  daily8.2021-09-24_2000  
                  daily8.2021-09-25_2000  
                  daily8.2021-09-26_2000  
                  daily8.2021-09-27_2000  
                  daily8.2021-09-28_2000  
                  daily8.2021-09-29_2000  
                  daily8.2021-09-30_2000  
                  daily8.2021-10-01_2000  
                  daily8.2021-10-02_2000  
                  daily8.2021-10-03_2000  
                  daily8.2021-10-04_2000  
                  daily8.2021-10-05_2000  
                  hour4-12.2021-10-06_0400
                  hour4-12.2021-10-06_1200
                  daily8.2021-10-06_2000  
                  hour4-12.2021-10-07_0400
                  hour4-12.2021-10-07_1200
                  daily8.2021-10-07_2000  
                  hour4-12.2021-10-08_0400
                  hour4-12.2021-10-08_1200

                  weekly.2021-10-31_0015  
                  weekly.2021-11-07_0015  
                  daily.2021-11-09_0010   
                  daily.2021-11-10_0010   
                  hourly.2021-11-10_0505  
                  hourly.2021-11-10_0605  
                  hourly.2021-11-10_0705  
                  hourly.2021-11-10_0805  
                  hourly.2021-11-10_0905  
                  hourly.2021-11-10_1005  
30 entries were displayed.

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.