System Administration Guide: Advanced Administration

ProcedureHow to Turn On Quotas

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  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 7–5 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