My first guess is that some file was deleted while its file handle was
being held open for writing by some process.  When that happens the file
can continue to grow indefinitely, but du doesn't see it because it no
longer has a name listed in the directory.

I've never found a good way to verify this or to query a file by its
inode (which should still be present in the filesystem table or else the
writing process wouldn't be able to keep growing the damn thing).



David Brett wrote:
> 
> I ran into a problem with my computer yesterday.  The hard drive filled
> up.  I was unable to find out what caused this to happen.  It cleared
> itself up when I started to close everything down and delete what files I
> knew was save.
> 
> The one thing I did notice was the difference, df and du showed.  One of
> them is out by a factor of 10.  Why?
> 
> df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/hda2             3.0G  1.9G  982M  67% /
> 
> du -h
> ...
> 
> 3.2G    /
> 
> david
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list

-- 
Michael Jinks, IB // Technical Entity // Saecos Corporation
"No one speaks English and everything's broken."  -- T. Waits
"Tom Waits would have made a decent sysadmin."  -- M. Jinks



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to