test veritas logo


vxquotaon(1M)

NAME

vxquotaon, vxquotaoff - turn quotas on and off for a VxFS file system

SYNOPSIS

vxquotaon [ -guv ] filesystem ...

vxquotaon -a [ -guv ]

vxquotaoff [ -guv ] filesystem ...

vxquotaoff -a [ -guv ]

AVAILABILITY

VRTSvxfs

DESCRIPTION

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 user quota file that is owned by root. To turn on group quotas, the file system must have a group quota file that is owned by root. The user and group quota files are dependent on layout version of the file system and are as follows:


Layout Version User Quota File Group Quota File Quota Support Quota Limit ----------------------------------------------------------------- 10 | quotas.64 | quotas.grp.64 | 64-bit | 4 Exabytes | ----------------------------------------------------------------- 9 (or earlier) | quotas | quotas.grp | 32-bit | 1 Terabyte | -----------------------------------------------------------------

The quota 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 quota files.

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. 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.

Cluster File System Issues

This command operates the same on cluster file systems, however, to enable quotas for CFS, the quotas/quotas.64 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.

OPTIONS

vxquotaon/vxquotaoff
-a Turns quotas on and off for all the file systems in the /etc/fstab file that:
o have the corresponding quota option in the mntopts 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.

FILES

/etc/mtab Table of mounted file systems.
/etc/fstab Table of file system defaults.
quotas/quotas.64 The user quotas file in the file system root directory.
quotas.grp/quotas.grp.64 The group quotas file in the file system root directory.

SEE ALSO

mount_vxfs(1M), vxedquota(1M), vxquot(1M), vxquota(1M), vxrepquota(1M), fstab (5)


VxFS 7.4 vxquotaon(1M)