System Administration Guide

How to Check Quotas on a File System

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

  1. Become superuser.

  2. Display all quotas for one or all file systems, even if there is no usage.


    # repquota [-v] -a | filesystem
    

    -v

    (Optional) Reports on quotas for all users-even those who do not consume resources. (Verbose mode). 

    -a

    Reports on all file systems. 

    filesystem

    (Reports on the specified file system. 

      

Example--Checking 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

 

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

 

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