Koozali.org: home of the SME Server

SME 5.6U4 Quota Mgmt

Daley

SME 5.6U4 Quota Mgmt
« on: April 26, 2003, 03:50:12 PM »
Hi,

The System Administrator has received numbers email by the SME Server automated quota report , subject: One or more users have exceeded their disk quota, but the user has never exceeded the storage space.

       Usage     Limit with grace period     Absolute limit
---------------------------------------------------------------------------
micheal                 0.04                        0.00              10.00

Thank you.
Daley

Stan Coleman

Re: SME 5.6U4 Quota Mgmt
« Reply #1 on: April 28, 2003, 05:41:53 AM »
Ditto

Michiel

Re: SME 5.6U4 Quota Mgmt
« Reply #2 on: April 28, 2003, 01:40:33 PM »
Are you sure he did not exceed his quotum? Files stored outside his home folder also count. If for example your user stored a huge file on a public ibay, he will have exceeded his quotum, regardless of how empty his home folder is.

Try "find /home/e-smith/files/ibays -user daley" and you might find some unexpected disk usage.

Michiel

Stan Coleman

Re: SME 5.6U4 Quota Mgmt
« Reply #3 on: April 28, 2003, 08:41:33 PM »
Michiel wrote:
>
> Are you sure he did not exceed his quotum? Files stored
> outside his home folder also count. If for example your user
> stored a huge file on a public ibay, he will have exceeded
> his quotum, regardless of how empty his home folder is.
>
> Try "find /home/e-smith/files/ibays -user daley" and you
> might find some unexpected disk usage.
>
> Michiel

One of the three users that say they are over the quota has never been used. The other two have only been used for email and their total email is far below their quota. Since I'm the only one with the password for those accounts I would know if I added files to anywhere with those accounts.

Stan Coleman

Re: SME 5.6U4 Quota Mgmt
« Reply #4 on: April 28, 2003, 08:54:24 PM »
Ops didn't read to the bottom of your message Michiel before I replied. I used the "find" comand line you gave me and I did find some unusual things. Only question I have now is now could those ownerships have changed? It looked almost like a patteren of the three different users being assinged to files in a 1.2.3 kind of order. Since those users have never been used there shouldn't have been any changes to those ownerships.

Michiel

Re: SME 5.6U4 Quota Mgmt
« Reply #5 on: April 28, 2003, 11:19:18 PM »
Could have a number of reasons, ranging from a lousy backup/restore to being hacked. You'll have to give us a bit more detail if you want a meaningful reply.

Did you ever restore those files from a back-up?

Stan Coleman

Re: SME 5.6U4 Quota Mgmt
« Reply #6 on: April 29, 2003, 02:31:09 AM »
Yes those files did come from a backup. So that probably explains it.

Daley

Re: SME 5.6U4 Quota Mgmt
« Reply #7 on: April 30, 2003, 07:40:24 PM »
Hi,

If u take a look at the below snapshot, this will shown all users in the quota setup, however, some users are missing in the quota... WHY?

[root@sme root]# repquota -avu | more
*** Report for user quotas on device /dev/hda3
Block grace time: 7days; Inode grace time: 7days
                        Block limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
daley     +-    2020    1024    2048  6days      55     0     0
micheal--      36       0       0             10     0     0
john        --      36       0       0             10     0     0


Thank you.
Daley