problems with quota files

2013-02-20 Thread Riccardo Veraldi
Hello I am running cyrus 2.4.17

I realized that quota shown for users with quota command is much less 
than real filesystem usage

an example:

/usr/lib/cyrus-imapd/quota user.username
Quota   % Used Used Root
  1500   34  5189501 user.username

du -sh /var/spool/imap/m/user/username
11G/var/spool/imap/m/user/username

I am a bit worried about it.

I am using ext4

the same problem was also on the previous cyrus version I was using 
2.3.16  because I have the same problems.

I fixed the quota files with quota -f but it did not resolve my problem.

any hints ?

thank you

Rick



Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: problems with quota files

2013-02-20 Thread Simon Matter
 Hello I am running cyrus 2.4.17

 I realized that quota shown for users with quota command is much less
 than real filesystem usage

 an example:

 /usr/lib/cyrus-imapd/quota user.username
 Quota   % Used Used Root
   1500   34  5189501 user.username

 du -sh /var/spool/imap/m/user/username
 11G/var/spool/imap/m/user/username

 I am a bit worried about it.

 I am using ext4

 the same problem was also on the previous cyrus version I was using
 2.3.16  because I have the same problems.

 I fixed the quota files with quota -f but it did not resolve my problem.

 any hints ?

Maybe single instance store is causing it?

Regards,
Simon


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: problems with quota files

2013-02-20 Thread Riccardo Veraldi

Hi,
thanks for your reply.
I do not have any particular single instance store setup... it is just a 
normal raid5 DELL Perc with SATA disks...

Rick

On 2/20/13 8:17 PM, Simon Matter wrote:
 Hello I am running cyrus 2.4.17

 I realized that quota shown for users with quota command is much less
 than real filesystem usage

 an example:

 /usr/lib/cyrus-imapd/quota user.username
  Quota   % Used Used Root
1500   34  5189501 user.username

 du -sh /var/spool/imap/m/user/username
 11G/var/spool/imap/m/user/username

 I am a bit worried about it.

 I am using ext4

 the same problem was also on the previous cyrus version I was using
 2.3.16  because I have the same problems.

 I fixed the quota files with quota -f but it did not resolve my problem.

 any hints ?
 Maybe single instance store is causing it?

 Regards,
 Simon



Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: problems with quota files

2013-02-20 Thread Robert Mueller

 I realized that quota shown for users with quota command is much less 
 than real filesystem usage

This is expected.

cyrus quota is sum of size in bytes of each email.

Disk quota used might be much higher because minimum size of a file on
lots of filesystems is 1 block.

Rob

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: problems with quota files

2013-02-20 Thread Michael Menge
Quoting Robert Mueller r...@fastmail.fm:


 I realized that quota shown for users with quota command is much less
 than real filesystem usage

 This is expected.

 cyrus quota is sum of size in bytes of each email.

 Disk quota used might be much higher because minimum size of a file on
 lots of filesystems is 1 block.


In addition:

- with delayed expunge deleted mails will be keept some time
- without metapartition cyrus header, index, cache, squat, expung (only 2.3.x)
   will use some space

Regards

Michael





M.MengeTel.: (49) 7071/29-70316
Universität Tübingen   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung  mail:  
michael.me...@zdv.uni-tuebingen.de
Wächterstraße 76
72074 Tübingen

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus