Veritas™ File System 5.0.1 Administrator's Guide
Turning 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
1
Turn on quotas for a mounted file system:
quotaon mount_point
2
Mount a file system and turn on quotas at the same time:
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 of turning on quotas for a mounted file system
The following example creates a quoatas file and turns on quotas for a VxFS file
system mounted at /mnt.
To turn on quotas for a mounted file system
◆
Create a quotas file if it does not already exist and turn on quotas for a VxFS
file system mounted at /mnt:
# touch /mnt/quotas
# quotaon /mnt
Example of turning on quotas at mount time
The following example turns on quotas when the /dev/vx/dsk/fsvol/vol1 file
system is mounted.
To turn on quotas for a file system at mount time
◆
Turn on quotas at mount time by specifying the -o quota option:
# mount -F vxfs -o quota /dev/vx/dsk/fsvol/vol1 /mnt
Setting up user quotas
You can set user quotas with the edquota command if you have superuser
privileges. User quotas can have a soft limit and hard limit. You can modify the
205Quick Reference
Using quotas