Monitor the space usage of a FlexGroup volume

Contributors

You can view a FlexGroup volume and its constituents, and monitor the space used by the FlexGroup volume.

About this task

Starting with ONTAP 9.6, elastic sizing is supported. ONTAP automatically grows a constituent of a FlexGroup volume if it is running out of space by shrinking any other constituent in the FlexGroup volume that has free space by an equivalent amount. Elastic sizing avoids any out of space errors that are generated because of one or more FlexGroup constituent volumes running out of space.

Note

Starting with ONTAP 9.9.1, logical space reporting and enforcement is also available for FlexGroup volumes. For more information, see Logical space reporting and enforcement for volumes.

Step
  1. View the space used by the FlexGroup volume and its constituents: volume show -vserver vserver_name -volume-style-extended [flexgroup | flexgroup-constituent]

    cluster-2::> volume show -vserver vs1 -volume-style-extended flexgroup
    Vserver   Volume       Aggregate    State      Type       Size  Available Used%
    --------- ------------ ------------ ---------- ---- ---------- ---------- -----
    vs1       fg1          -            online     RW        500GB    207.5GB   56%
    ccluster-2::> volume show -vserver vs1 -volume-style-extended flexgroup-constituent
    Vserver   Volume       Aggregate    State      Type       Size  Available Used%
    --------- ------------ ------------ ---------- ---- ---------- ---------- -----
    vs1       fg1__0001    aggr3        online     RW      31.25GB    12.97GB   56%
    vs1       fg1__0002    aggr1        online     RW      31.25GB    12.98GB   56%
    vs1       fg1__0003    aggr1        online     RW      31.25GB    13.00GB   56%
    vs1       fg1__0004    aggr3        online     RW      31.25GB    12.88GB   56%
    vs1       fg1__0005    aggr1        online     RW      31.25GB    13.00GB   56%
    vs1       fg1__0006    aggr3        online     RW      31.25GB    12.97GB   56%
    vs1       fg1__0007    aggr1        online     RW      31.25GB    13.01GB   56%
    vs1       fg1__0008    aggr1        online     RW      31.25GB    13.01GB   56%
    vs1       fg1__0009    aggr3        online     RW      31.25GB    12.88GB   56%
    vs1       fg1__0010    aggr1        online     RW      31.25GB    13.01GB   56%
    vs1       fg1__0011    aggr3        online     RW      31.25GB    12.97GB   56%
    vs1       fg1__0012    aggr1        online     RW      31.25GB    13.01GB   56%
    vs1       fg1__0013    aggr3        online     RW      31.25GB    12.95GB   56%
    vs1       fg1__0014    aggr3        online     RW      31.25GB    12.97GB   56%
    vs1       fg1__0015    aggr3        online     RW      31.25GB    12.88GB   56%
    vs1       fg1__0016    aggr1        online     RW      31.25GB    13.01GB   56%
    16 entries were displayed.

    You can use the available space and percentage space used to monitor the space usage of the FlexGroup volume.