Skip to main content

NetApp_Insight_2020.png 

NetApp Knowledgebase

What is Snapshot autodelete and how is it used in 7-mode?

Views:
219
Visibility:
Public
Votes:
0
Category:
data-ontap-7
Specialty:
core
Last Updated:

Applies to

  • Data ONTAP 8 7-Mode
  • Data ONTAP 7 and earlier

Answer

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 spaced 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
target_free_space      1-100
delete_order           oldest_first, newest_first
defer_delete           scheduled, user_created, prefix, none
prefix

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%.

 

Additional Information

additionalInformation_text