[Dovecot] Filesystem quota

Stian Jordet liste+dovecot at jordet.net
Tue Mar 7 00:01:11 EET 2006


man, 06,.03.2006 kl. 23.58 +0200, skrev Timo Sirainen:
> On Mon, 2006-03-06 at 22:51 +0100, Stian Jordet wrote:
> > Hi,
> > 
> > I've seen you commited a lot of quota work tonight. I'm still unable to
> > get the filesystem quota working, and I wonder if it's just me that is
> > stupid, or if theres a bug somewhere.
> > 
> > I enable quota and imap_quota plugins, I set fs in my ldap-base for
> > quota, and logons. I then get this:
> > 
> > dovecot: imap(ingvild): fs quota add storage dir = /home/ingvild/Maildir
> > dovecot: imap(ingvild): fs quota: mount path for /home/ingvild/Maildir
> > not found from /etc/mtab
> 
> What OS? Does /home exist in /etc/mtab? What filesystem is it?
> 
> I get this far in my Debian (I don't have quota enabled):
> 
> quotactl(Q_GETQUOTA, /dev/hda1) failed: Invalid argument

It's Debian as well, on x86. And yes, /home is in mtab

root at buick:~/cvs/dovecot# cat /etc/mtab
/dev/hdb1 / ext3 rw,errors=remount-ro 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/hdc1 /backup xfs rw 0 0
/dev/hda1 /home ext3 rw,usrquota 0 0
tmpfs /dev tmpfs rw,size=10M,mode=0755 0 0
root at buick:~/cvs/dovecot#

The filesystem is (as you can see) ext3. I was previously using xfs, but
found out it had a different quota api, so I migrated to give dovecot a
fair chance of working ;)

Thanks for your incredibly great work on dovecot!

Best regards,
Stian



More information about the dovecot mailing list