Home > Veritas Storage Foundation™ File System Manual Pages
VXEDQUOTA (1M) |
Maintenance Commands |
vxedquota -g [ -p proto_group ] groupname ...
vxedquota [ -u ] -t
vxedquota -g -t
You must be a privileged user to edit quotas. You can create quotas on any mounted VxFS file system that contains a quotas or quotas.grp file owned by root in the root directory of the mounted file system. vxedquota can set user or group quota limits even when quotas are not turned on (see the vxquotaon(1M) manual page).
The default editor invoked is vi unless the environment variable EDITOR specifies a different editor. Unassigned UIDs or GIDs can be specified to create quotas limits for future users or groups. This can be useful for establishing default quotas for users or groups who are later assigned a UID or GID. Unassigned user and group names cannot be used similarly.
If no options are specified (a user name or user ID is expected), the temporary file created has one line per file system in the form:
mount_point blocks (soft = limit, hard = limit) \ inodes (soft = limit, hard = limit)fs
where a block is 1024 (1K) bytes. You can modify the limit to set up desired blocks and file limits for a user.
Quotas limits cannot exceed one terabyte.
mount_point blocks (soft = limit, hard = limit) \ inodes (soft = limit, hard = limit)fs
where a block is 1024 (1K) bytes. You can modify the limit fields to specify block and file limits for a group.
mount_point blocks time limit = number tmunit, \ files time limit = number tmunitfs
You can modify the number and tmunit fields to set desired values. tmunit can be one of month, week, day, hour, min or sec; characters appended to these keywords are ignored, so months or minutes is accepted. Time limits are printed in the greatest possible time unit such that the value is greater than or equal to one. If default is printed after the tmunit, it indicates that the value shown is zero (the default).
Similarly for groups, if there is a group, group1, with quota limits already set up, you can set up the same quota limits for group2:# vxedquota -p user1 user2
# vxedquota -g -p group1 group2
This method is useful for automating the setting of quota limits in a script, avoiding the need to use a text editor every time you run vxedquota.
Last updated: 7 May 2007
Copyright ©2009 Symantec Corporation
All rights reserved.