Is there a way to tell the kernel to give back the free disk space now? Like a write to something in /proc/ ? Using Ubuntu 11.10 with ext4.
This is probably an old and very repeated theme. After hitting 0 space only noticed when my editor couldn't save source code files I have open, which to my horror now have 0 byte size in the folder listing, I went on a deleting spree.
I deleted 100's of MB of large files both from user and from root, and did some hardlinking too.
Just before I did
apt-get clean there was over 900MB in /var/cache/apt/archives, now there is only 108KB:
# du 108 /var/cache/apt/archives
An hour later still no free space and cannot save my precious files opened in the editor, but notice the disparity below:
# sync; df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda4 13915072 13304004 0 100% /
Any suggestions? I shut off some services/processes but not sure how to check who might be actively eating disk space.
# dumpe2fs /dev/sda4 Filesystem state: clean Errors behavior: Continue Filesystem OS type: Linux Inode count: 884736 Block count: 3534300 Reserved block count: 176715 Free blocks: 422679 Free inodes: 520239 First block: 0 Block size: 4096 Fragment size: 4096