QUOTACHECK(8,C) AIX Commands Reference QUOTACHECK(8,C)
-------------------------------------------------------------------------------
quotacheck
PURPOSE
File system quota consistency checker.
SYNTAX
+--------+
quotacheck ---| +----+ |--- filesystem ---|
+-| -p |-+ ^ |
^| -v || +--------------+
|+----+|
+------+
+--------+
quotacheck ---| +----+ |--- -a ---|
+-| -p |-+
^| -v ||
|+----+|
+------+
Warning: See restrictions, Chapter 18, AIX Programming Tools and Interfaces.
DESCRIPTION
The quotacheck command examines each 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 (the latter
occurs only if an active file system is checked). Only superusers can view
quotas on file systems they do not own.
The quotacheck command expects each file system to be checked to have a quota
file named quotas in its root directory. If none is present, quotacheck
ignores the file system.
In calculating the actual disk usage for each user, the quotacheck command
accesses the raw device. Therefore, the file systems checked should be
quiescent while quotacheck is running.
Normally the quotacheck command reports only those quotas modified. If the -v
flag is specified, quotacheck indicates the calculated disk usage for each user
on a particular file system.
FLAGS
Processed November 8, 1990 QUOTACHECK(8,C) 1
QUOTACHECK(8,C) AIX Commands Reference QUOTACHECK(8,C)
-a Reports on all file systems in /etc/filesystems that are set to
"quotas=on".
-p Allows file systems on different drives to be specified, as in the
following example:
quotacheck -p /dev/hd1 - -p /dev/hd7
-v Provides verbose output.
FILES
/etc/dfsck Dual file systems check.
/etc/filesystems Default file systems.
RELATED INFORMATION
See the following commands: "quota," "quotaon, quotaoff," and "fsck, dfsck."
See "setquota" subroutine in the AIX Operating System Technical Reference.
Processed November 8, 1990 QUOTACHECK(8,C) 2