Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

quotacheck(8) [bsd man page]

QUOTACHECK(8)						      System Manager's Manual						     QUOTACHECK(8)

NAME
quotacheck - filesystem quota consistency checker SYNOPSIS
quotacheck [ -v ] filesystem ... quotacheck [ -v ] -a DESCRIPTION
Quotacheck 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. FILES
quotas at the filesystem root /etc/fstab default filesystems BUGS
The 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 ALSO
quota(1), quotactl(2), fstab(5), edquota(8), fsck(8), quotaon(8), repquota(8) HISTORY
The quotacheck command appeared in 4.2BSD. 4.2 Berkeley Distribution January 24, 1996 QUOTACHECK(8)

Check Out this Related Man Page

quotacheck(1M)						  System Administration Commands					    quotacheck(1M)

NAME
quotacheck - ufs file system quota consistency checker SYNOPSIS
quotacheck [-fp] [-v] filesystem... quotacheck -a [-fpv] DESCRIPTION
quotacheck examines each mounted ufs file system, builds a table of current disk usage, and compares this table against the information stored in the file system's disk quota file. If any inconsistencies are detected, both the quota file and the current system copy of the incorrect quotas are updated. filesystem is either a file system mount point or the block device on which the file system resides. quotacheck expects each file system to be checked to have a quota file named quotas in the root directory. If none is present, quotacheck will not check the file system. quotacheck accesses the character special device in calculating the actual disk usage for each user. Thus, the file systems that are checked should be quiescent while quotacheck is running. OPTIONS
The following options are supported: -a Check the file systems which /etc/mnttab indicates are ufs file systems. These file systems must be read-write mounted with disk quotas enabled, and have an rq entry in the mntopts field in /etc/vfstab. -f Force check on file systems with logging enabled. Use in combination with the -p option. -p Check quotas of file systems in parallel. For file systems with logging enabled, no check is performed unless the -f option is also specified. -v Indicate the calculated disk quotas for each user on a particular file system. quotacheck normally reports only those quotas modi- fied. USAGE
See largefile(5) for the description of the behavior of quotacheck when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes). FILES
/etc/mnttab Mounted file systems /etc/vfstab List of default parameters for each file system ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
edquota(1M), quota(1M), quotaon(1M), repquota(1M), attributes(5), largefile(5), quotactl(7I), mount_ufs(1M) SunOS 5.11 31 Jul 1998 quotacheck(1M)
Man Page