Table of ContentsView in Frames

Determining the space used by a FlexClone volume

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.

About this task

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. The free space used by a newly-created FlexClone volume is approximately 0.5% 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.

Steps

  1. Determine the nominal size of the FlexClone volume by using the volume size command.
    Example
    The following example shows the nominal size of a FlexClone volume clone1:
    cluster1::> volume size -volume clone1
    
    vol size: Volume "vs1:clone1" has size 200m.
    
  2. Determine the amount of space that is shared between the parent and FlexClone volume by using the volume clone split estimate command.
    Example
    The following example shows the amount of space shared between the FlexClone volume clone1 and its parent volume vol1:
    cluster1::>  volume clone split estimate -vserver vs1 -flexclone clone1
                                 Split
    Vserver   FlexClone       Estimate
    --------- ------------- ----------
    vs1       clone1            2.34MB
    
    
  3. Subtract the size of the shared space from the nominal size of the FlexClone volume to determine the amount of free space being used by the FlexClone volume.