Quotas not work after Upgrade Directadmin to 1.48 - No soft or hard limit for usage

ZweiTiger

New member
Joined
Oct 21, 2014
Messages
3
Hi guys,

After i upgraded directadmin to 1.48 quotas not work anymore. I mean its work just not update.

So if i upload 200mb test file then.. /usr/sbin/repquota / , then i could see everything is working like a charm but actually not update the actual usage. Tied to wait hours but nothing.

So i have to enter this command with ssh.
echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue

Then everything is working after minutes the quota for all user upgraded. But why i have to do this manually?

Code:
[root@s2 ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             1.8T   21G  1.7T   2% /
tmpfs                 7.8G  6.5M  7.8G   1% /dev/shm
/dev/sda1             194M   89M   95M  49% /boot
/var/share/optimumcache/DiskDescriptor.xml
                      5.0G  2.0G  2.8G  41% /var/cache/optimumcache

Code:
[root@s2 ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Wed Mar 18 19:18:50 2015
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=7428c2b6-7c24-4651-9af3-0171ac73f8cf			/			ext4	defaults,usrquota,grpquota	1 1
UUID=85da9dad-9134-4cac-8813-5cb10a777ce4 /boot                   ext4    defaults        1 2
UUID=4c09e2a6-9136-4697-8173-7bdc55bc916b swap                    swap    defaults        0 0

tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/sda2               /                       ext4    rw,usrquota,grpquota 1       1

I added this line:
/dev/sda2 / ext4 rw,usrquota,grpquota 1 1

After i added new users now , its has a soft and hard limit , which is great! So now my hard and soft quota is ready.

But why not update auto? Why have to update manually?

2, If i run this: /usr/sbin/repquota /
Then i could see all users not have any soft or hard limit.

When i added this line:
/dev/sda2 / ext4 rw,usrquota,grpquota 1 1

Then new accounts now got soft and hard quota.
Why other accounts not? Why new accounts got?

Thats all :)
 
Hello,

Directadmin caches data, and updates it nightly by cron. To update displaying of quotas you should either click a button in Directadmin (user level) or the way you did it.
 
Back
Top