Re: [vserver] incorrect filesystem usage in guest...

From: Jarry <mr.jarry_at_gmail.com>
Date: Tue 14 Sep 2010 - 22:28:29 BST
Message-ID: <4C8FE8FD.1010707@gmail.com>

On 14. 9. 2010 23:06, Martin Fick wrote:

> What about df from the host?

imho it does not make sense. I have many guests on /vserver
filesystem, which contribute to the overall system usage.

> but you still haven't provided any proof that df
> is wrong (or that du is right).

"du" from guest:
  # du -s -k -x /
12035668 /

"du" from host:
# du -s -k -x /vservers/vs1-web/
12035688 /vservers/vs1-web/

That is the same, which I consider as a solid indication
of correct function (although I agree it is not proof).

On the other side, there are big differences between "du"
and "df" on guest:

# df /
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 20971520 2581584 17324976 13% /
# du -s -k -x /
12035668 /

Again, it is not 100% proof that df is wrong, but when
I check /root in guest and count files manually (about
10 of them, each ~300MB, they make together more than 3GB.
So the whole root filesystem can not take less than that...

Jarry

-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.
Received on Wed Sep 15 01:19:43 2010
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 15 Sep 2010 - 01:19:43 BST by hypermail 2.1.8