[NTLUG:Discuss] disk space mystery

Matt Moore mmoore at alug.org
Fri Aug 13 13:11:48 CDT 1999


Sorry Kevin, I work late, so I haven't been up for very long-only had one
cup of coffee-you aparently are not confused with the block issue-this
looks like a familiar problem I had with Slackware...my bios had reset,
and there was a setting that was turned on (I believe it was 'block
mode')-when I turned it off, everything was back to normal...you might
want to check into that... doing a "df /" will give you the same results
as just "df". "du -s, du -c -h, etc.." gives you disk usage information
from your ~ directory (even if your root). Try "du -a -h -c / >
usage.file" -this should give you usage info for every directory on your
system. Hope thats what you needed, sorry for the mistake.

Matt Moore
Operations Committee Member
Amarillo Linux Users Group
http://www.alug.org
mmoore at alug.org


On Fri, 13 Aug 1999, Matt Moore wrote:

> It looks to me as if your confusing 'blocks' with 'megabytes' (sorry if I
> am wrong-but it looks that way according to your email) instead of just
> doing "df /" try using "df -h" (the "-h" means print out in 'human'
> format) the 829768 used is not megabytes, but blocks-I really can't go
> into an explaination of how to decipher this in one email-and besides I
> would need to crack a book open because I forgot how...
> 
> Matt Moore
> Operations Committee Member
> Amarillo Linux Users Group
> http://www.alug.org
> mmoore at alug.org
> 
> 
> On Fri, 13 Aug 1999, Kevin Brannen wrote:
> 
> > For all you sleuths out there, here's one for you that's puzzling me...
> > 
> > When I do a "df /"  I get:
> > 
> >             1024-blocks   Used      Available
> > /dev/hda6   893363        829768    17010          /
> > 
> > and I'm thinking, "where did it all go?", so I do:
> > 
> > tar -clf - / | wc -c        and get ~62M
> > du -Sx                      and get 59810
> > du -s /*  (and sum the non-mount points) and get ~60M
> > fsck -n /dev/hda6           and get 860417 blocks used
> >                                      58201 inodes
> > 				      5135 reg. files
> > 				      2554 dirs
> >         			     ~3000 other file types
> > 
> > Umm, which is it?  About 60M or 830M?  Why the descrepency?   Nope,
> > nothing in lost+found.  usr, var, home, opt are all on other
> > partitions.  /tmp isn't that big.  Yes, I'm doing this all as root, so
> > no "permission denied" messages because I can't look into various
> > places.
> > 
> > What am I overlooking?
> > 
> > Kevin
> > 
> > _______________________________________________
> > http://ntlug.org/mailman/listinfo/discuss
> > 
> 
> 
> _______________________________________________
> http://ntlug.org/mailman/listinfo/discuss
> 





More information about the Discuss mailing list