System Administration Guide: Advanced Administration

How to Change the Soft Time Limit Default

By default, users can exceed the soft time limits for their quotas for one week. So, after a week of repeated violations of the soft time limits of either disk space quotas or inode quotas, the system prevents users from using any more inodes or disk blocks.

You can change the length of time that users might exceed their disk space quotas or inode quotas by using the edquota command.

  1. Become superuser.

  2. Use the quota editor to create a temporary file that contains soft time limits.


    # edquota -t
    

    Where the -t option specifies the editing of the soft time limits for each file system.

  3. Change the time limits from 0 (the default) to the time limits you specify by numbers and the keywords month, week, day, hour, min, or sec.


    Note –

    This procedure does not affect current quota violators.


Examples—Changing the Soft Time Limit Default

The following example shows the contents of the temporary file opened by the edquota command on a system where /export/home is the only mounted file system with quotas. The default value, 0, means that the default time limit of one week is used.


fs /export/home blocks time limit = 0 (default), files time limit = 0 (default)

The following example shows the same temporary file after the time limit for exceeding the blocks quota has been changed to two weeks, and the time limit for exceeding the number of files has been changed to 16 days.


fs /export/home blocks time limit = 2 weeks, files time limit = 16 days