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. Files larger than this are grouped together and are counted as a single 2048-block file, but the total usage displayed is correct.

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, up to a maximum of 2048 blocks.
  • 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 -F vxfs /dev/vx/rdsk/rlv00 | 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/dsk/lv00 (/tstmnt):
2356  auser
243   root
# vxquot -v /tstmnt

/dev/vx/dsk/lv00 (/tstmnt):
2356   auser               0       0       0
 243   root                0       0       0
# vxquot -c /tstmnt

/dev/vx/dsk/lv00 (/tstmnt1):
0       1       0
1       37      37
2       42      121
3       31      214
4       17      282
5       20      382
6       19      496
7       5       531
8       8       595
9       17      748
10      6       808
11      4       852
12      9       960
13      7       1051
14      9       1177
15      7       1282
16      3       1330
17      4       1398
18      2       1434
19      1       1453
20      2       1493
21      1       1514
22      3       1580
23      3       1649
24      2       1697
25      1       1722
26      1       1748
27      3       1829
28      2       1885
30      1       1915
32      2       1979
33      1       2012
37      1       2049
40      2       2129
43      1       2172
84      1       2256
89      1       2345
122     1       2467
132     1       2599
2047    0       2599


FILES

/etc/filesystems
File system characteristics.
/etc/passwd
Password file.

SEE ALSO

filesystems, passwd

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