Symantec logo

vxquot

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.

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/rdsk/c0t1d0s3 | 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/dsk/c0t1d0s3 (/tstmnt):

109 auser

10 root

# vxquot -v /tstmnt

/dev/dsk/c0t1d0s3 (/tstmnt):

109 auser 0 0 0

10 root 0 0 0

# vxquot -c /tstmnt

/dev/dsk/c0t1d0s3 (/tstmnt1):

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/mnttab

Table of mounted file systems.

/etc/passwd

Password file.

SEE ALSO

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