Интерактивная система просмотра системных руководств (man-ов)
quotacheck (1) ( Solaris man: Команды и прикладные программы пользовательского уровня )
>> quotacheck (8) ( FreeBSD man: Команды системного администрирования )
quotacheck (8) ( Linux man: Команды системного администрирования )
- file system quota consistency checker
utility examines each file system,
builds a table of current disk usage,
and compares this table against that recorded
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 only
occurs if an active file system is checked).
By default both user and group quotas are checked.
The following options are available:
If supplied in place of any file system names,
will check all the file systems indicated in
to be read-write with disk quotas.
By default only the types of quotas listed in
Only group quotas listed in
are to be checked.
Specifies the maximum number of concurrent file systems
to check in parallel.
If this option is omitted, or if
is zero, parallel passes are run as per
Only user quotas listed in
are to be checked.
Report discrepancies between the
calculated and recorded disk quotas and other additional diagnostic messages.
is equivalent to the default.
Parallel passes are run on the file systems required,
using the pass numbers in
in an identical fashion to
utility expects each file system to be checked to have a
quota files named
which are located at the root of the associated file system.
These defaults may be overridden in
If a file is not present,
will create it.
These files should be edited with the
utility is normally run at boot time from the
The rc startup procedure is controlled by the
Note that to enable this functionality in
you also need to enable startup quota procedures
with the variable
The kernel must also be built with
utility accesses the raw device in calculating the actual
disk usage for each user.
Thus, the file systems
checked should be quiescent while
The quota system will ignore UIDs or GIDs that would be negative
when evaluated as a signed value.
Typically those types of ids can appear in the file system from NFS
mounts or archive files from other operating systems.
Extremely large UIDs or GIDs will cause
to run for an unreasonable amount of time and also produce extremely
large quota data files.