Table of ContentsLibraryView in Frames

Monitoring Snapshot disk consumption

The df command displays the amount of free space on a disk. It treats Snapshot copies as a partition different from the active file system.

Step

  1. To display information about Snapshot disk consumption, enter the following command: df

    Example

    systemA> df
    Filesystem 	        kbytes   used     avail    capacity
    /vol/vol0 	         3000000  2000000  1000000   65%
    /vol/vol0/.snapshot 1000000  500000   500000    50%
    

    Explanation of sample output: In the example, the kbytes column shows that the vol0 volume contains 3,000,000 KB (3 GB) of disk space for the active file system and 1,000,000 KB (1 GB) of disk space reserved for Snapshot copies, for a total of 4,000,000 KB (4 GB) of disk space. In this example, 66% of the active disk space is used and 33% is available. Note that the capacity percentage rounds down to 65%. The 1,000,000 KB (1 GB) of disk space for Snapshot copies represents 25% of the volume capacity, of which 500,000 KB (0.5 GB) is used and 500,000 KB (0.5 GB) is available, so that the space for Snapshot copies is at 50% capacity.
    Note: The 50% figure is not 50 percent of disk space, but 50 percent of the space allotted for Snapshot copies. If this allotted space is exceeded, this number will be over 100%.
    It is important to understand that the /vol/vol0/.snapshot line counts data that exists only in a Snapshot copy. The Snapshot calculation does not include Snapshot data that is shared with the active file system.