> คลังความรู้ > คำสั่ง Server/VPS > quota problems in Directadmin
quota problems in Directadmin
Most of the time, this command will run correctly. If this is not the case and you get an error running this command, the user and/or group quota is probably not enabled at your server. You can check this in the fstab:
Now if there is no user quota or group quota enabled at the specific partition, you have to edit your fstab.
The specific entry you have to add depends on the OS.
Redhat / CentOS / Fedora / Scientific Linux:
The result will be something like:
/dev/sda1 / ext4 rw,usrquota,grpquota 1 1
Once the repquota program is returning a normal value, then you can run the tally to get the correct usage to show up in DirectAdmin:
When the repquota command outputs the correct value, you can run a tally on the system to update the quotes within Directadmin:
echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue
Add to Favourites Print this Article