Hello Guys,

    I'm having some problems here. RedHat 7.1 seems to be computing a
completly wrong directory size. Look the example:

[root@cobaia [EMAIL PROTECTED]]# ls -lsa
total 248
   4 drwx------    8 mail     mail         4096 Nov  7 12:14 .
   4 drwxrwxr-x   17 root     mail         4096 Nov 21 08:53 ..
   0 -rw-r--r--    1 mail     mail            0 Nov  7 12:14
courierimapsubscribed
   4 -rw-r--r--    1 mail     mail           17 Nov 21 11:05
courierimapuiddb
 116 drwx------    2 mail     mail       114688 Nov 21 11:05 cur
   4 drwx------    5 mail     mail         4096 Oct  1 08:14 .Enviadas
 104 drwx------    2 mail     mail       102400 Nov 21 11:37 new
   4 drwx------    5 mail     mail         4096 Oct  1 17:00 .Squid
Mailing List
   4 drwx------    2 mail     mail         4096 Nov 21 11:34 tmp
   4 drwx------    5 mail     mail         4096 Aug 19 13:57 .Trash


    This is an Maildir box. Please pay attention on 'cur' and 'new'
directory sizes. This would be only possible if we get LOTS of files on
those dirs. But, they are empty !

[root@cobaia [EMAIL PROTECTED]]# cd cur
[root@cobaia cur]# ls -lsa
total 120
 116 drwx------    2 mail     mail       114688 Nov 21 11:05 .
   4 drwx------    8 mail     mail         4096 Nov  7 12:14 ..
[root@cobaia cur]# du
116     .
[root@cobaia cur]#

[root@cobaia cur]# cd ../new
[root@cobaia [EMAIL PROTECTED]]# cd new
[root@cobaia new]# ls -lsa
total 108
 104 drwx------    2 mail     mail       102400 Nov 21 11:37 .
   4 drwx------    8 mail     mail         4096 Nov  7 12:14 ..
[root@cobaia new]# du
104     .
[root@cobaia new]#

    I'm having BIG troubles on maildir quota enforcment. User is getting
overquota warnings because of these wrong sizes.

    Have you ever seen something like this ??

    Sincerily,
    Leonardo Rodrigues





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to