Understanding filesystem quotas
chris at apex-internet.com
Sat Nov 15 18:05:22 UTC 2014
On 11/14/2014 11:57 AM, Chris Szilagyi wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> On Fri, 14 Nov 2014, Chris Szilagyi wrote:
>>>> 3) have read dovecot logs, if there are errors, and
>>> Quite a while after testing and posting this, these errors started showing
>>> up in /var/log/maillog ... I'm currently investigating. This may be part
>>> the issue.
>>> dovecot: imap(username): Error: quotactl(Q_GETQUOTA, /dev/sdb1) failed:
>>> Permission denied
>> This is the reason, you do not get any "current" information about the
>> Do you have SELinux in action?
>> Run "sestatus" and "grep -i AVC /var/log/audit/audit.log" to identify
>> SELinux caused denials,
I've resolved the SELinux issues but still it refuses to read filesystem
quotas. As a test I switched the quota plugin to use the "dirsize"
backend instead of "fs", and quotas are now working great! I mis-read
this before about using "dirsize" thinking that it would be slow for
mbox format, but it seems to only be slow for the maildir format. I'm
assuming this is because mbox only has one file per folder. We use mbox
so we're good to go.
Thanks again for everyone's help.
More information about the dovecot