Home > Veritas Storage Foundation™ File System Manual Pages

DF_VXFS (1M)

Maintenance Commands

Table of contents


NAME

df_vxfs - report the number of free disk blocks and inodes for a VxFS file system

SYNOPSIS

df [generic_options] [-o { s | ckpt=ckpt_name | ckptall | snapstat | vols}] [directory | special ...]

AVAILABILITY

VRTSvxfs

DESCRIPTION

The df command prints the number of free blocks and free inodes in VxFS file systems based on the counts kept in the super-blocks.

VxFS dynamically allocates inodes from a pool of free blocks. The number of free inodes and blocks reported by df is an estimate based on the number of free 8K or larger extents and the current ratio of allocated inodes to allocated blocks. (Extents smaller than 8K may not be usable for all types of allocation, so df does not count free blocks in extents smaller than 8K.) Allocating additional blocks may therefore decrease the count of free inodes and vice versa.

If the argument to df is a special device name, then the corresponding file system need not be in a mounted state. If the argument is a directory, then df displays information for the file system containing that directory.


NOTES

The output from the VERITAS-specific df command does not display the column headings that are displayed by the df command.

Cluster File System Issues

No cluster issues; command operates the same on cluster file systems.

OPTIONS

generic_options
Supported by the generic df command. See the df manual page for more information.
-o
Specifies VxFS file system-specific options. Only one suboption may be specified at a time.
s
Prints the number of free extents of each size. Free extents are always an integral power of two in length, ranging from a minimum of one block to the maximum extent size supported by the file system.
ckpt=ckpt_name
Reports the number of blocks and inodes used by the specified Storage Checkpoint.
ckptall
Lists all Storage Checkpoints and reports the number of blocks and inodes are used by each.
snapstat
Reports the number of free disk blocks on the specified snapshot file system.
vols
Displays the values of devid, total_space, and free_space of individual volumes of a volume set.

EXAMPLES

Report the number of free disk blocks for mounted VXFS file systems and the number of free files:

/opt/VRTSvxfs/sbin/df

Report the number of free extents of each size for all mounted VxFS file systems:

/opt/VRTSvxfs/sbin/df -o s

Report the number of free files for all mounted VxFS file systems:

/opt/VRTSvxfs/sbin/df -e

Report the number of used and available blocks for the Storage Checkpoint named checkpoint1:


/opt/VRTSvxfs/sbin/df -k -ockpt=ckpt1 /mnt

Filesystem                 kbytes used avail capacity Mounted on
/dev/vx/dsk/dg1/vol3:ckpt1 169944 8840 161104  6%     -

Report the number of used and available blocks for all Storage Checkpoints:


/opt/VRTSvxfs/sbin/df -k -o ckptall /mnt

Filesystem                 kbytes used avail capacity Mounted on
/dev/vx/dsk/dg1/vol3:ckpt1 169944 8840 161104  6%     -
/dev/vx/dsk/dg1/vol3:ckpt2 169944 8840 0       0%     -


FILES

/etc/filesystems
File system characteristics.

SEE ALSO

df, filesystems, fsckptadm(1M), fs_vxfs(4)

Last updated: 01 April 2006
Copyright ©2009 Symantec Corporation
All rights reserved.