# Per-server disk quota override is reset to Account Plan value by Virtualmin webmincron job

**URL:** <https://forum.virtualmin.com/t/per-server-disk-quota-override-is-reset-to-account-plan-value-by-virtualmin-webmincron-job/138240>\
**Category:** Virtualmin\
**Created:** [October 28, 2026, 9:52am UTC](https://forum.virtualmin.com/t/per-server-disk-quota-override-is-reset-to-account-plan-value-by-virtualmin-webmincron-job/138240 "2026-10-28T09:52:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghost23](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/g/7c8e57/32.png) [@ghost23](https://forum.virtualmin.com/u/ghost23)\
**Post date:** [October 28, 2026, 9:52am UTC](https://forum.virtualmin.com/t/per-server-disk-quota-override-is-reset-to-account-plan-value-by-virtualmin-webmincron-job/138240/1 "2026-10-28T09:52:52Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | Debian 11 |
| Webmin version | 2.660 |
| Virtualmin version | 8.2.0 |
| Webserver version | Apache/2.4.66 |
| Related packages | SUGGESTED |

I am trying to temporarily increase the disk quota of a single Virtual Server without changing the Account Plan for all other Virtual Servers using that plan.

The Virtual Server is:

```auto
Domain: example.com

Unix user: exampleuser

Account Plan: example_plan

Plan ID: 149984792029540

```

The assigned Account Plan has a 5 GB quota:

```auto
quota=5242880

uquota=5242880

```

My intention is to temporarily give this single Virtual Server 10 GB while keeping it assigned to the existing 5 GB Account Plan.

I changed the quota using:

**Edit Virtual Server → Quotas and Limits**

Immediately after saving, the Virtualmin domain configuration correctly contained:

```auto
plan=149984792029540

uquota=10485760

quota=10485760

```

The actual Unix filesystem quota was also correctly changed to 10 GB:

```auto
Disk quotas for user exampleuser (uid 1373):
 

Filesystem blocks quota limit

/dev/sda1 45056 10485760 10485760

```

I also unchecked:

**“Apply limits from new plan if changed”**

and saved the Virtual Server again.

Immediately after saving, everything was still correct:

```auto
plan=149984792029540

uquota=10485760

quota=10485760

```

and:

```auto
Filesystem blocks quota limit

/dev/sda1 45056 10485760 10485760

```

However, a few minutes later, without making another change to the Virtual Server, the values stored in the Virtualmin domain configuration were reset to the Account Plan values:

```auto
plan=149984792029540

uquota=5242880

quota=5242880

```

Interestingly, the actual Unix filesystem quota was **not** reset and remained at 10 GB:

```auto
Filesystem blocks quota limit

/dev/sda1 45056 10485760 10485760

```

So at this point there is also an inconsistency between Virtualmin’s stored domain configuration and the actual filesystem quota:

```auto
Virtualmin configuration: 5 GB

Actual Unix quota: 10 GB

```

I checked the timestamp of the Virtualmin domain configuration file. The file was rewritten at:

`2026-10-28 09:53:24`

The `lastsave` information in the domain configuration is particularly interesting:

```auto
lastsave=1793177604

lastsave_type=cmd

lastsave_user=

lastsave_script=/webmincron/webmincron.pl

lastsave_webmincron=virtual-server::run_cron_script

lastsave_pid=398446

```

This indicates that the change was not made through the Virtualmin web interface, but during execution of a Webmin scheduled job using:

```auto
/webmincron/webmincron.pl

virtual-server::run_cron_script

```

The Account Plan itself still contains:

```auto
name=example_plan

quota=5242880

uquota=5242880

```

Therefore, it appears that one of the scheduled Virtualmin jobs rewrites the quota stored in the Virtualmin domain configuration back to the Account Plan value.

What is also interesting is that this operation only appears to update Virtualmin’s stored values. It did not change the actual Unix filesystem quota in this test.

### Expected behavior / use case

I would like to keep this Virtual Server assigned to its normal 5 GB Account Plan, but temporarily override its disk quota to 10 GB.

I would expect a per-domain quota explicitly configured under **Edit Virtual Server → Quotas and Limits** to remain at 10 GB until I explicitly change it again, unless I explicitly request that the Account Plan limits be reapplied.

This would allow temporary or permanent individual quota exceptions without having to create another Account Plan just for one Virtual Server.

### Questions

1. Is this behavior expected?

2. What exactly is `virtual-server::run_cron_script` doing that causes the stored `quota` and `uquota` values to be changed back to the Account Plan values?

3. Is there a supported way to make a per-domain quota override persistent while leaving the Virtual Server assigned to the existing Account Plan?

4. What exactly does“ **Apply limits from new plan if changed”** control? I expected disabling this option to prevent the Account Plan limits from overwriting my individual quota, but the stored quota was still changed back later by the scheduled job.

5. Is it expected that this scheduled operation changes the Virtualmin domain configuration back to 5 GB but leaves the actual Unix filesystem quota at 10 GB?

### Related discussions

I found what appears to be a very similar report in the Virtualmin forum, Disk quota being reset constantly. In that case, a manually changed disk quota was also reported as subsequently reverting to the default value. [[forum.virtualmin.com]](https://forum.virtualmin.com/t/disk-quota-being-reset-constantly/135891)

There is also a more recent discussion, Some clarification disk quotas and plans - where do i set them, about the relationship between Account Plan quotas and individual Virtual Server quotas. That discussion specifically mentions individual quota customization as a use case. [[forum.virtualmin.com]](https://forum.virtualmin.com/t/some-clarification-disk-quotas-and-plans-where-do-i-set-them/137367)

I can provide the contents of the relevant `/etc/webmin/webmincron/crons/*.cron` files and additional Virtualmin/Webmin logs if needed.

---

<div class="post-metadata">

**Author:** ![Randomz](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/r/839c29/32.png) [@Randomz](https://forum.virtualmin.com/u/Randomz)\
**Post date:** [October 29, 2026, 2:04pm UTC](https://forum.virtualmin.com/t/per-server-disk-quota-override-is-reset-to-account-plan-value-by-virtualmin-webmincron-job/138240/2 "2026-10-29T14:04:44Z")

</div>

I just tested this on EL10, no such problem. The quota stayed at what it was set to.
