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 mount table 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.
-a Turns quotas on and off for all the file systems in the /etc/filesystems
o have the corresponding quota option in the quota field o have a corresponding quotas file in the root directory o are currently mounted with read-write (rw) permission -g Turns group quotas on and off. -u Turns user quotas on and off. -v Displays a message for each file system after quotas are turned on or off.
/etc/filesystems File system characteristics. quotas The user quotas file in the file system root directory. quotas.grp The group quotas file in the file system root directory.
filesystems, mount_vxfs(1M), vxedquota(1M), vxquot(1M), vxquota(1M), vxrepquota(1M)
|VxFS 5.1 SP1||vxquotaon (1M)|