Reduce the size of a FlexGroup volume

Contributors

Starting with ONTAP 9.6, you can resize a FlexGroup volume to a value lower than its current size to free up the unused space from the volume. When you reduce the size of a FlexGroup volume, ONTAP automatically resizes all of the FlexGroup constituents.

Step
  1. Reduce the size of the FlexGroup volume: volume size -vserver vserver_name -volume fg_name -size new_size

    new_size is the size of the FlexGroup volume. You can either specify a lower value than the current size or a negative value by which the current size of the FlexGroup volume is reduced.

    Note

    If automatic shrinking is enabled for the volume (volume autosize command), the minimum autosize is set to the new size of the volume.

    cluster1::> volume size -vserver svm1 -volume volX -size 10TB
    cluster1::> volume size -vserver svm1 -volume volX -size -5TB