Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > Q


HP-UX 11i Version 3: February 2007

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index


quotacheck_hfs: quotacheck — quota consistency checker for HFS file systems


/usr/sbin/quotacheck [-F hfs] [-V] [-pPuv] filesystem ...

/usr/sbin/quotacheck [-F hfs] [-V] [-pPuv] -a


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 (for example, /dev/dsk/c1t0d2).


quotacheck recognizes the following options:


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.

-F hfs

Specify the file system type hfs.


Check file systems in parallel as allowed by equal values in the pass number field in /etc/fstab.


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.


Check user quotas. This is the default action.


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.


Indicate the calculated disk quotas for each user on a particular file system. quotacheck normally reports only those quotas that are modified.


quotacheck was developed by HP and the University of California, Berkeley.



Static information about the file systems


Mounted file system table


Quota statistics static storage for filesystem where directory is the file system root as specified to the mount command (see mount(1M)).


mount(1M), quotacheck(1M), quotaoff(1M), quotaon(1M), quota(5).

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.