Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ quotacheck(8) — Ultrix/UWS 4.2 VAX

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

quota(2)

setquota(2)

quotaon(8)

quotacheck(8)

Name

quotacheck − file system quota consistency checker

Syntax

/etc/quotacheck [ −v ] [ −f ] filesystem ... 
/etc/quotacheck [ −v ] −a

Description

The quotacheck command examines each file system, builds a table of current disc usage, and compares this table against that stored in the disc quota file for the file system. If quotacheck detects any inconsistencies, it updates both the quota file and the current system copies of the incorrect quotas.  Inconsistencies occur only if an active file system is checked.

Normally, quotacheck returns a warning if it cannot find a valid quota file.  If you use the −f option, quotacheck creates a quota file automatically and then performs its normal functions.

If you use the −a flag in place of any file system name, quotacheck checks all the file systems listed in /etc/fstab to be read-write with disc quotas.

Normally quotacheck reports only modified quotas. If the −v option is supplied, quotacheck will indicate the calculated disc quotas for each user on a particular file system.

The quotacheck command expects each file system to be checked to have a quota file named quotas in the root directory.  If none is present, quotacheck will ignore the file system.

The quotacheck command is normally run at boot time from the /etc/rc.local file, before enabling disc quotas with quotaon(.). For further information, see rc(.).

The quotacheck command accesses the raw device in calculating the actual disc usage for each user.  Thus, the file systems checked should be quiescent while quotacheck is running.

Files

/etc/fstab Default file systems

See Also

quota(2), setquota(2), quotaon(8)
“Disk Quotas in a UNIX Environment,” ULTRIX Supplementary Documents, Volume 3: System Manager

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026