Snapshots manually created are auto deleted with autodelete false
Applies to
Issue
- Manual snapshots missing
- Snapshots were auto-deleted to free up space
- Output of snap list after snapshot creation:
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 logs indicate they were automatically deleted due to an out of space condition:
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 settings indicate autodelete is 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)