Submitted by banaan on Tue, 12/06/2016 - 02:23
Hi,
I increased the user and the specific group disk quotas to "unlimited" after a user was over the allowed soft limit. Somehow every night the settings get lost and are reset to the default values. This only happens to that 1 specific user, other settings are not lost. Seems like a bug? Or am I missing something here?
Using webmin: 1.821.
output of edquota -u web
after setting the quotas to unlimited in webmin (seems ok):
Disk quotas for user web (uid 1033): Filesystem blocks soft hard inodes soft hard /dev/vda1 1763444 0 0 63988 0 0 <code>
Status:
Closed (fixed)
Comments
Submitted by banaan on Tue, 12/06/2016 - 02:24 Comment #1
Submitted by banaan on Tue, 12/06/2016 - 02:38 Comment #2
Submitted by JamieCameron on Tue, 12/06/2016 - 09:56 Comment #3
That is very unusual - is this user a mailbox, or a domain owner?
There's nothing in Virtualmin that should reset quotas like that, at least not intentionally.
Submitted by banaan on Wed, 12/07/2016 - 02:24 Comment #4
The user is a domain owner. The username is actually not "web", but the username is something else that is certainly not used by the system elsewhere (I've used "web" to not disclose info).
This morning the quotas were reset again:
Disk quotas for user <username> (uid 1033):
Filesystem blocks soft hard inodes soft hard
/dev/vda1 1768728 1048576 1048576 64045 0 0
Submitted by JamieCameron on Wed, 12/07/2016 - 12:28 Comment #5
Can you correlate the time the reset happened with any operation Virtualmin is doing, like backups?
Submitted by banaan on Fri, 12/09/2016 - 01:15 Comment #6
It look likes it happens exactly when the scheduled backups complete. Any ideas?
Submitted by JamieCameron on Sat, 12/10/2016 - 19:37 Comment #7
Are you sure that if you select this domain from the left menu and click Edit Virtual Server, that the quotas are set correctly on that page? The backup process does intentionally reset domains' quotas to what's configured on that page, so maybe that is the cause?
Submitted by banaan on Sun, 12/11/2016 - 09:41 Comment #8
I figured this out. This was a stupid mistake of me, sorry. I changed the quotas using webmin as this is the place where I've received the warnings. These settings are overwritten bij the settings of virtualmin apparently. So after setting the quoatas in virtualmin everything worked as expected.
Thank you for thinking along Jamie!
Submitted by JamieCameron on Sun, 12/11/2016 - 10:15 Comment #9
Ok, that explains it!
Submitted by JamieCameron on Sun, 12/11/2016 - 10:15 Comment #10