vquotacheck(8) — Maintenance
NAME
vquotacheck − Checks fileset quota consistency
SYNOPSIS
/usr/sbin/vquotacheck [−gruv] fileset ...
/usr/sbin/vquotacheck −a [−gruv]
FLAGS
−aChecks all filesets identified in /etc/fstab as read/write with disk quotas.
−gChecks group quotas only.
−rChecks each file twice, ensuring that disk quotas include the quota files themselves, which can be lengthened during the first quota check.
−uChecks user quotas only.
−vReports discrepancies between the calculated and recorded disk quotas.
DESCRIPTION
The vquotacheck command examines each specified fileset, builds a table of current disk usage, and compares this table against that stored in the disk quota file for the fileset. If any inconsistencies are detected, both the quota file and the current system copy of the incorrect quotas are updated. Each fileset must be mounted with quotas enabled.
The vquotacheck command runs parallel passes on filesets using the pass numbers specified in the /etc/fstab file. The vquotacheck command only checks filesets with pass number 2 in the /etc/fstab file. A fileset with no pass number or a number less than 2 will not be checked.
The vquotacheck command checks only filesets that have the advfs rq,userquota, or groupquota option specified in the /etc/fstab file.
By default both user and group quotas listed in the /etc/fstab file are checked. Use the −g flag to specify that only group quotas be checked; use the −u flag to specify that only user quotas be checked.
The vquotacheck command does not display activity information while checking filesets. Use the −v flag to report inconsistencies found or procedures performed by the vquotacheck command.
The filesets checked should be quiescent while the vquotacheck command is running.
RESTRICTION
You must have root-user privilege to use the vquotacheck command.
FILES
/usr/sbin/vquotacheck
Specifies the command path
[fileset_root]/quota.user
Contains user quotas for fileset
[fileset_root]/quota.group
Contains group quotas for fileset
/etc/fstabContains fileset names and locations
RELATED INFORMATION
vedquota(8), vquota(1), vquotaon(8), vrepquota(8), quotactl(2), fstab(4).