- Data ONTAP 8 7-Mode
- Data ONTAP 7 and earlier
Note: Snapvault snapshots are not protected on the source from autodelete until the snapvault update runs on the destination and locks the snapshot
Why is snapshot autodelete implemented in Data ONTAP 7.1 ?
- Snapshot autodelete is a policy based space management feature that is implemented in Data ONTAP 7.1 (and subsequent Data ONTAP 7G versions) in order to get back space in volume for user data.
- It allows the user to define a policy to automatically delete snapshots when the volume is nearly full. It keeps the amount of unused space in a filer to a minimum level.
- The snapshot autodelete is available for Flexible Volumes only.
Snapshot autodelete command syntax is as follows:
filer> snap autodelete
snap autodelete [on | off | show | reset | help] |
snap autodelete ...
* Supported options and corresponding values are defined as follows:
commitment try, disrupt
trigger volume, snap_reserve, space_reserve
delete_order oldest_first, newest_first
defer_delete scheduled, user_created, prefix, none
When does snapshot autodelete happen?
- When the "trigger" criteria is near full.
volume: The volume is near full.
snap_reserve: The reserve is near full.
space_reserve: The space reserved is near full. (useful for volumes with
fractional_reserve < 100)
- What defines "near full"?
By default near full is defined as 98%.