Home > Veritas Storage Foundation™ File System Manual Pages

VXQUOT (1M)

Maintenance Commands

Table of contents


NAME

vxquot - display file system ownership summaries for a VxFS file system

SYNOPSIS

vxquot [ -c ] filesystem

vxquot [ -fghnuv ] filesystem

vxquot -a [ -c ]

vxquot -a [ -fghnuv ]


AVAILABILITY

VRTSvxfs

DESCRIPTION

vxquot displays the number of blocks owned by each user in the named Veritas File System. Blocks are 1024 bytes.

Cluster File System Issues

This command operates the same on cluster file systems, however, to enable quotas for CFS, the quotas file must be on the same file system; links to another file system are not allowed.

OPTIONS

-a
Displays usage summary for all the mounted VxFS file systems.
-c
Prints a three column output of overall file system usage.
  • Column one displays file size in blocks. Files larger than 2047 blocks are included in the 2047-block entry.
  • Column two contains the number of files of that size. Files larger than 2048 blocks display as 2048-block files.
  • Column three shows the cumulative total of blocks containing files of that size or smaller.
-f
Displays the number of files and the space owned by each user. Incompatible with the -c and -v options. If specified with -f, the -c or -v option takes precedence.
-g
Prints summaries for groups.
-h
Computes size based on the number of blocks in the file. This does not account for holes in a file.
-n
Attach user names to the list of files read from standard input. vxquot -n does not work by itself, it requires data from standard input. For example:


ncheck -t vxfs /dev/vx/rdsk/fsvol/vol1 | vxquot -n tstmnt

-u
Prints summaries for users.
-v
Supplies additional information to the default output. Displays three additional columns containing the number of blocks not accessed in the previous 30, 60, and 90 days.

EXAMPLES

The following examples show the output of vxquot using various options.

# vxquot /tstmnt

/dev/vx/rdsk/fsvol/vol1 (/tstmnt):
109   auser
 10   root
# vxquot -v /tstmnt

/dev/vx/rdsk/fsvol/vol1 (/tstmnt):
109   auser               0       0       0
 10   root                0       0       0
# vxquot -c /tstmnt

/dev/vx/rdsk/fsvol/vol1 (/tstmnt):
0       2       0
1       4       4
2       4       12
3       5       27
4       1       31
7       1       38
10      2       58
12      1       70
15      1       85
16      1       101
18      1       119
2047    0       119


FILES

/etc/mtab
Table of mounted file systems.
/etc/passwd
Password file.

SEE ALSO

vxedquota(1M), vxquotaon(1M), passwd(4)

Last updated: 7 May 2007
Copyright ©2009 Symantec Corporation
All rights reserved.