Results 1 to 3 of 3
Hello, all.
I am trying to determine which files take up the space on my Centos 4.3 server.
So far, I can't account for them using these methods.
I am ...
- 01-14-2010 #1Just Joined!
- Join Date
- Jan 2010
- Posts
- 2
please help searching for big files on Centos 4.3
Hello, all.
I am trying to determine which files take up the space on my Centos 4.3 server.
So far, I can't account for them using these methods.
I am stumped. Please advise.
1.
/]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 247G 216G 19G 93% /
2. I searched / for any file equal bigger than 5000K. That didn't account for 216 GBs reported being used on this server.
find / -type f -size +5000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
3. du / showed only 122 G
[]# du / -sh
122G /
4.
[/]# du /bin /dev/ /home/ lib/ /media/ /sbin/ /srv/ /tmp/ /var/ /boot/ /etc/ /initrd/ /lost+found/ /misc/ /opt/ /root/ /selinux/ /sys/ /usr/ -sh
5.3M /bin
152K /dev/
108K /home/
196M lib/
12K /media/
15M /sbin/
8.0K /srv/
3.9M /tmp/
5.7G /var/
17M /boot/
54M /etc/
8.0K /initrd/
16K /lost+found/
8.0K /misc/
18G /opt/
33M /root/
8.0K /selinux/
0 /sys/
2.1G /usr/
- 01-15-2010 #2
What does
report? have you got hidden folders like a trash folder?Code:ls / -al
- 01-15-2010 #3Just Joined!
- Join Date
- Jan 2010
- Posts
- 2
Sorry. This suggestion did not help.
Nothing in .Trash
[/]# ls / -alhs
total 188K
8.0K drwxr-xr-x 24 root root 4.0K Jan 12 12:03 .
8.0K drwxr-xr-x 24 root root 4.0K Jan 12 12:03 ..
0 -rw-r--r-- 1 root root 0 Jan 11 09:08 .autofsck
8.0K drwxr-xr-x 2 root root 4.0K Apr 8 2008 bin
8.0K drwxr-xr-x 3 root root 4.0K Jul 10 2006 boot
0 drwxr-xr-x 7 root root 4.5K Jan 11 09:09 dev
16K drwxr-xr-x 83 root root 12K Jan 12 04:05 etc
8.0K drwxr-xr-x 6 root root 4.0K Dec 19 2006 home
8.0K drwxr-xr-x 2 root root 4.0K Feb 21 2005 initrd
8.0K drwxr-xr-x 11 root root 4.0K Dec 20 2006 lib
16K drwx------ 2 root root 16K Jun 27 2006 lost+found
8.0K drwxr-xr-x 3 root root 4.0K Jul 19 2006 media
8.0K drwxr-xr-x 2 root root 4.0K Jan 1 2006 misc
8.0K drwxr-xr-x 3 root root 4.0K Oct 26 14:10 mnt
8.0K drwxr-xr-x 5 root root 4.0K Nov 4 11:00 opt
0 dr-xr-xr-x 114 root root 0 Jan 11 01:08 proc
8.0K drwxr-x--- 26 root root 4.0K Jan 11 16:16 root
16K drwxr-xr-x 2 root root 12K Apr 8 2008 sbin
8.0K drwxr-xr-x 2 root root 4.0K Jun 27 2006 selinux
8.0K drwxr-xr-x 2 root root 4.0K Feb 21 2005 srv
0 drwxr-xr-x 9 root root 0 Jan 11 01:08 sys
8.0K drwxrwxrwt 8 root root 4.0K Jan 14 17:04 tmp
8.0K drwxr-xr-x 14 root root 4.0K Jun 27 2006 usr
8.0K drwxr-xr-x 25 root root 4.0K Dec 26 2006 var


Reply With Quote