[PLUG] df shows 33G used, but it does not add up with du

Wil Cooley wcooley at nakedape.cc
Mon Jan 9 10:25:50 PST 2006

Also Sprach Eli Stair <eli.stair at gmail.com> on Mon, Jan 09, 2006 at 10:13:44AM PST:

> Before fsck'ing it, try totaling an 'ls -s' of the recursive contents
> of that directory... that'll give you the "actual" on-disk block
> usage.  That can differ significantly from that reported in the
> filesystem metadata.

This isn't necessary, since this is essentially what 'du' itself does.

Wil Cooley                                 wcooley at nakedape.cc
Naked Ape Consulting                        http://nakedape.cc
* * * * Linux, UNIX, Networking and Security Solutions * * * *
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20060109/cbff9332/attachment.sig>

More information about the PLUG mailing list