Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Monitoring snapshot disk consumption

Displaying disk consumption  Top

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

To display information about snapshot disk consumption, complete the following step.

Step

Action

1

From the filer console or telnet session, enter the following command:

df

Example

Following is a partial sample df command output:

filerA> 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 sample output, 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 snapshots, for a total for 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 snapshots 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 snapshots is at 50% capacity.

Note that the 50% figure is not 50% of disk space, but 50% of allotted snapshot space. If allotted snapshot 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. The snapshot calculation does not include snapshot data that is shared with the active file system.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments