Unable to set quota-fs plugin

Eric Grammatico e.grammatico at gmail.com
Wed Mar 13 12:58:32 EET 2019


Here is attached.


-
Eric Grammatico _/)


13 mars 2019 11:29 "Aki Tuomi" <aki.tuomi at open-xchange.com> a écrit:
> Can you try
> 
> strace doveadm quota get -u victim
> 
> and post the output of this?
> 
> Aki
> 
> On 13.3.2019 12.11, Eric Grammatico via dovecot wrote:
> 
>> Looks working.
>> 
>> [root at mail ~]# ls -lh /
>> total 72K
>> -rw------- 1 root root 8.0K Mar 13 09:56 aquota.group
>> -rw------- 1 root root 7.0K Mar 13 09:56 aquota.user
>> ....
>> 
>> [root at mail ~]# repquota -a
>> *** Report for user quotas on device /dev/vda1
>> Block grace time: 7days; Inode grace time: 7days
>> Block limits File limits
>> User used soft hard grace used soft hard grace
>> ----------------------------------------------------------------------
>> rpcuser -- 12 0 0 3 0 0
>> ntp -- 12 0 0 3 0 0
>> systemd-network -- 12 0 0 3 0 0
>> mysql -- 219680 0 0 564 0 0
>> squid -- 96 0 0 4 0 0
>> xxxxxx -- 869532 3170304 4194304 119 0 0
>> tss -- 12 0 0 2 0 0
>> mail -- 4 0 0 1 0 0
>> rpc -- 0 0 0 1 0 0
>> polkitd -- 8 0 0 2 0 0
>> xxxx -- 623880 3170304 4194304 12784 0 0
>> smmsp -- 8 0 0 2 0 0
>> apache -- 395616 0 0 19173 0 0
>> xxxxxxxx -- 1580 0 0 147 0 0
>> dovecot -- 4 0 0 1 0 0
>> root -- 3575932 0 0 65814 0 0
>> #1003 -- 0 0 0 1 0 0
>> 
>> Thanks and regards,
>> -
>> Eric Grammatico _/)
>> 
>> 13 mars 2019 10:54 "Aki Tuomi" <aki.tuomi at open-xchange.com> a écrit:
>>> Can you ensure that quota actually works on your system? Do the aquota files exist?
>>> 
>>> Aki
>>> 
>>>> On 13 March 2019 at 11:41 Eric Grammatico via dovecot <dovecot at dovecot.org> wrote:
>>>> 
>>>> Thanks Yassine,
>>>> 
>>>> My / is mounted from /dev/vda1 with the following options:
>>>> [root at mail ~]# cat /etc/mtab |grep "vda1 "
>>>> /dev/vda1 / ext4 rw,relatime,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
>>>> 
>>>> Regards,
>>>> -
>>>> Eric Grammatico _/)
>>>> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dovecot.strace
Type: application/octet-stream
Size: 44349 bytes
Desc: not available
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190313/bde06a91/attachment-0001.obj>


More information about the dovecot mailing list