Wrong email account quota error on DirectAdmin and Roundcube

mbsmt

Verified User
Joined
Jul 24, 2013
Messages
138
Location
Mashhad, Iran
Hi.
I have an email account on my DirectAdmin server with unlimited quota for it. But today, when I was sending emails, I received this error many times:
An error occurred while saving sent message. Unable to perform operation. No free disk space.
Total disk space for the main user is 20GB, and all used disk space for emails is about 4GB. On the other hand, I am sure that free disk space remained on the main server.
May you help me to solve this problem please?
 
it can be caused by inodes too. if you have email 500 bytes - it will take full cluster 4k on disk.
 
It look like your disk is full

What does `df -h` say?

Code:
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        1.9G     0  1.9G   0% /dev
tmpfs           1.9G   20K  1.9G   1% /dev/shm
tmpfs           1.9G  185M  1.7G  10% /run
tmpfs           1.9G     0  1.9G   0% /sys/fs/cgroup
/dev/vda1        97G   55G   37G  60% /
tmpfs           379M     0  379M   0% /run/user/0
 
heh, realy strange. Did you configure any limits for the domain itself (in the domain setup screen)?

What does it do when you set a large enough storage limit for the mailbox?

what does when you disable the storage limit for the mailbox again?
 
what shows:
df -i
quota -u username
Code:
df -i

Filesystem      Inodes  IUsed   IFree IUse% Mounted on
devtmpfs        482363    347  482016    1% /dev
tmpfs           485012      6  485006    1% /dev/shm
tmpfs           485012    542  484470    1% /run
tmpfs           485012     16  484996    1% /sys/fs/cgroup
/dev/vda1      6422528 481337 5941191    8% /
tmpfs           485012      1  485011    1% /run/user/0

Code:
quota -u

Disk quotas for user bbtravel (uid 1007):
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
      /dev/vda1 10394632* 10240000 11264000    none   40225       0       0
 
heh, realy strange. Did you configure any limits for the domain itself (in the domain setup screen)?
What does it do when you set a large enough storage limit for the mailbox?

what does when you disable the storage limit for the mailbox again?
I did not apply any limit on the domain or user account.
For test, I changed unlimited to some large storage for that email account, but the same error occurred.
 
your account has 10gb limit,
go to /home/bbtravel/
and run:
du -h --max-depth=1
then go to biggest folder and run:
du -h --max-depth=1
untill you will find exact directory
 
forgot in the paat...
Do you using Doveadm for fasting mail quota ?
maybe can cause wrong quota too

for quick solve issued
1 Backup all your email
2 Remove all inbox email for makesure it'not cause by disk full / inodes from email storage
3 Tally for reread disk usage
4 Try sending email.
 
Last edited:
Unfortunately, as the disk quota is full wrongly, DA is not able to create backup too.
What a strange situation it is :(
Users has 20GB of disk space, but DA detect the quota as 10GB!
 
maybe you already have all space allocated and can't oversell/overquota ? check statistics from reseller-level or reseller limits etc.
 
There is only one reseller and it is Admin which its allocated features are unlimited. Oversell is open too.
 
Back
Top