Symantec logo

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

vxquotaon mount_point

mount -t 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

# touch /mnt/quotas
# vxquotaon /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

# mount -t vxfs -o quota /dev/vx/dsk/fsvol/vol1 /mnt