Subject: Re: [vserver] incorrect filesystem usage in guest...
From: Martin Fick <mogulguy@yahoo.com>
Date: Tue, 14 Sep 2010 13:12:29 -0700 (PDT)

 Tue, 14 Sep 2010 13:12:29 -0700 (PDT)
Can you try the same thing from the host and compare?
Perhaps you have many hardlinks, I believe that du 
counts each one as extra space.  Which number to you
think is actually correct, du or df?

-Martin

--- On Tue, 9/14/10, Jarry <mr.jarry@gmail.com> wrote:

> From: Jarry <mr.jarry@gmail.com>
> Subject: [vserver] incorrect filesystem usage in guest...
> To: vserver@list.linux-vserver.org
> Date: Tuesday, September 14, 2010, 3:56 PM
> Hi,
> I have found my vserver-guest does not report filesystem
> usage correctly:
> 
> # pwd
> /root
> # du -s -k
> 3444152 .
> # df
> Filesystem       
>    1K-blocks      Used
> Available Use% Mounted on
> rootfs             
>   20971520   2578996 
> 17327564  13% /
> /dev/root         
>    20971520   2578996 
> 17327564  13% /
> 
> You see? In just one directory /root there is ~3.4GB of
> data,
> yet filesystem usage for this partition says only ~2.6GB is
> used.
> How is this possible???
> 
> Jarry
> --
>                                                                
> This mailbox accepts e-mails only from selected
> mailing-lists!
> Everything else is considered to be spam and therefore
> deleted.
>