vquotaon(8) — Maintenance
NAME
vquotaon, vquotaoff − turns quota enforcement on or off
SYNOPSIS
/usr/sbin/vquotaon [−guv] setname...
/usr/sbin/vquotaon −a [−guv]
/usr/sbin/vquotaoff [−guv] setname...
/usr/sbin/vquotaoff −a [−guv]
OPTIONS
−aTurns on (with vquotaon) or turns off (with vquotaoff) quotas for all filesets identified in /etc/fstab as read/write with quotas.
−gTurns on or off group quotas only.
−uTurns on or off user quotas only.
−vPrints a message for each fileset whose quotas are turned on or off.
OPERANDS
setname
Specifies one or more filesets. You can specify a fileset by using either the root directory (/usr/staff/myfileset) or domain#set.
DESCRIPTION
Operations supported by the vquotaon and vquotaoff commands are also supported by the quotaon and quotaoff commands. See quotaon(8) and quotaoff(8). The vquotaon and vquotaoff commands are supported only for backward compatibility with operating system versions earlier than DIGITAL UNIX Version 4.0 and will be retired in a future release of the product.
The vquotaon and vquotaoff commands enable or disable user and group quotas that have been established using the vedquota command. To turn the quotas on or off, the filesets specified must have the advfs rq,userquota,groupquota entry in the /etc/fstab file and be mounted at the time.
These commands expect each fileset to have quota files named quota.user and quota.group in the root directory of the fileset. (These default file locations may be overridden in the /etc/fstab file.)
By default both user and group quotas are affected by the vquotaon and vquotaoff commands. Use the −g option to specify only group quotas or the −u option to specify only user quotas.
NOTES
The vquotaon and vquotaoff commands are used to manage user and group quotas: they are not used to manage AdvFS fileset quotas. Use the chfsets command to set or clear fileset quotas.
AdvFS always maintains user and group file and block usage in the quota files (quota.user and quota.group). User and group quota limit information displays with the showfsets command even if quota enforcement is turned off.
RESTRICTIONS
You must be the root user to use the vquotaon and vquotaoff commands.
FILES
/usr/sbin/vquotaon
Specifies the command path
/usr/sbin/vquotaoff
Specifies the command path
[setname_root]/quota.user
Contains user quotas for filesets
[setname_root]/quota.group
Contains group quotas for filesets
/etc/fstab
Contains fileset names and locations
SEE ALSO
chfsets(8), showfsets(8), vedquota(8), vquota(1), vquotacheck(8), vrepquota(8), quotactl(2), fstab(4)