Disc Free (df) weirdness (FC2)

Mike McCarty mike.mccarty at sbcglobal.net
Fri Oct 7 01:10:12 UTC 2005


Today, I looked at my disc free space, after deleting some files.
I found that, after deleting approx. 28M of files, that df reported
the disc as being 93% full. Well, the last time I tried looking,
it was 85% full, just a couple of days ago. I have created a couple
of text files, and read some e-mail. But why was my disc 8% more
full than before?

I searched and searched for where the space was hiding, and could
not find it. I was comparing with the output from the earlier
du -s /some/path/* | sort -gr | head, and couldn't find it.

I did some sync commands, and tried again, and it just looked
like things should be smaller.

Eventually, I rebooted. Now du thinks that my disc is 84% full.

I don't automatically delete /tmp, and it only has 136M in it,
anyway.

$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda5              7633264   6081748   1163768  84% /
/dev/hda3                99075     24602     69358  27% /boot
none                    124044         0    124044   0% /dev/shm

At 93%, it must have been about 7098935 blocks used. How did a
reboot free up 1017187 blocks?

$ du --version
du (coreutils) 5.2.1
$ uname -a
Linux Presario-1 2.6.10-1.771_FC2 #1 Mon Mar 28 00:50:14 EST 2005 i686 
i686 i386 GNU/Linux

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!




More information about the fedora-list mailing list