HP JFS 3.3 and HP OnLineJFS 3.3 VERITAS File System 3.3 System Administrator's Guide
Chapter 7 123
Quotas
Quota Commands
Quota Commands
NOTE Most of the quotas commands in VxFS (as with HFS) are similar to BSD
quotas commands. However, the VxFS quotacheck command is an
exception—it is not equivalent to the BSD quotacheck command.
In general, quota administration for VxFS is performed using commands
similar to HFS quota commands. The VxFS mount command supports a
special mount option (-o quota), which can be used to turn on quotas at
mount time.
For additional information on the quota commands, see the
corresponding manual pages.
quotacheck With VxFS
The standard practice with most quota implementations is to mount all
file systems and then run a quotacheck on each one. quotacheck reads
all the inodes on disk and calculates the usage for each user. This can be
costly, and because the file system is mounted, the usage can change
while quotacheck is running. VxFS does not support this quotacheck
functionality.
With VxFS, quotacheck is automatically performed (if necessary) at the
time quotas are turned on. A quotacheck is necessary if the file system
has changed with respect to the usage information as recorded in the
internal quotas file. This only happens if the file system has been
written with quotas turned off or if there has been structural damage to
the file system that required a full fsck.
quotacheck reads information for each inode off the disk and rebuilds the
internal quotas file. It is possible that while quotas were not on, quota
limits were changed by the system administrator. These changes are
stored in the external quotas file. As part of enabling quotas processing,
quota limits are read from the external quotas file into the internal
quotas file.