We have this virtual machine that has Apache2 installed, we forgot to install a log rotate and we got 24gb of logs from Apache2, We removed those 24gb of log files but no changes occurred to the disk whatsoever, It was like I didn't removed the logs at all. Does any one understand what may have happened?
root@Web:~# cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS"
root@Web:~# df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 29G 27G 675M 98% /
none 744M 176K 744M 1% /dev
none 748M 0 748M 0% /dev/shm
none 748M 568K 748M 1% /var/run
none 748M 0 748M 0% /var/lock
none 748M 0 748M 0% /lib/init/rw
none 29G 27G 675M 98% /var/lib/ureadahead/debugfs
root@Web:~# du -kh /var/log/apache2
24G /var/log/apache2
root@Web:~# rm /var/log/apache2/*
root@Web:~# du -kh /var/log/apache2
4.0K /var/log/apache2
root@Web:~# df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 29G 27G 673M 98% /
none 744M 176K 744M 1% /dev
none 748M 0 748M 0% /dev/shm
none 748M 568K 748M 1% /var/run
none 748M 0 748M 0% /var/lock
none 748M 0 748M 0% /lib/init/rw
none 29G 27G 673M 98% /var/lib/ureadahead/debugfs