Home > Veritas Storage Foundation™ File System Manual Pages

VXQUOTAON (1M)

Maintenance Commands

Table of contents


NAME

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

SYNOPSIS

vxquotaon [ -v ] filesystem ...

vxquotaon -a [ -v ]

vxquotaoff [ -v ] filesystem ...

vxquotaoff -a [ -v ] .. 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 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.


Cluster File System Issues

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) or the cluster read-write (crw) option.


OPTIONS

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

FILES

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

SEE ALSO

filesystems, mount_vxfs(1M), vxedquota(1M), vxquot(1M), vxquota(1M), vxrepquota(1M)

Last updated: 01 April 2006
Copyright ©2009 Symantec Corporation
All rights reserved.