man.bsd.lv manual page server

Manual Page Search Parameters

VQUOTA(8) System Manager's Manual VQUOTA(8)

vquotaVFS quota system utility

vquota [-D | -h] command argument

This manual page documents the vquota 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:

Debug flag, show raw messages sent to and received from kernel
"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.
Show raw user and group ids. Normally vquota attempts to resolve and display full user and group names.

The commands are as follows:

directory
Reports the space (in bytes) occupied by files names located in the directory hierarchy present under directory.
List mounted file systems having space accounting enabled
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.
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
mount_point size
Set a global quota of size bytes for the filesystem mounted under mount_point.
mount_point user size
Set a quota of size bytes for the filesystem mounted under mount_point and the specified user.
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.

The following is an example of a typical usage of the vquota command:

vquota show /mnt/data

vquotactl(2), loader.conf(5)

The vquota utility first appeared in DragonFly 2.13.

Francois Tigeot <ftigeot@wolfpond.org>

March 28, 2012 DragonFly-5.6.1