Table of ContentsView in Frames

Selecting the first method to increase space for full FlexVol volumes

If you enable both the volume autosize capability and automatic Snapshot deletion for the same volume, you can also specify which method Data ONTAP tries first when that volume needs additional free space. How you configure the volume depends on whether you would prefer that the volume continue to grow or that Snapshot copies are deleted.

About this task

If the first method that Data ONTAP tries to use for providing additional free space does not result in addressing the free space needs of the volume, then Data ONTAP tries the other method.

In most cases, the default configuration (growing the volume first) is preferable, because when a Snapshot copy is deleted, it cannot be restored. However, in certain situations, you might want to avoid growing the size of a volume when possible. In this case, you can configure Data ONTAP to delete Snapshot copies before increasing the size of the volume.

Step

  1. Select the first method that Data ONTAP should use to provide free space to a volume by using the vol options command with the try-first option.
    To specify increasing the size of the volume first (the default), use volume_grow. To specify deleting Snapshot copies first, use snap_delete.

Example

The following command configures Data ONTAP to delete Snapshot copies before increasing the volume size for the volume vol0001: vol options vol0001 try_first snap_delete