# Disk quotas are not enforced on AlmaLinux

UrbeStack sysadmin note about XFS. Last updated 30 Nov 2026.

On AlmaLinux, UrbeStack reports that disk quotas are not enforced. XFS enables quotas at mount time, so the root filesystem needs `rootflags=uquota` on the kernel command line and a reboot.

## Symptoms

Every administrator page shows one of these notices.

```output
Disk quotas on / won't be enforced until the server is rebooted. The installer has configured them for the next boot, and account disk limits will take effect after the first quota rebuild.
```
```output
Disk quotas are disabled on /. Account disk limits aren't enforced, although UrbeStack still measures usage nightly. Run `/usr/local/urbestack/install/setup.sh` again and follow its instructions.
```

`urbestack-disk-usage` shows `"on": 0` in its `quota` section. While a reboot is due, it also shows `"pending_reboot": 1`.

## Cause

The root filesystem on AlmaLinux is XFS. XFS enables user quotas only when it mounts. Because the root filesystem mounts at boot, the kernel command line must include `rootflags=uquota`.

The UrbeStack installer adds that option with `grubby` and asks you to reboot the server yourself.

## Resolution

Check whether the default kernel command line includes `rootflags=uquota`.

```
grubby --info=DEFAULT | grep rootflags
```

If the option is missing, add it to every kernel as the installer does.

```
grubby --update-kernel=ALL --args="rootflags=uquota"
```

Reboot the server. Then check that XFS user quota enforcement is on.

```
xfs_quota -x -c state /
```

Apply every customer's disk limit.

```
urbestack-quota-install
```

If the problem persists after you follow this note, you can [open a support ticket](https://support.urbestack.com/new?type=support). Including the output of the commands you ran helps support diagnose the problem.
