Home > Veritas Storage Foundation™ File System Manual Pages
VXQUOTAON (1M) |
Maintenance Commands |
vxquotaon -a [ -guv ]
vxquotaoff [ -guv ] filesystem ...
vxquotaoff -a [ -guv ]
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/mtab 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.
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/fstab file that:
- have the corresponding quota option in the mntopts field
- have a corresponding quotas file in the root directory
- 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.
Last updated: 7 May 2007
Copyright ©2009 Symantec Corporation
All rights reserved.