Displaying 20 results from an estimated 74 matches for "quotactl".
2010 Aug 07
1
quotactl failed with disk quotas and dovecot 2.0
Hi,
I have a machine running dovecot 2.0 rc4 and I can't seem to get the
imap_quota plugin working, every time I try to read the quotas, I get
the following in my log:
> Aug 7 11:58:43 talyn dovecot: imap(chutz): Error: quotactl(Q_GETQUOTA, rootfs) failed: No such file or directory
> Aug 7 11:59:53 talyn dovecot: imap(chutz): Error: quotactl(Q_GETQUOTA, rootfs) failed: No such file or directory
> Aug 7 11:59:54 talyn dovecot: imap(chutz): Error: quotactl(Q_GETQUOTA, rootfs) failed: No such file or directory
(Once...
2006 Jun 20
1
Group-based filesystem quota
Hello. After using Dovecot for over a year, I have just started
experimenting with the filesystem quotas, and I have a suggestion for
improvement. On my mail server, I use group-based quotas, and would
like to have Dovecot be able to report these quotas.
It should be simple to implement, requiring only changes to the
quota-fs.c file of the quota plugin. Simply changing USRQUOTA to
2007 May 30
4
AIX mail quota plugin problems
From reading the wiki for a filesystem quota, I took my shot at
1) building my binaries using the mods in AIXPluginsSupport
2) changing dovecot.conf and
3) putting the plugins in the library
But I'm getting this error message when I invoke dovecot:
Plugin imap_quota not found from directory /usr/local/lib/dovecot
Error: imap dump-capability process returned 89
It would seem that
a) I have
2007 Feb 26
2
fs quota - what I am doing wrong?
...s 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...
2006 Aug 02
1
IMAP(aweaver): quotactl(Q_GETQUOTA, /dev/sda1) failed: Invalid argument
Anyone have a solution for this, it appears in the log every time a user
accesses their E-Mail via IMAP it obviously relates to filesystem
quotas.
I'm running:
Linux version 2.6.9-34.ELsmp
dovecot-1.0.rc2
Disk quotas for user aweaver (uid 1880):
Filesystem blocks quota limit grace files
quota limit grace
2014 Mar 03
1
Doubled Quotas on Ubuntu
...FS_FULL_SIZE_INFO bsize=1024, cSectorUnit=2,
cBytesSector=512, cUnitTotal=1048576, cUnitAvail=1048572
[2014/01/29 11:30:21.517959, 9] smbd/trans2.c:979(send_trans2_replies)
t2_rep: params_sent_thistime = 0, data_sent_thistime = 32, useable_space
= 131012
while stracing the samba process shows:
quotactl(Q_XGETQUOTA|GRPQUOTA, "/dev/sdb", 10057, {version=1,
flags=XFS_GROUP_QUOTA, fieldmask=0, id=10057, blk_hardlimit=2097152,
blk_softlimit=2097152, ino_hardlimit=0, ino_softlimit=0, bcount=8,
icount=11, ...}) = 0
On the incorrect Ubuntu machine, level=10 logs show:
[2014/01/29 09:27:25....
2011 Mar 09
1
Dovecot 2.0 (2.0.11) na nfs quota
...rvish dovecot: imap(solarz): Debug: fs quota mount
point = /home7
Mar 9 09:36:06 dervish dovecot: imap(solarz): Debug: fs quota mount
type = nfs
Mar 9 09:36:06 dervish dovecot: imap(solarz): Debug: trash: No trash
setting - plugin disabled
Mar 9 09:36:06 dervish dovecot: imap(solarz): Error:
quotactl(Q_GETQUOTA, oceanic:/home7) failed: No such file or directory
Mar 9 09:36:06 dervish dovecot: imap(solarz): Error:
quotactl(Q_GETQUOTA, oceanic:/home7) failed: No such file or directory
Mar 9 09:36:06 dervish dovecot: imap(solarz): Error:
quotactl(Q_GETQUOTA, oceanic:/home7) failed: No such fil...
2006 Aug 21
2
Filesystem Quota Enhancement Patch
...TA, GRPQUOTA};
+ int what[] = {root->uid, root->gid};
+ short i;
+ int quota_error=0;
+
*value_r = 0;
*limit_r = 0;
- if (strcasecmp(name, QUOTA_NAME_STORAGE) != 0 || root->mount == NULL)
+ if (root->mount == NULL)
return 0;
+ for (i = 0; i < 2; i++) {
+
#if defined (HAVE_QUOTACTL) && defined(HAVE_SYS_QUOTA_H)
- /* Linux */
+ /* Linux */
#ifdef HAVE_XFS_QUOTA
- if (strcmp(root->mount->type, "xfs") == 0) {
- /* XFS */
- struct fs_disk_quota xdqblk;
+ if (strcmp(root->mount->type, "xfs") == 0) {
+ /* XFS */
+ struct fs_disk_quot...
2019 Mar 13
5
Unable to set quota-fs plugin
...ta
#quota = maildir:User quota
#quota = dict:User quota::proxy::quota
#quota = fs:User quota:user
quota = fs:user
}
The logs report the following error each time quota is requested:
Mar 11 17:56:20 mail.xxxxxxx.xx dovecot[4923]: imap(xxxx): Error: Failed to get quota resource STORAGE: quota-fs: quotactl(Q_GETQUOTA, /dev/vda1) failed: No such file or directory
I have no idea of which file or directory is missing.
Any advice is welcome.
Thanks and best regards,
-
Eric Grammatico _/)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/...
2006 Apr 13
1
Compile issues dovecot-1.0.beta7
...use it can't find various RAND and
other functions. Adding -lcrypto fixes. I did this by hand rather than
adjusting the configure script; looks like the need for -lcrypto is
detected in other cases, but not here.
====================
In src/plugins/quota/quota-fs.c , line 276:
#ifdef HAVE_QUOTACTL
if (quotactl(QCMD(Q_GETQUOTA, USRQUOTA), root->mount->device_path,
root->uid, (void *)&dqblk) < 0) {
I believe the first two arguments are backwards, i.e., should be:
if (quotactl(root->mount->device_path, QCMD(Q_GETQUOTA, USRQUOTA),...
2019 Mar 14
5
Unable to set quota-fs plugin
...and typed getquotaroot "INBOX" which didn't reproduce the error seen in the dovecot logs and reported the correct quota.
Any idea how to find the imap command generating the error
imap(eric)<3085></M5VXfCBwJejrKVa>: Error: Failed to get quota resource STORAGE: quota-fs: quotactl(Q_GETQUOTA, /dev/vda1) failed: No such file or directory
Thanks and regards,
-
Eric Grammatico _/)
14 mars 2019 11:46 "Eric Grammatico" <e.grammatico at gmail.com> a ?crit:
> I use sendmail and quota-status is not running in background.
>
> Fully aligned with you about...
2007 Apr 19
1
fs quota plugin and NFS
Hi,
I'm trying to use the Dovecot v1 fs quota plugin. The server uses NFS
mounted volumes for INBOX and other maildir folders. The /usr/bin/quota
command is working seamlessly but I get errors with the quota plugin,
which gives the following logs:
Apr 19 17:46:15 rouge dovecot: IMAP(xyxyxyx): quotactl(Q_GETQUOTA,
nfs.xxx.yyy.org:/home) failed: No such file or directory
Apr 19 17:46:18 rouge dovecot: IMAP(yxyxyxy): quotactl(Q_GETQUOTA,
nfs.xxx.yyy.org:/home) failed: No such file or directory
Is there a way to get it work ?
Thanks,
--
Nico
Il faut s'entraider, c'est la loi de nature.
-+...
2019 Mar 13
3
Unable to set quota-fs plugin
...dovecot" a ?crit:
>>>>>>
>>>>>> On 3/13/19 10:14 AM, Eric Grammatico via dovecot wrote: [...]
>>>>>> Mar 11 17:56:20 mail.xxxxxxx.xx dovecot[4923]: imap(xxxx): Error: Failed to get quota resource
>>>>>> STORAGE: quota-fs: quotactl(Q_GETQUOTA, /dev/vda1) failed: No such file or directory
>>>>>> That's odd, I usually see s*da (not *v*da) in most systems I've worked with, as in *S*csi Drive A.
>>>>>>
>>>>>> Yassine.
-------------- next part --------------
A non-text...
2003 May 01
1
Disc quotas bug
...source code [smbd/quotas.c, line 915] revealed that
an "#ifdef HPUX" hash define enclosing a new optimisation - involving
devnm(3) caching - had caused the following line:
euser_id = geteuid();
not to be executed: Hence failure of the subsequent line:
r=quotactl(Q_GETQUOTA, dev_disk, euser_id, &D);
to return quota information.
Bug Fix
=======
[djn /home/staff3/tech/djn]$ diff -U 10 quotas.c.cln quotas.c
XXXXXXXXXXXXXXXXXXXXXXXXX SNIP XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
--- quotas.c.cln Wed Mar 26 11:45:19 2003
+++ quotas.c Wed...
2011 May 30
0
Quota Problem with Samba 3.5.8
...Operation not permitted
[2011/05/30 18:22:02.624569, 3] lib/sysquotas.c:453(sys_get_quota)
sys_get_vfs_quota() failed for mntpath[/storage] bdev[/dev/drbd0] qtype[4] id[1800]: Operation not permitted
and here is what stracing the samba daemon when doing "du" in smbclient shows:
...
quotactl(Q_GETQUOTA|USRQUOTA, "/dev/drbd0", 15005, 0xbfb26cf8) = -1 ESRCH (No such process)
quotactl(Q_GETQUOTA|USRQUOTA, "/dev/drbd0", 15005, 0xbfb26d18) = -1 ESRCH (No such process)
quotactl(Q_V1_GETQUOTA|USRQUOTA, "/dev/drbd0", 15005, 0xbfb26d1c) = -1 EPERM (Operation not pe...
2004 Feb 01
0
Moving to 3.0.1
...ion issues, at least
1 of which has been raised before in an email on the technical list but
seems to have reappeared. These are
a) what appears to be AC_CHECK_HEADER problems with configure
b) a demand for a complete installation of libiconv
c) configure appears to have lost the plot with 'quotactl'.
The results of our configure show
$ ./configure --quiet --prefix=/usr/local/samba --with-winbind
configure: WARNING: net/if.h: present but cannot be compiled
configure: WARNING: net/if.h: check for missing prerequisite headers?
configure: WARNING: net/if.h: proceeding with the preprocessor&...
2006 Nov 21
2
Freebsd: fs quota / big maildir
...dir 's
LDAP auth - bind_auth=yes
Seems to work well in most cases, but:
- No way to read a maildir with 35000+ messages (a freebsd mailing-list
for some years)
=> Nov 21 12:11:42 host dovecot: child 7217 (imap) killed with signal 11
- No way to have quota plugin reporting anything
=> quotactl(Q_GETQUOTA, /users/group) failed: Operation not supported
Any idea ?
What did I forget ? What could I do to debug this ? (mail_debug = yes)
--
___________________________________________________________
/ Geoffroy DESVERNAY | \
/\...
2006 May 12
1
problems with 1.0beta[78] on RHEL3
...in is returning the following errors in the mail log:
May 13 02:02:13 mail dovecot: POP3(real_user):
dlopen(/usr/lib/dovecot/pop3/lib01_quota_plugin.so) failed:
/usr/lib/dovecot/pop3/lib01_quota_plugin.so: undefined symbol: mount
point_get
and also:
May 13 02:03:03 mail dovecot: IMAP(real_user): quotactl(Q_GETQUOTA,
/dev/sdb1) failed: Invalid argument
can anyone offer any assistance with this?
oh yeah, one last thing. following the wiki, during the upgrade i
renamed the .subscription files to subscription in each user's Maildir
directory (oh yeah, i'm using maildir format) but, the subsc...
2014 Nov 21
2
[PATCH] [dovecot 2.2.9] Quota warnings ignored with FS quotas
...ilesystem quota backend (and probably others, except for quotas
configured directly in dovecot config)
Percentage-based quota warnings have rule.bytes_limit recalculated based
on root_set->default_rule.bytes_limit, however this value is zero when
FS quotas are in use. Real quota values (from quotactl) are fetched very
late, in quota_warnings_execute() but at that point no recalculation
happens. As the warning rules have bytes_limit==0, they're effectively
ignored.
The patch below enables quota warnings to be sent when using filesystem
(and possibly maildirsize-based) quotas.
Based and...
2019 Mar 13
4
Unable to set quota-fs plugin
...tico _/)
>> 13 mars 2019 10:31 "Yassine Chaouche via dovecot" a ?crit:
>>
>> On 3/13/19 10:14 AM, Eric Grammatico via dovecot wrote: [...]
>> Mar 11 17:56:20 mail.xxxxxxx.xx dovecot[4923]: imap(xxxx): Error: Failed to get quota resource
>> STORAGE: quota-fs: quotactl(Q_GETQUOTA, /dev/vda1) failed: No such file or directory
>> That's odd, I usually see s*da (not *v*da) in most systems I've worked with, as in *S*csi Drive A.
>>
>> Yassine.