更改 Snapshot 策略后,旧 Snapshot 不会回滚
适用场景
- ONTAP 9.x
- Snapshot 策略
问题描述
- 在卷上更改 Snapshot 策略后,旧快照不会回滚
- 示例:
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.