Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: ElFroggio on March 03, 2015, 04:12:47 PM
-
Hi,
I have set the quotas Limit with grace period: 125M Absolute limit 200M. and this morning I received the following email:
The following users have exceeded their disk quota on the server called "ethelbert" All values are in megabytes.
Account Usage Limit with grace period Absolute limit
---------------------------------------------------------------------------
kathy 128.55 125.00 200.00
I checked :
[root@ethelbert ~]# cd /home/e-smith/files/users/kathy/
[root@ethelbert kathy]# pwd
/home/e-smith/files/users/kathy
[root@ethelbert kathy]# du -chs *
4.0K home
32M Maildir
32M total
[root@ethelbert kathy]#
I verified the files and they only take 31.7 megabytes. Obviously something is wrong.
Any idea on what to look for? or is this a bug?
Thanks
/Syv
-
Quota is also accounting files in ibays. You can find them with something like:
find /home/e-smith/files/ibays -user kathy
You can then estimate the real size used:
find /home/e-smith/files/ibays -user kathy -type f -exec du -s "{}" \; | awk '{SUM += $1} END {print SUM}'
-
Quota is also accounting files in ibays. You can find them with something like:
find /home/e-smith/files/ibays -user kathy
You can then estimate the real size used:
find /home/e-smith/files/ibays -user kathy -type f -exec du -s "{}" \; | awk '{SUM += $1} END {print SUM}'
There is nothing with the ibays, so I changed it to: find /home/ -user kathy
and here's the sum:
[root@ethelbert ibays]#find /home/ -user kathy -type f -exec du -s "{}" \; | awk '{SUM += $1} END {print SUM}'
32424
I did the same with just '/' just in case, and I still get: 32424
Thanks
/Syv
-
could you have data belonging to this user elsewhere ? (/tmp, /var etc...)
-
could you have data belonging to this user elsewhere ? (/tmp, /var etc...)
No, just checked again with:
find / -user kathy
Thanks
/Syv
-
ElFroggio
if something isn't working out-of-the-box as expected, please raise a bug and report here the reference, thank you,
-
if something isn't working out-of-the-box as expected, please raise a bug and report here the reference, thank you,
Before raising a 'useless' bug, aka operator error, I wanted to find out if the problem is me or the configuration or an actual bug.
Raised with bugzilla: 8866
Thanks
/Syv