Skip to main content
NetApp Knowledge Base

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

Views:
1,146
Visibility:
Public
Votes:
0
Category:
data-ontap-7
Specialty:
7dot
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 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
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

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.