Veritas™ File System 5.0.1 Administrator's Guide

limits or assign them specific values. Users are allowed to exceed the soft limit,
but only for a specified time. Disk usage can never exceed the hard limit. The
default time limit for exceeding the soft limit is seven days on VxFS file systems.
edquota creates a temporary file for a specified user. This file contains on-disk
quotas for each mounted VxFS file system that has a quotas file. The temporary
file has one or more lines similar to the following:
fs /mnt blocks (soft = 0, hard = 0) inodes (soft=0, hard=0)
fs /mnt1 blocks (soft = 100, hard = 200) inodes (soft=10, hard=20)
Quotas do not need to be turned on for edquota to work. However, the quota limits
apply only after quotas are turned on for a given file system.
edquota has an option to modify time limits. Modified time limits apply to the
entire file system; you cannot set time limits for an individual user.
To set up user quotas
1
Invoke the quota editor:
edquota username
2
Modify the time limit:
edquota -t
Viewing quotas
The superuser or individual user can view disk quotas and usage on VxFS file
systems using the quota command. This command displays the user's quotas and
disk usage on all mounted VxFS file systems where the quotas file exists. You will
see all established quotas regardless of whether or not the quotas are actually
turned on.
To view quotas for a specific user
Use the quota command to view quotas for a specific user:
quota -v username
Turning off quotas
You can turn off quotas for a mounted file system using the quotaoff command.
Quick Reference
Using quotas
206