手动创建的快照会自动删除、并自动删除false
适用场景
问题描述
- 缺少手动快照
- 已自动删除快照以释放空间
- 创建快照后的快照列表输出:
CLUSTER::> snap list -vol vol1
---Blocks---
Vserver Volume Snapshot Size Total% Used%
-------- -------- ------------------------------------- -------- ------ -----
SVM_1 vol1
3hour.2022-08-06_0805 74.69GB 4% 9%
3hour.2022-08-06_1105 23.50GB 1% 3%
Manual_DR_1 120KB 0% 0%
Manual_DR_2 104KB 0% 0%
4 entries were displayed.
- EMS日志指示它们已因空间不足而被自动删除:
Sat Aug 06 12:38:15 IST [CLUSTER-02: wafl_spcd_main: monitor.volume.full:debug]: Volume vol1@vserver:898ddad3-0373-11e7-91cb-00a098ac7a64 is full (using or reserving 98% of space and 0% of inodes).
Sat Aug 06 12:38:17 IST [CLUSTER-02: snap_helper: wafl.volume.snap.autoDelete:info]: Deleting Snapshot copy '3hour.2022-08-06_0805' in volume 'vol1@vserver:898ddad3-0373-11e7-91cb-00a098ac7a64' to recover storage.
Sat Aug 06 12:38:20 IST [CLUSTER-02: wafl_spcd_main: monitor.volume.nearlyFull:alert]: Volume vol1@vserver:898ddad3-0373-11e7-91cb-00a098ac7a64 is nearly full (using or reserving 97%% of space and 0%% of inodes).
Sat Aug 06 12:38:29 IST [CLUSTER-02: wafl_spcd_main: monitor.volumes.one.ok:debug]: Volume vol1@vserver:898ddad3-0373-11e7-91cb-00a098ac7a64 is OK.
Sat Aug 06 12:38:36 IST [CLUSTER-02: snap_helper: wafl.volume.snap.autoDelete:info]: Deleting Snapshot copy '3hour.2022-08-06_1105' in volume 'vol1@vserver:898ddad3-0373-11e7-91cb-00a098ac7a64' to recover storage.
Sat Aug 06 12:38:54 IST [CLUSTER-02: snap_helper: wafl.volume.snap.autoDelete:info]: Deleting Snapshot copy 'Manual_DR_1' in volume 'vol1@vserver:898ddad3-0373-11e7-91cb-00a098ac7a64' to recover storage.
Sat Aug 06 12:39:08 IST [CLUSTER-02: snap_helper: wafl.volume.snap.autoDelete:info]: Deleting Snapshot copy 'Manual_DR_2' in volume 'vol1@vserver:898ddad3-0373-11e7-91cb-00a098ac7a64' to recover storage.
- Snapshot设置指示自动删除为false:
::> volume snapshot autodelete show
Vserver Name: SVM_1
Volume Name: vol1
Enabled: false
Commitment: try
Defer Delete: user_created
Delete Order: oldest_first
Defer Delete Prefix: (not specified)