[CentOS] du vs df size difference
strange at nsk.no-ip.org
Thu Oct 1 09:41:50 UTC 2009
On Wed, Sep 30, 2009 at 06:30:08PM -0400, Ryan Pugatch wrote:
> Luciano Rocha wrote:
> > Do this:
> > mount /dev/xvda3 /mnt
> > du -hc /mnt
> > And see if you can find the other 12GB.
> > I usually do:
> > du -mc --max-depth 2 /mnt | sort -n
> > Though I've recently learned:
> > du -hc --max-depth 2 /mnt | sort --human-readable or some such, but that
> > requires a very recent coreutils installation.
> That's interesting.. du is showing the same amount as df when I do this.
> I wonder why..
There's some data hidden by mount points. Check your mount points,
/home, etc., and there's probably old data there that may be removed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
Url : http://lists.centos.org/pipermail/centos/attachments/20091001/2b904fd3/attachment.bin
More information about the CentOS