[Dovecot] fs quota - what I am doing wrong?

Václav Hůla ax at natur.cuni.cz
Mon Feb 26 14:06:44 UTC 2007


Hi everyone,
on my server, i have quota set on /home partition (ext3). mount says:

root at zen:/var/log# mount |grep quo
/dev/sda8 on /home type ext3 (rw,noatime,usrquota)
/dev/sda7 on /tmp type ext3 (rw,noatime,usrquota,data=writeback)

System is debian/stable (distribution 2.6.8-3-686-smp kernel), quotas 
are working:

root at zen:/var/log# quota ax
Disk quotas for user ax (uid 506):
      Filesystem  blocks   quota   limit   grace   files   quota   limit 
   grace
       /dev/sda8  148064  250000  300000            7066       0       0
       /dev/sda7      16   10000  300000               5       0       0

but dovecot has trouble with them:

root at zen:/var/log# grep ax mail.err |tail -n 4
Feb 26 15:02:27 zen dovecot: IMAP(ax): quotactl(Q_GETQUOTA, /dev/sda8) 
failed: Invalid argument
Feb 26 15:02:27 zen dovecot: IMAP(ax): Dovecot was compiled with Linux 
quota v2 support, try changing it (--with-linux-quota configure option)
Feb 26 15:03:28 zen dovecot: IMAP(ax): quotactl(Q_GETQUOTA, /dev/sda8) 
failed: Invalid argument
Feb 26 15:03:28 zen dovecot: IMAP(ax): Dovecot was compiled with Linux 
quota v2 support, try changing it (--with-linux-quota configure option)

In sheer desperation I compiled dovecot with v1 quotas, but that fails 
too. Can anyone point me into right direction?

Ax
-- 
Václav Hůla,
správce unixových serverů
Přírodovědecká fakulta
Univerzita Karlova v Praze


More information about the dovecot mailing list