Veritas File System 4.1 Administrator's Guide (HP-UX 11i v3, February 2007)
Quota
Using Quotas
Chapter 7114
edquota
You can set up user quotas using the edquota command. You must have superuser privileges to edit quotas:
# edquota username
edquota creates a temporary file for the given user; this file contains on–disk quotas for each mounted file
system that has a quotas file. It is not necessary that quotas be turned on for edquota to work. However, the
quota limits are applicable only after quotas are turned on for a given file system.
The soft and hard limits can be modified or assigned values. For any user, usage can never exceed the hard
limit after quotas are turned on. Time limits can be modified using the command:
# edquota –t
Modified time limits apply to the entire file system and cannot be set selectively for each user.
quota
Use the quota command to view a user’s disk quotas and usage on VxFS file systems:
# quota –v username
This displays the user's quotas and disk usage on all mounted VxFS file systems where the quotas file
exists.
quot
Use the quot command to display the number of blocks owned by each user in a file system. The following
command displays the number of files and the space owned by each user:
# quot –f filesystem
quotaoff
To turn off quotas for a mounted file system, enter:
# quotaoff /mount_point