Wrong used disk space [message #41407] |
Mon, 17 January 2011 08:57  |
eldan
Messages: 2 Registered: January 2011
|
Junior Member |
|
|
Hi,
I just restarted my VM and the used disk space went from 7GB to over 40GB. The problem is, that I can't find the files or directories that are using up all the space.
Running sudo du -h --max-depth=1 gives me:
12K ./tmp
0 ./sys
360M ./home
3.0M ./sbin
1.5G ./data
4.0K ./selinux
4.0K ./boot
24K ./root
4.0K ./mnt
1.4G ./var
4.0K ./opt
1.6G ./usr
4.0K ./dev
4.4M ./bin
4.0K ./srv
du: cannot access `./proc/465/task/465/fd/4': No such file or directory
du: cannot access `./proc/465/task/465/fdinfo/4': No such file or directory
du: cannot access `./proc/465/fd/4': No such file or directory
du: cannot access `./proc/465/fdinfo/4': No such file or directory
0 ./proc
4.0K ./media
5.3M ./etc
8.3M ./lib
44G .
and df shows:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/simfs 52428800 45304152 7124648 87% /
tmpfs 524288 0 524288 0% /lib/init/rw
tmpfs 524288 0 524288 0% /dev/shm
How do I get my hdd space back?
Thanks a lot for any hints.
|
|
|
|