VERITAS File System 3.5 (HP OnlineJFS/JFS 3.5) Administrator's Guide (August 2003)
Chapter 6
Quotas
Quota Commands
73
Quota Commands
Most of the quotas commands in VxFS are similar to BSD quotas commands. In general, quota
administration for VxFS is performed using commands similar to HFS quota commands. The VxFS mount
command supports a special mount option (–o quota), that can be used to turn on quotas at mount time.
For additional information on the quota commands, see the corresponding manual pages.
Using Quotas
This section shows usage examples of the VxFS quota commands.
quotaon
To use the quota functionality on a file system, quotas must be turned on. You can turn them on at mount
time or after a file system is mounted.
NOTE Before turning on quotas, the root directory of the file system must contain a file for user
quotas named quotas owned by root.
To turn on quotas for a VxFS file system, enter:
# quotaon
/mount_point
mount
You can also turn on quotas for a file system at mount time by specifying the –o quota option to the mount
command:
# mount –F vxfs –o quota
special
|
mount_point
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.