# urbestack-quota-install

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

```
urbestack-quota-install
```

## Description

Enables user disk quotas where possible without a reboot and applies each customer's package limit once quotas are active.

On ext4, the installer mounts the filesystem that holds customer home directories with usrquota. The command loads the kernel's quota format module, scans initial disk usage and enables quotas. On Ubuntu's virtual kernel, it installs linux-modules-extra for the running kernel and linux-image-extra-virtual so future kernels also get the module.

On XFS, the installer adds rootflags=uquota to the kernel boot line. Quotas take effect after a reboot.

When the installer runs during a package installation, it queues this command as a job because apt cannot run while dpkg holds its lock. The command is safe to run again.

## Command family: quota

- [urbestack-quota-apply](https://urbestack.com/docs/commands/urbestack-quota-apply.md): Checks whether the kernel has enabled user disk quotas on the filesystem that holds customer home directories and records the status for the web interface.
