search for: q_getquota

Displaying 20 results from an estimated 40 matches for "q_getquota".

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
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 for each tr...
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
2011 Mar 09
1
Dovecot 2.0 (2.0.11) na nfs quota
...ecot: 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 file or direct...
2007 Feb 26
2
fs quota - what I am doing wrong?
...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...
2006 Aug 21
2
Filesystem Quota Enhancement Patch
...values always returned in 512 byte blocks */ + value_r_t = xdqblk.d_bcount >> 1; + limit_r_t = xdqblk.d_blk_softlimit >> 1; + + dqblk.dqb_curinodes = xdqblk.d_icount; + dqblk.dqb_isoftlimit = xdqblk.d_ino_softlimit; + } else #endif - { - /* ext2, ext3 */ - if (quotactl(QCMD(Q_GETQUOTA, USRQUOTA), - root->mount->device_path, - root->uid, (caddr_t)&dqblk) < 0) { - i_error("quotactl(Q_GETQUOTA, %s) failed: %m", - root->mount->device_path); - if (errno == EINVAL) { + { + /* ext2, ext3 */ + if (quotactl(QCMD(Q_GETQUOTA, args[i...
2019 Mar 13
5
Unable to set quota-fs plugin
...a = 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/dovecot/att...
2006 Apr 13
1
Compile issues dovecot-1.0.beta7
...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), root->uid, (void *...
2007 Apr 19
1
fs quota plugin and NFS
...39;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. -+- Jean de L...
2019 Mar 14
5
Unable to set quota-fs plugin
...d 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 focusing on...
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
2006 Nov 21
2
Freebsd: fs quota / big maildir
...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 | \ /\ `Ser...
2019 Mar 13
3
Unable to set quota-fs plugin
...uot; 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 attachment...
2019 Mar 13
4
Unable to set quota-fs plugin
...>> 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.
2005 Jul 07
1
Quota support Samba 3.x and Solaris 9
...rror: Compiling smbd/quotas.c smbd/quotas.c:932:23: sys/quota.h: No such file or directory smbd/quotas.c:933:19: devnm.h: No such file or directory smbd/quotas.c: In function `disk_quotas': smbd/quotas.c:1115: error: storage size of 'D' isn't known smbd/quotas.c:1207: error: `Q_GETQUOTA' undeclared (first use in this function) smbd/quotas.c:1207: error: (Each undeclared identifier is reported only once smbd/quotas.c:1207: error: for each function it appears in.) *** Error code 1 make: Fatal error: Command failed for target `smbd/quotas.o' Are quotas supported under...
2011 May 30
0
Quota Problem with Samba 3.5.8
...n 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 permitted) .....
2013 Nov 27
1
Enabling quota
...ody please explain why there is no option --with-quota (ot may be --with-fs-quota) for the configure command? As it stands now, at least for the fs back-end the only thing that tells us that Dovecot does not do quotas is after the build/configuration we get dovecot: imap(xxdxx): Error: quotactl(Q_GETQUOTA, csfs9.cs.ucy.ac.cy:/mail) failed: No such file or directory which essentially means that during the build no quota development libraries were found and therefore fs quota will not function. This is rather confusing and the above error does not help much. Note also that "dovecot --build-op...
2006 May 12
1
problems with 1.0beta[78] on RHEL3
...urning 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 subscription inf...
2003 May 01
1
Disc quotas bug
...de [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 Apr 30 10:2...
2018 Jul 02
0
Samba 4.3.11 accessing disk every minute
...IFDIR|S_ISVTX|0777, st_size=1200, ...}) = 0 stat64("/mnt/HD_a4", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat64("/mnt/HD/HD_a2", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0 close(8) = 0 munmap(0xb4ca0000, 4096) = 0 quotactl(Q_GETQUOTA|USRQUOTA, "/dev/sda2", 1002, {bhardlimit=0, bsoftlimit=0, curspace=0, ihardlimit=0, isoftlimit=0, curinodes=0, ...}) = 0 getegid32() = 1000 stat64(".", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0 open("/etc/mtab", O_RDONLY|O_CLOEXEC) =...