Nov 26, 2011
5
0
51
Santa Fe, Santa Fe, Argentina
cPanel Access Level
Website Owner
/ has 20gb and only 2gb free.

df -h:
Code:
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2        20G   18G  802M  96% /
devtmpfs         63G     0   63G   0% /dev
tmpfs            63G  1.7M   63G   1% /dev/shm
tmpfs            63G  154M   63G   1% /run
tmpfs            63G     0   63G   0% /sys/fs/cgroup
/dev/sda1       510M  136K  510M   1% /boot/efi
/dev/sda3       1.7T  311G  1.3T  20% /home2
tmpfs            13G     0   13G   0% /run/user/0
/dev/loop0      3.9G   85M  3.6G   3% /tmp
Could you please advise what I can do to reduce the disk usage on /?
var/log has just 700mb. I'm using litespeed and memcached.

/usr/tmpDSK is using 4gb. It would be great if I can delete this file but I'm not sure if it is safe to do it.
 
Last edited by a moderator:

Eminds

Well-Known Member
Nov 10, 2016
319
32
28
India
cPanel Access Level
Root Administrator
login to the server with root and use the command du -sh * and it will show you all the folder list with huge size then you can analyse the things accordingly.
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
99
78
India
cPanel Access Level
Root Administrator
Twitter
/ has 20gb and only 2gb free.

df -h:
Code:
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2        20G   18G  802M  96% /
devtmpfs         63G     0   63G   0% /dev
tmpfs            63G  1.7M   63G   1% /dev/shm
tmpfs            63G  154M   63G   1% /run
tmpfs            63G     0   63G   0% /sys/fs/cgroup
/dev/sda1       510M  136K  510M   1% /boot/efi
/dev/sda3       1.7T  311G  1.3T  20% /home2
tmpfs            13G     0   13G   0% /run/user/0
/dev/loop0      3.9G   85M  3.6G   3% /tmp
Could you please advise what I can do to reduce the disk usage on /?
var/log has just 700mb. I'm using litespeed and memcached.

/usr/tmpDSK is using 4gb. It would be great if I can delete this file but I'm not sure if it is safe to do it.
You will have to move the tmpDSK to the /home2 directory that is other big disk. this will release 4 GB of space from it..
To go further, you will also need to check log locations:

/usr/local/apache/logs
/usr/local/cpanel/logs
and logs in the /var location.

You will have to move them to /home2 and then link it up properly.. This will release some of the data..

Check the MySQL directory in /var/lib and see how much disk space it is using and if it is more, plan it on moving it to /home2 also.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,245
463