Veritas File System 5.1 SP1 Administrator"s Guide (5900-1499, April 2011)

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
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.
143Quick Reference
Using quotas