Determine the space used by a FlexClone volume

Contributors

You can determine the space used by a FlexClone volume based on its nominal size and the amount of space it shares with the parent FlexVol volume. When a FlexClone volume is created, it shares all of its data with its parent volume. Therefore, although the nominal size of the FlexVol volume is the same as its parent’s size, it uses very little free space from the aggregate.

About this task

The free space used by a newly-created FlexClone volume is approximately 0.5 percent of its nominal size. This space is used to store the FlexClone volume’s metadata.

New data written to either the parent or the FlexClone volume is not shared between the volumes. The increase in the amount of new data that gets written to the FlexClone volume leads to an increase in the space the FlexClone volume requires from its containing aggregate.

Step
  1. Determine the actual physical space used by the FlexClone volume using the volume show command.

    The following example shows the total physical space used by the FlexClone volume:

    cluster1::> volume show -vserver vs01 -volume clone_vol1 -fields size,used,available,
    percent-used,physical-used,physical-used-percent
    vserver    volume     size  available  used   percent-used   physical-used     physical-used-percent
    -------   ----------  ----  ---------  -----  ------------    -------------   ---------------------
    vs01     clone_vol1   20MB   18.45MB   564KB       7%             196KB               1%