LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error: Insane file size of my hdd (https://www.linuxquestions.org/questions/linux-newbie-8/error-insane-file-size-of-my-hdd-569886/)

Xeratul 07-16-2007 02:58 PM

Error: Insane file size of my hdd
 
Hi
very weird,
I plugged an USB drives.
df -B MB and kdf tell me that my / is of 99%
I then deleted some files, got X working
then gnome-commander &
shift ctrl enter

then, I see that df -B MB and kdf are saying b***s**ts.
What should I go to have clean pc again ?

Damn Kernel !

MensaWater 07-17-2007 10:02 AM

If you "cleaned" files that were still held "open" by a process (e.g. /var/log/messages by syslogd) then you didn't really. The file is in the inode even if you "remove" it - all that happens is the "name" was removed - not the actual file in the inode. The easiest way to clear this condition is to reboot the system because then there are no processes left to hold anything "open".

Alternatively you could use lsof to try to find processes that have large files open but show no name for the large file. Killing such processes would also "close" the file.


All times are GMT -5. The time now is 06:08 PM.