[Dovecot] fs quota on xfs dir tree? is this implemented?
xfs calls it project, it's not user nor group quota, simply a directory tree quota does dovecot find a use for it?
basically, following wiki I set up a simple fs quotas when a tree reaches the limit, dovecot notices it, rejects with: Not enough disk space now question is, is it intentional what dovecot does - if yes how to implement fs-xfs quota warnings?
or is it what dovecot was designed to do in case of such a eventuality like out of space thing? my guess, dovecot handles above situations anyway - scenario run: with no quota plugins
this is nice feature of xfs, do not know if other fs do it, that is so! useful in scenario with vusers, or, would be :) or am I missing something thus having incomplete config for fs xfs-projects quotas, and it can be done?
cheers Timo, pardon my ignorance, you are the author, right? ps. ah, yes, you are, thanks mate for your work!
Timo Sirainen wrote:
I've never even heard of such a thing.
On Fri, 2009-03-06 at 18:54 +0000, Pawel Eljasz wrote:
Yes, it does that even without quota plugin loaded, because the kernel returns EDQUOT failures for syscalls. To get current quota usage and quota warnings working, the quota-fs.c code would have to know about the XFS directory quotas. You're welcome to write the code for it, but it's a very low priority for me.
this is nice feature of xfs, do not know if other fs do it, that is so! useful in scenario with vusers, or, would be :)
Usually people use virtual quotas (Maildir++, dict) for virtual users.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, 6 Mar 2009, Timo Sirainen wrote:
To break a lance for this idea:
If I would use XFS, I would consider this feature for projects, in which multiple users are to share one storage area. So there is no per-user quota, but a per-project quota.
But I don't use XFS ...
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBSbTIknWSIuGy1ktrAQIFcggAgZnKpikYtrxJj7vg8AmTNiHfFKLNe4S0 oLFeUG+ovc5ButUbQosN+pSpqoqQc+EpskBqG8YoBUIawgtTnv5Flfr5CSzpgVqH POXwrbf6Yk8qPWRb1KbGVIoAHKYcU1pIiaiZjhESBlH+WIGcup0yYVYlxjf4SESJ USy4om5INkHcrMS69kIE/aiX0GMFU6HJHsT92IkCp6PfADkBKP2noOp2ry1hCPoD sprupELdMsRU8e2VLeD/lBMzHd5/Qp/QyOMX9cwKn4Tpea5q2Q5J+fvIadt6aClf 8AL8OfCuCvx6O+tVBQS87eQXjwTtn7DMlRVg7ilYH22a3MgVyS6fXA== =mn5i -----END PGP SIGNATURE-----
participants (3)
-
Pawel Eljasz
-
Steffen Kaiser
-
Timo Sirainen