Linux Filesystem ext3 usage reach 100%. The space would not free up after remove some files.
Posted on 2014-01-01
The filesystem is ext3 and 12G. When it reached 100% today, I removed three 300M files.But df -h ./ still shows the usage is 100%. After I removed one 2G file, the df -h ./ shows normal.
This problem is not related with process. I did not find any process which used these files.
df command should read the superblock to calculate the filesystem usage. Looks like the superblock would not be refreshed after I removed three 300M files. Remove file means that the entry for this file will be deleted from the inode of the directory. The inode for this file is still there. The filesystem should notice this. I don't get why. Is there a way to correct this ?Thanks.