quotacheck_ufs(1M)


quotacheck_ufs -- ufs filesystem quota consistency checker

Synopsis

/usr/sbin/quotacheck [-F ufs] [generic_options] [-v] [-p] filesystem . . .

/usr/sbin/quotacheck [-F FSType] [generic_options] -a [-p] [-v]

Description

generic_options are options supported by the generic quotacheck command.

quotacheck examines each filesystem, builds a table of current disk usage, and compares this table against that stored 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).

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

quotacheck accesses the character special device in calculating the actual disk usage for each user. Thus, the filesystems checked should be quiescent while quotacheck is running.

ufs-specific options


-F ufs
Specify the ufs FSType. If -F ufs is not specified heuristics similiar to those used by fstyp(1M) are used to determine the file system type.


NOTE: This command executes faster if it is not required to autodetect file system types. If possible, specify the -F ufs.


-v
Indicate the calculated disk quotas for each user on a particular filesystem. quotacheck normally reports only those quotas modified.

-a
Check the filesystems indicated in /etc/mnttab to be read-write. Only those filesystems that have ``rq'' in the ``mntopts'' field of the /etc/vfstab file are checked.

-p
Run parallel passes on the required filesystems.

Files


/etc/mnttab
mounted filesystems

/etc/vfstab
list of default parameters for each filesystem

References

fstyp(1M), generic quotacheck(1M), generic quotaon(1M)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004