ONTAP 9

to Japanese version

Reduce the size of a FlexGroup volume

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. Check the current FlexGroup volume size: 'volume size -vserver vserver_name -volume fg_name'

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

    When you specify the new size, you can specify either a lower value than the current size or a negative value using the minus sign (-) by which the current size of the FlexGroup volume is reduced.

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

    The following example displays the current volume size for the FlexGroup volume named volX and resizes the volume to 10TB:

    cluster1::> volume size -vserver svm1 -volume volX
    (volume size)
    vol size: FlexGroup volume 'svm1:volX' has size 15TB.
    
    cluster1::> volume size -vserver svm1 -volume volX 10TB
    (volume size)
    vol size: FlexGroup volume 'svm1:volX' size set to 10TB.

    The following example displays the current volume size for the FlexGroup volume named volX and reduces the size of the volume by 5TB:

    cluster1::> volume size -vserver svm1 -volume volX
    (volume size)
    vol size: FlexGroup volume 'svm1:volX' has size 15TB.
    
    cluster1::> volume size -vserver svm1 -volume volX -5TB
    (volume size)
    vol size: FlexGroup volume 'svm1:volX' size set to 10TB.
Top of Page