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