danielco

Member
Apr 26, 2007
5
0
151
Hello, we have the /usr partition full on our cpanel server.
I deleted almost all log files, but it is still high. The cpanel reports the /usr is used 84%.
But, there is something weird.
The df -sch output is:

# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda7 965M 499M 417M 55% /
/dev/sda1 46M 15M 29M 33% /boot
tmpfs 1.5G 0 1.5G 0% /dev/shm
/dev/sda8 44G 38G 4.3G 90% /home
/dev/sda6 965M 179M 737M 20% /tmp
/dev/sda2 15G 12G 2.3G 84% /usr
/dev/sda3 11G 3.1G 6.8G 32% /var

and the
du -sch /usr output is:

]# du -sch /usr
3.1G /usr
3.1G total
Why two different tools shows different disk usage for the same partition??
How can try figure out this issue?