set_user_quota
Configure disk usage limits for users on specific filesystems to manage storage allocation and prevent resource exhaustion.
Instructions
Set disk quota limits for a user on a filesystem. This is a dangerous operation and is blocked in safe mode. Set limits to 0 for unlimited.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Server alias (e.g., 'pi1', 'web-server'). Uses default server if not specified. | |
| username | Yes | Username to set quota for | |
| filesystem | Yes | Mount point of the filesystem | |
| soft_block_limit | No | Soft limit for disk blocks (0 = unlimited) | |
| hard_block_limit | No | Hard limit for disk blocks (0 = unlimited) | |
| soft_file_limit | No | Soft limit for file count (0 = unlimited) | |
| hard_file_limit | No | Hard limit for file count (0 = unlimited) |