DISKWARN: /cpanelbackup on (11.11.11.111): 591.45/687.67 GB - 91%

crazyaboutlinux

Well-Known Member
Nov 3, 2007
939
1
66
we are getting alerts from cpanel regarding "DISKWARN: /cpanelbackup on (11.11.11.111): 591.45/687.67 GB - 91%"

Code:
Filesystem:	/dev/sdb1
Mount Point:	/cpanelbackup
Percentage Full:	 91%
Disk Information:	
Used: 591.45GB
Available: 61.29GB
Total: 687.67GB
df -h info
Code:
[email protected] [~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3            1016G   35G  931G   4% /
none                  7.9G     0  7.9G   0% /dev/shm
/dev/sda2             508M   56M  427M  12% /boot
/dev/sda5             1.7T  276G  1.4T  17% /home
[COLOR="#FF0000"]/dev/sdb1             688G  592G   62G  91% /cpanelbackup[/COLOR]
/usr/tmpDSK           4.0G  178M  3.6G   5% /tmp
[email protected] [~]#
but if you calculate cpanelbackup
688 GB - 592GB = 96 GB should be available, whereas it is showing 62 GB, why it is showing wrong info
how do i correct it ?
 

crazyaboutlinux

Well-Known Member
Nov 3, 2007
939
1
66
also "/dev/sda3" is wrong

PHP:
/dev/sda3            1016G   35G  931G   4% /
1016 GB - 35 GB = 981 GB (difference 981-931 GB = 50GB)
 

quietFinn

Well-Known Member
Feb 4, 2006
1,894
464
438
Finland
cPanel Access Level
Root Administrator
No helps from this thread, they are talking about vps, cloud vps and i have dedicated server
I don't think it matters in this case.
Have you rebooted the server?
 

quietFinn

Well-Known Member
Feb 4, 2006
1,894
464
438
Finland
cPanel Access Level
Root Administrator
If I understand you right you are complaining that the "df" command is not working correctly.

The command "df" is not part of cPanel, it's part of the operating system.

I checked in a few servers and it seems that it always shows wrong, i.e. Size - Used > Avail
 

crazyaboutlinux

Well-Known Member
Nov 3, 2007
939
1
66
yes you are right, i have also checked in my few servers, and it is also showing wrong info.
what is the solution to that ?