IceTerminal |
06-30-2009 05:11 PM |
Find used drive space
I've done a search for my problem but could not find anything, so please forgive me if I've missed it.
My problem is that my drive is reporting that its 97% full. Doing some initial checks, I can't find any reason why it would say this as my drive is 250GB in size but only about 83GB is being used.
I'm using Ubuntu 9.04 server 32bit. The drive is a standard Maxtor SATA drive.
Quote:
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 229G 210G 7.6G 97% /
|
As you can see, its saying its almost full. But doing a check on what directories are using what, it only shows that 83% is being used.
A further break down shows:
Quote:
# du -xhc --max-depth=1
6.1M ./bin
186M ./boot
700K ./root
4.0K ./downloads
0 ./sys
88K ./tmp
4.0K ./opt
4.0K ./selinux
4.0K ./srv
12K ./media
0 ./proc
16K ./lost+found
76G ./files
556M ./home
2.9G ./usr
2.6G ./var
1.5G ./lib
16K ./audio
20K ./mnt
23M ./etc
4.0K ./initrd
0 ./dev
7.3M ./sbin
83G .
83G total
|
Doing a manual check of du -h shows basically the same.
Directories within the / partition
Quote:
/bin = 6.1M
/boot = 186M
/cdrom -> media/cdrom = 0
/dev = 312K
/etc = 23M
/files = 76G
/home = 556M
/initrd = 4.0K
/lib = 1.5G
lost+found = 0
/media = 12K
/mnt = 20K
/opt = 4.0K
/proc = 0 ???
/root = 700K
/sbin = 7.3M
/selinux = 4.0K
/srv = 4.0K
/sys = 0
/tmp = 88K
/usr = 2.9G
/var = 2.6G
|
So I"m looking for help on this one. I"m not running anything weird, just a normal server running web, email, etc. Can someone point me in the right direction that can help me find and clear this? Thank you very much in advance.
|