I have a CentOS server , from past one week i found out that its disc space have been full. cant identify whats using the space in the root folder.
Best posts made by ajin.c
-
What Is Eating CentOS Disk Space
-
RE: Hey Everyone
Thanks, actually i was in a problem , hope gets a solution from here............:)
-
RE: What Is Eating CentOS Disk Space
Hi Sam,
I had mounted a 2 TB hdd on my server, when i had this issue ...
@ arround 10 Am IST server got stuck. And i started building new one ...................Removed the HDD and mounted to the new one.
Latest posts made by ajin.c
-
RE: What Is Eating CentOS Disk Space
Sure , will keep monitoring it regularly.
Thank you very much for your help and support SAM........... -
RE: What Is Eating CentOS Disk Space
So Is there any way to figure it out , so that i can take necessary steps for the next time..
-
RE: What Is Eating CentOS Disk Space
And please find the output of this without The external Hdd
root@trvbackup [~]# du -smx /var/* 2> /dev/null | sort -n | tail -n 5
4 /var/tmp
30 /var/cache
377 /var/cpanel
5323 /var/log
17030 /var/lib
root@trvbackup [~]# -
RE: What Is Eating CentOS Disk Space
As soon as i un mounded the External hdd ., i tried df -h
and got the output..........root@trvbackup [~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_trvbackup-lv_root
50G 28G 19G 60% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
/dev/sda1 485M 53M 407M 12% /boot
/dev/mapper/vg_trvbackup-lv_home
402G 145G 236G 39% /home
/usr/tmpDSK 1.6G 38M 1.5G 3% /tmpThat means 19 gb free as soon as i unmounted my External Hdd.
-
RE: What Is Eating CentOS Disk Space
Hi Sam,
I had mounted a 2 TB hdd on my server, when i had this issue ...
@ arround 10 Am IST server got stuck. And i started building new one ...................Removed the HDD and mounted to the new one. -
RE: What Is Eating CentOS Disk Space
Hi SAM,
since the server was down , i had to install and configure a new one. i will come back as soon as the temperory issues are sorted out .
-
RE: What Is Eating CentOS Disk Space
root@trvbackup [/home]# du -smx * | sort -n
right ?
-
RE: What Is Eating CentOS Disk Space
root@trvbackup [/]# du -smx * | sort -n
du: cannot accessproc/11877/task/11877/fd/4': No such file or directory du: cannot access
proc/11877/task/11877/fdinfo/4': No such file or directory
du: cannot accessproc/11877/fd/4': No such file or directory du: cannot access
proc/11877/fdinfo/4': No such file or directory
0 proc
0 scripts
0 sys
1 backup
1 dev
1 lost+found
1 media
1 mnt
1 quota.user
1 razor-agent.log
1 selinux
1 srv
3 tmp
7 bin
8 root
14 sbin
29 etc
30 lib64
38 opt
43 boot
234 lib
5401 usr
17480 var
148041 home -
RE: What Is Eating CentOS Disk Space
Boss.....Still waiting for the output.......
-
RE: What Is Eating CentOS Disk Space
root@trvbackup [/]# du -smx * | sort -n
^C
root@trvbackup [/]#Waited arround half an hour ...but no output ....still waiting