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.
| 1 | From the filer console or telnet session, enter the following command: df |
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%
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.
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00476
File: snap9.htm
Last updated: 11/13/03 17:17:21