Setting a Grace Period for Soft Limits

Set the grace period for soft limits by using the edquota command.

  1. Run the edquota -t command to set a grace period for soft limits.
    sudo edquota -t

    Running the command opens a text file in a default text editor. Edit the file to specify the appropriate grace period, as shown in the following example:

    Grace period before enforcing soft limits for users:
    Time units may be: days, hours, minutes, or seconds
      Filesystem     Block grace period     Inode grace period
      /dev/sdb1            7days                  7days 

    Specify the grace periods for the soft limits on the number of blocks and inodes, then save the changes.

    For more information, see the edquota(8) manual page.