System Administration Guide: Advanced Administration

How to Turn On Quotas

  1. Become superuser.

  2. Turn on file system quotas.


    # quotaon [-v] -a filesystem ...
    

    -v

    Displays a message for each file system after quotas are turned on. 

    -a

    Turns on quotas for all file systems with an rq entry in the /etc/vfstab file.

    filesystem ...

    Turns on quotas for one or more file systems that you specify. More than one file system is specified by separating each file system name with a space. 

Example—Turning On Quotas

The following example shows how to turn quotas on for the file systems on the /dev/dsk/c0t4d0s7 and /dev/dsk/c0t3d0s7 slices.


# quotaon -v /dev/dsk/c0t4d0s7 /dev/dsk/c0t3d0s7
/dev/dsk/c0t4d0s7: quotas turned on
/dev/dsk/c0t3d0s7: quotas turned on