Query: quotacheck
OS: bsd
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
QUOTACHECK(8) System Manager's Manual QUOTACHECK(8)NAMEquotacheck - filesystem quota consistency checkerSYNOPSISquotacheck [ -v ] filesystem ... quotacheck [ -v ] -aDESCRIPTIONQuotacheck examines each filesystem, builds a table of current disk usage, 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). 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. -v quotacheck reports discrepancies between the calculated and recorded disk quotas. 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 quotas located at the root of the associated 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.FILESquotas at the filesystem root /etc/fstab default filesystemsBUGSThe quotas file may be named arbitrarily but must reside in the filesystem for which it contains quota information. Quotacheck will give the error: %s dev (0x%x) mismatch %s (0x%x) if the quotas file is not in the filesystem being checked. This restriction is enforced by the kernel but may be lifted in the future.SEE ALSOquota(1), quotactl(2), fstab(5), edquota(8), fsck(8), quotaon(8), repquota(8)HISTORYThe quotacheck command appeared in 4.2BSD. 4.2 Berkeley Distribution January 24, 1996 QUOTACHECK(8)
Related Man Pages |
---|
quotacheck(8) - netbsd |
quotacheck(8) - freebsd |
quotacheck(1m) - php |
quotacheck(1m) - x11r4 |
quotacheck(1m) - posix |
Similar Topics in the Unix Linux Community |
---|
Move a disk to Sol. 2.6 |
alt_boot disk |
/ filesystem is mounted read only |
Filesystems using more than 75% capacity |
Move root disk to new identical hardware |