Home
Search all pages
Subjects
By activity
Professions, Sciences, Humanities, Business, ...
User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...
Text Strings
Conversions, tests, processing, manipulation,...
Math
Integer, Floating point, Matrix, Statistics, Boolean, ...
Processing
Algorithms, Memory, Process control, Debugging, ...
Stored Data
Data storage, Integrity, Encryption, Compression, ...
Communications
Networks, protocols, Interprocess, Remote, Client Server, ...
Hard World Timing, Calendar and Clock, Audio, Video, Printer, Controls...
File System
Management, Filtering, File & Directory access, Viewers, ...
|
|
|
RocketLink!--> Man page versions:
OpenBSD
FreeBSD
NetBSD
Others
QUOTACHECK(8) OpenBSD System Manager's Manual QUOTACHECK(8)
NAME
quotacheck - filesystem quota consistency checker
SYNOPSIS
quotacheck [-d] [-g] [-u] [-v] filesystem ...
quotacheck [-d] [-g] [-l maxparallel] [-u] [-v] -a
DESCRIPTION
Quotacheck examines each filesystem, builds a table of current disk us-
age, and compares this table against that recorded in the disk quota file
for the filesystem. 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 filesystem is checked). By default both
user and group quotas are checked.
Available options:
-a If the -a flag is supplied in place of any filesystem names,
quotacheck will check all the filesystems indicated in /etc/fstab
to be read-write with disk quotas. By default only the types of
quotas listed in /etc/fstab are checked.
-d Enable debugging mode, no actual data will be written on disk(s).
-g Only group quotas listed in /etc/fstab are to be checked.
-l maxparallel
Limit the number of parallel checks to the number maxparallel
specified in the argument (see fsck(8)).
-u Only user quotas listed in /etc/fstab are to be checked.
-v quotacheck reports discrepancies between the calculated and
recorded disk quotas.
Specifying both -g and -u is equivalent to the default. Parallel passes
are run on the filesystems required, using the pass numbers in /etc/fstab
in an identical fashion to fsck(8).
Normally quotacheck operates silently.
Quotacheck expects each filesystem to be checked to have a quota files
named quota.user and quota.group which are located at the root of the as-
sociated file system. These defaults may be overridden in /etc/fstab. If
a file is not present, quotacheck will create it.
Quotacheck is normally run at boot time from the /etc/rc.local file, see
rc(8), before enabling disk quotas with quotaon(8).
Quotacheck accesses the raw device in calculating the actual disk usage
for each user. Thus, the filesystems checked should be quiescent while
quotacheck is running.
FILES
quota.user at the filesystem root with user quotas
quota.group at the filesystem root with group quotas
/etc/fstab default filesystems
SEE ALSO
quota(1), quotactl(2), fstab(5), edquota(8), fsck(8), quotaon(8),
repquota(8)
HISTORY
The quotacheck command appeared in 4.2BSD.
Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts Institute of Technology, Free Software Foundation, FreeBSD Inc., and others. |
(Corrections, notes, and links courtesy of RocketAware.com)
FreeBSD Sources for quotacheck(8) OpenBSD sources for quotacheck(8)
Up to: File System Information - Obtaining information of the filesystem as a whole. Status of disk subsystems, capacity, etc.
Up to: Process Limits: Resources - Process Limits on resource usage (disk, CPU, memory, et al)
RocketLink!--> Man page versions:
OpenBSD
FreeBSD
NetBSD
Others
Rapid-Links:
Search | About | Comments | Submit Path: RocketAware > man pages >
quotacheck.8/
RocketAware.com is a service of Mib Software Copyright 1999, Forrest J. Cavalier III. All Rights Reserved. We welcome submissions and comments
|