Author Topic: High disk usage?  (Read 8243 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
High disk usage?
« on: November 28, 2017, 07:49:10 AM »
Code: [Select]
[root@server ~]# sh /scripts/disk_check
75M     /var/log/
61M     /usr/local/apache/logs/
94M     /usr/local/cwpsrv/logs/
2.1M    /tmp
41M     /root
467M    /var/lib/mysql/
[root@server ~]#
Code: [Select]
[root@server ~]# du -sh /
48G     /
[root@server ~]#
Code: [Select]
[root@server ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_server-lv_root
                       50G   43G  4.4G  91% /
tmpfs                  16G     0   16G   0% /dev/shm
/dev/cciss/c0d0p1     477M   77M  376M  17% /boot
/dev/mapper/vg_server-lv_home
                      296G  5.7G  275G   3% /home
[root@server ~]#
Any idea why it`s happening like this and how to fix it? Yes, I have a lot of files with big sizes in /home/hosting and /home/shopping but it`s supposed to be in /home, not in /. Any ideas accepted.
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

Offline
***
Re: High disk usage?
« Reply #1 on: November 28, 2017, 11:29:12 PM »
What is the output of command

Code: [Select]
  du -sch /*
https://www.24x7servermanagement.com/
Server Management, Server Security, Server Monitoring.
India's Leading Managed Service Provider !!