I had a partition space filled up by some log file in a user A's home directory. The size of that log file was 15G. User A deleted that file but to my surprise the disk space was not freed. I rechecked it and there was no file of 15G size in user A's directory. But when I run 'du' on user A's directory, t was still showing the same directory size as it was before deleting the log file. 'df' command was also showing 100% for that partition. After more than an hour after I kept trying to empty up some space by deleting files from other directories, the disk space became free and showed more than 15G available.

I wonder why the disk space was freed after so huge delay?. Does anyone have also experienced same kind of problem?. What could be the cause and how to make it free up the space quickly. ?

Sometimes applications keep file descriptors open, this results in the space remaining allocated even when the file is deleted. When the application closes the descriptor, the space is freed. This is most evident when applications are logging to a file, I have several applications that do this. When moving/removing the log I have to restart the application for the space to be freed.

HTH.


Pete.

_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to