System Administration Guide: Advanced Administration

ProcedureHow to Check UFS Quotas on a File System

Display the UFS quotas and disk use for all users on one or more file systems by using the repquota command.

  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. Display all UFS quotas for one or more file systems, even if there is no usage.


    # repquota [-v]  -a filesystem
    
    -v

    Reports on UFS quotas for all users, even those users who do not consume resources.

    -a

    Reports on all file systems.

    filesystem

    Reports on the specified file system.


Example 7–7 Checking UFS Quotas on a File System

The following example shows output from the repquota command on a system that has quotas enabled on only one file system (/export/home).


# repquota -va
/dev/dsk/c0t3d0s7 (/export/home):
                  Block limits              File limits
User      used   soft   hard  timeleft  used  soft   hard  timeleft
#301  --            0      1   2.0 days         0      2      3  
#341  --    57     50     60   7.0 days  2      90    100  
Block limits

Definition

used

Is the current block usage.

soft

Is the soft-block limit.

hard

Is the hard-block limit.

timeleft

Is the amount of time, in days, left on the quota timer.

File limits

Is the definition of the file limits.

used

Is the current inode usage.

soft

Is the soft-inode limit.

hard

Is the hard-inode limit.

timeleft

Is the amount of time, in days, left on the quota timer.