VERITAS File System 3.5 (HP OnlineJFS/JFS 3.5) Administrator's Guide (August 2003)
Appendix A
VERITAS File System Quick Reference
Using Quotas
89
Using Quotas
You can use quotas to allocate per-user quotas on VxFS file systems.
See “Quotas” on page 71 and the following manual pages for more information about the quota, quotaon,
quotaoff, and edquota commands and their available options:
• edquota (1M)
• quota (1M)
• quotaon (1M)
• quotaoff (1M)
How to Turn On Quotas
You can enable quotas at mount time or after a file system is mounted. The root directory of the file system
must contain a file named quotas that is owned by root.
To turn on quotas for a mounted file system, use the syntax:
quotaon
mount_point
To mount a file system and turn on quotas at the same time, use the syntax:
mount -F vxfs -o quota
special mount_point
If the root directory does not contain a quotas file, the mount command succeeds, but quotas are not turned
on.
Example
To create a quotas file (if it does not already exist) and turn on quotas for a VxFS file system mounted at
/mnt, enter:
# touch /mnt/quotas
# quotaon /mnt
To turn on quotas for a file system at mount time, enter:
# mount -F vxfs -o quota /dev/vx/dsk/fsvol/vol1 /mnt