[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: df/du shows big difference of used space



On 2009-09-09 13:10, Mike Castle wrote:
On Wed, Sep 9, 2009 at 9:56 AM, niclasw<niclaswmail@gmail.com> wrote:
I have a 1500G hard drive, encrypted.
Different commands shows different usage:

As root, from root directory:
df -m
Filesystem           1M-blocks      Used         Available     Use% Mounted
on
/dev/mapper/d       1390840   1284525    35665          98% /

That is 1284G used of 1391G which would be like 92%!
Not 98%
Why does it say 98%

Traditionally, 5% of every file system is reserved for root to do with
as it pleases.  In some filesystem (particularly older ones), all
sorts of things could go wonky whenever the system got 100% full.

Not only that, but "df -m" reports power-of-2, but "du -sh" reports power-of-10.

--
Brawndo's got what plants crave.  It's got electrolytes!


Reply to: