ONTAP 9 Manuals ( CA08871-402 )

to Japanese version

Autodelete Snapshot copies

You can use the volume snapshot autodelete modify command to trigger automatic deletion of Snapshot copies when the Snapshot reserve is exceeded. By default, the oldest Snapshot copies are deleted first.

About this task

LUN and file clones are deleted when there are no more Snapshot copies to be deleted.

Step
  1. Autodelete Snapshot copies:

    volume snapshot autodelete modify -vserver SVM -volume volume -enabled true|false -trigger volume|snap_reserve

    For complete command syntax, see the man page.

    The following example autodeletes Snapshot copies for vol1 when the Snapshot copy reserve is exhausted:

    cluster1::> volume snapshot autodelete modify -vserver vs0 -volume vol1 -enabled true -trigger snap_reserve
Top of Page