--- title: "userquota modify" slug: "userquota-modify" tags: ["5.5"] updated: 2026-10-27T23:00:54Z published: 2026-10-27T23:00:54Z canonical: "docs.vastdata.com/userquota-modify" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # userquota modify This command creates a user or group quota rule for a specific directory quota. #### Usage ```plaintext userquota modify --id ID                 [--grace-period]                 [--soft-limit]                 [--hard-limit]                 [--hard-limit-inodes]                 [--soft-limit-inodes] ``` #### Required Parameters | `--id ID` | Specifies which to user quota rule to modify. | | --- | --- | #### Options | `--grace-period` | Sets or modifies a grace period. If the specified user's or group's capacity usage continues to exceed the soft limit for the period of time set as the grace period, the user or group is blocked from writing to the directory. Specify `GRACE_PERIOD` in the format: `[DD] [HH:[MM:]]ss` or as an integer followed by d for days, h for hours, m for minutes, or s for seconds. Examples: - To specify 30 days, 20 hours, 15 minutes and 10 seconds: `--grace-period 30 20:15:10`. - To specify 18 hours: `--grace-period 18:00`. - To specify 7 days: `--grace-period 7d` | | --- | --- | | `--soft-limit` | Sets or modifies a capacity usage soft limit for the specified user/group. | | `--hard-limit` | Sets or modifies a storage usage limit. No writes are allowed for the specified user/group beyond this limit. The value must be a complete integer and must be specified with a unit of measurement. Do not insert a space between the value and the unit of measurements. Valid units are: - Base 10: *KB*, *MB*, *GB*, *TB*, *PB*, *EB*, - Base 2: *KiB*, *MiB*, *GiB*, *TiB*, *PiB*, *EiB* | | `--hard-limit-inodes` | Sets or modifies a limit on the number of directories and unique files the specified user/group can create under the path. A file with multiple hardlinks is counted only once. | | `--soft-limit-inodes` | Sets or modifies a soft limit on the number of directories and unique files under the path. Warnings of exceeding the quota are issued when the limit is reached. A file with multiple hardlinks is counted only once. |