vxquotaon, vxquotaoff - turn quotas on and off for a VxFS file system
vxquotaon [ -guv ] filesystem ...
vxquotaon -a [ -guv ]
vxquotaoff [ -guv ] filesystem ...
vxquotaoff -a [ -guv ]
vxquotaon turns on quotas for one or more mounted VxFS file systems.
vxquotaoff turns off quotas for one or more mounted VxFS file systems.
filesystem must be either the mount point of a VxFS file system or the corresponding block device name.
To turn on user quotas, the file system must have a file called quotas that is owned by root. To turn on group quotas, the file system must have a file called quotas.grp that is owned by root. These files store usage limits for each user and group respectively. See vxedquota (1M) for details on how to create and modify usage limits in the quotas or quotas.grp file. Quotas limits cannot exceed one terabyte.
The vxquotaon/vxquotaoff commands modify the /etc/mnttab entry for the given file system to indicate when the quotas are turned on or off for the file system. mount options for the file system are marked quota if both user and group quotas are on, and noquota if all quotas are off. The mount options for the file system are marked usrquota if only user quotas are on, and grpquota if only group quotas are on.
You can also turn on quotas when mounting the file system by supplying one of the VxFS file system-specific mount options: quota, usrquota, or grpquota.
If neither -g nor -u is specified, both user and group quotas are turned on or off.
See mount_vxfs (1M) for more information.
This command operates the same on cluster file systems, however, to enable quotas for CFS, the quotas file must be on the same file system; links to another file system are not allowed.
Also, the cluster file system must be mounted with the read-write (rw), the cluster read-write (crw), or the default cluster mount (-o cluster) option.
Turns quotas on and off for all the file systems in the /etc/vfstab file that:
Turns group quotas on and off.
Turns user quotas on and off.
Displays a message for each file system after quotas are turned on or off.
Table of mounted file systems.
Table of file system defaults.
The user quotas file in the file system root directory.
The group quotas file in the file system root directory.
mount_vxfs(1M), vxedquota(1M), vxquot(1M), vxquota(1M), vxrepquota(1M), mnttab(4), vfstab(4)