Allocated disk space under Complete Usage Statistics

spottraining

Verified User
Joined
Jun 19, 2007
Messages
40
Hi

I get today error with my backup process. Error was:
Error Compressing the backup file user.admin.XXXX.tar.gz :
gzip: stdout: Disk quota exceeded
/bin/tar: /home/admin/admin_backups/XXXX/user.admin.XXXX.tar.gz: Cannot write: Broken pipe
/bin/tar: Error is not recoverable: exiting now

So - I looked then Complete Usage Statistics and what I see there:
DirectAdmin_v1.44.1_-_2014-01-09_10.28.35.png
Then I logged in trought SSH and take output of du. And here it is:
[root@sv ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 451G 60G 368G 14% /
tmpfs 3,8G 0 3,8G 0% /dev/shm
/dev/sda1 504M 151M 328M 32% /boot
[root@sv ~]#

So - what I discovered - I have dedicated server with ca 500GB space - but DirectAdmin allows me to use only around 140GB:mad:

I looked also admin user settings (bouth user admin and also reseller admin) - in bouth places - disk usage is unlimited for admin.

So my question - where DirectAdmin takes this quota? Why DA shows me that I can use only 140GB as I have 450GB storage.
 
Why would you run df -h. What does that have to do with quota usage?
 
I want to check, how much I have free space. When I looked system quotas - same thing. No quotas for root, admin or directadmin.
Ekraanipilt - 09.01.2014 - 16:30:26.png
 
Hello,

1) Possibly unrelated, (possibly not) but update to 1.44.3, as there are backup bugs... like this which may affect it:
http://www.directadmin.com/features.php?id=1540
http://www.directadmin.com/features.php?id=1534

2) Assuming the strict backup permissions are enabled (which they are by default), the backup should be created by tar running as that User.
DA does shut off quotas for that User temporarily, when an Admin or Reseller is creating a backup for that account....
As quotas are clearly still on... it might be bug 1540 preventing the quotas from being shut off.. thus causing the User System Quotas to go over the limit when the backup is created (as it can more than double the disk usage required for the data for a short period of time)

John
 
I updated DA, but still I see, that allocated disk space and real disk space are apsolute diffrent. Look the picture. Why it shows so - as I haven't set up any quota for DA or rootDirectAdmin_v1.44.3_-_2014-01-26_09.42.12.png
 
That image looks normal.
"Allocated" is not a usage, it's the limit of what a User can potentially use.

So if you assign a User a usage limit of 1 gig, you've allocated them 1 gig of space.
However, say they only upload 2 meg of data... the usage is 2 meg, the allocation is 1 gig.

In your screenshot, you've given the Users permission to use a maximum of 78 Gig, but they've only used 50gig so far.
The disk has is 64 gig of data on it, which 50 of that are the User files.. and the last 14 gig are files not owned by a DA User.
System files, libraries, binaries, etc... would be the last 14 gig.

Hope that helps clarify things.

John
 
No
Its not normal - as this picture is taken as main DA admin - not under users. So DA admin user can't use entire disk as needed and there is no possibility to change it. And under quotas - there is no quota set for admin or root user.
 
Those are the total server statistics, not just the data for 1 Admin account. It's the sum of all accounts on the box.
 
Yes - sum of all accounts - but why It shows me then allocated disk space wrong? Sum of all user files and allocated disk space is much smaller as real disk space.
And when I start topic - its not only shows it wrong - it also uses that "quota"
 
Back
Top