NAME
vquota
—
VFS quota system utility
SYNOPSIS
vquota |
[-D | -h ]
command argument |
DESCRIPTION
This manual page documents thevquota
utility which
provides functions for managing virtual file system accounting and quotas.
To use the vquota
utility, the
vfs.quota_enabled tunable needs to be set in
loader.conf(5).
The following options are available:
-D
- Debug flag, show raw messages sent to and received from kernel
-h
- "Human-readable" output. Use unit suffixes: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the number of digits to four or fewer.
-n
- Show raw user and group ids. Normally
vquota
attempts to resolve and display full user and group names.
The commands are as follows:
check
directory- Reports the space (in bytes) occupied by files names located in the directory hierarchy present under directory.
lsfs
- List mounted file systems having space accounting enabled
show
mount_point- Show file size usage and quota limits for the file system mounted under mount_point. The information is broken down by uid and gid and is expressed by default in bytes.
sync
mount_point- Initialize in one go the usage counters for the filesystem mounted under mount_point with real usage data. This command scans an entire filesystem directory hierarchy and may be slow to run
limit
mount_point size- Set a global quota of size bytes for the filesystem mounted under mount_point.
ulim
mount_point user size- Set a quota of size bytes for the filesystem mounted under mount_point and the specified user.
glim
mount_point group size- Set a quota of size bytes for the filesystem mounted under mount_point and the specified group.
A limit of 0 effectively means checks are disabled.
EXAMPLES
The following is an example of a typical usage of the
vquota
command:
vquota show /mnt/data
SEE ALSO
HISTORY
The vquota
utility first appeared in
DragonFly 2.13.
AUTHORS
Francois Tigeot <ftigeot@wolfpond.org>