HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
q
quotacheck_hfs(1M) quotacheck_hfs(1M)
NAME
quotacheck - quota consistency checker for HFS file systems
SYNOPSIS
/usr/sbin/quotacheck [-F hfs][-V][-pPv] filesystem ...
/usr/sbin/quotacheck [-F hfs][-V][-pPv] -a
DESCRIPTION
The quotacheck command examines each HFS file system, builds a table of current disk usage, and
compares this table against that stored in the disk quota file for the file system. If any inconsistencies are
detected, both the quota file and the current system copy of the incorrect quotas are updated.
quotacheck expects each file system to be checked to have a file named quotas in the root directory.
If none is present, quotacheck reports an error and ignores the file system. quotacheck is normally
run at mount time from start up scripts.
filesystem represents a mount point or block special device (e.g., /dev/dsk/c1t0d2).
Options
quotacheck recognizes the following options:
-F hfs Specify the file system type hfs.
-V Echo the completed command line, but perform no other action. The command line is
generated by incorporating the user-specified options and other information derived
from /etc/fstab. This option allows the user to verify the command line.
-a Obtain list of file systems to check from /etc/fstab. Only mounted file systems of
type hfs and rw (or default) with the quota option are checked.
-v Indicate the calculated disk quotas for each user on a particular file system. quota-
check
normally reports only those quotas that are modified.
-p Check file systems in parallel as allowed by equal values in the pass number field in
/etc/fstab.
-P Preen file systems, checking only those with invalid quota statistics (quotaoff
and
edquota commands can invalidate quota statistics as discussed in quota(5) — see
quotaoff(1M) and edquota(1M)). Also checks in parallel as in -p above.
AUTHOR
quotacheck was developed by HP and the University of California, Berkeley.
FILES
/etc/fstab Static information about the file systems
/etc/mnttab Mounted file system table
directory/quotas Quota statistics static storage for filesystem where directory is the file system root as
specified to the mount command (see mount(1M)).
SEE ALSO
mount(1M), quota(5), quotacheck(1M), quotaon(1M), quotaoff(1M).
Section 1M−−676 − 1 − HP-UX Release 11i: December 2000
___
___