c11v11
asked on
Linux Filesystem ext3 usage reach 100%. The space would not free up after remove some files.
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.
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.
Space is not freed if you delete open files.
ASKER
it is not open file for my case. when i run rm. file, the command return success quickly. looks like it didnt do anything. although the file is removed, the space is not free.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Agree with gheist... #lsof can show you correct status
i would not worry about that. also it could be, it took bit time to flushed the buffer hence it was not showing the right amount. also you can try to check health of the hard rive.