Skip to main content

Autoshrink functionality and snapshot deletion

Contributors netapp-aaron-holt netapp-mwallis netapp-dbagwell netapp-aherbin

Because the autoshrink functionality shrinks the size of a FlexVol volume, it can also affect when volume snapshots are automatically deleted.

The autoshrink functionality interacts with automatic volume snapshot deletion in the following ways:

  • If both the grow_shrink autosize mode and automatic snapshot deletion are enabled, when a volume size shrinks it can trigger an automatic snapshot deletion.

    This is because the snapshot reserve is based on a percentage of the volume size (5 percent by default), and that percentage is now based on a smaller volume size. This can cause snapshots to spill out of the reserve and be deleted automatically.

  • If the grow_shrink autosize mode is enabled and you manually delete a snapshot, it might trigger an automatic volume shrinkage.